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-29884-sllz3-vjrzw-c2454 Agent pingcap-tidb-ghpr-check2-29884-sllz3-vjrzw-c2454 is provisioned from template pingcap_tidb_ghpr_check2_29884-sllz3-vjrzw --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29884/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29884/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "c718841de7ae4187c2a086babb6e46cbc0b15bc3" jenkins/label: "pingcap_tidb_ghpr_check2_29884-sllz3" name: "pingcap-tidb-ghpr-check2-29884-sllz3-vjrzw-c2454" 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-29884-sllz3-vjrzw-c2454" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29884-sllz3-vjrzw-c2454" - 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-29884-sllz3-vjrzw-c2454 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) Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 > git rev-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/29884/display/redirect JENKINS_URL=https://do.pingcap.net/jenkins/ EXECUTOR_NUMBER=0 JOB_SPEC={"type":"presubmit","job":"pingcap/tidb/ghpr_check2","buildid":"1908104725102858242","prowjobid":"2f66afe6-1201-4050-b95a-e619cc70413c","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":60399,"author":"mjonss","sha":"dde8429f030a5d9dd80c21356dccec04ccedf6af","title":"planner: Fixed point get not giving error on non-existing explict partition","head_ref":"pointget-unknown-partition-59003","link":"https://github.com/pingcap/tidb/pull/60399","commit_link":"https://github.com/pingcap/tidb/pull/60399/commits/dde8429f030a5d9dd80c21356dccec04ccedf6af","author_link":"https://github.com/mjonss"}]}} _=/usr/bin/printenv BUILD_ID=1908104725102858242 POD_LABEL=pingcap_tidb_ghpr_check2_29884-sllz3 HOSTNAME=pingcap-tidb-ghpr-check2-29884-sllz3-vjrzw-c2454 OLDPWD=/home/jenkins RUN_CHANGES_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29884/display/redirect?page=changes JENKINS_NODE_COOKIE=ae039866-b674-4f36-a4e6-a21240a98220 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=29884 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-29884-sllz3-vjrzw-c2454 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/29884/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=2f66afe6-1201-4050-b95a-e619cc70413c 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/29884/display/redirect?page=artifacts BUILD_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29884/ TERM=xterm STAGE_NAME=Debug info JOB_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_check2/ BUILD_DISPLAY_NAME=#29884 SHLVL=3 GIT_BRANCH=origin/main BUILD_TAG=jenkins-pingcap-tidb-ghpr_check2-29884 KUBERNETES_SERVICE_PORT=443 NODE_LABELS=pingcap-tidb-ghpr-check2-29884-sllz3-vjrzw-c2454 pingcap_tidb_ghpr_check2_29884-sllz3 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-build3019213131=/tmp/go-build -gno-record-gcc-switches' + echo ------------------------- ------------------------- + echo 'debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-ghpr-check2-29884-sllz3-vjrzw-c2454 bash' debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-ghpr-check2-29884-sllz3-vjrzw-c2454 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: 64080 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ; COOKIE: 526169d6b54c9ace (echoed) ;; QUESTION SECTION: ;github.com. IN A ;; ANSWER SECTION: github.com. 22 IN A 20.27.177.113 github.com. 22 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 10:30:22 UTC 2025 ;; MSG SIZE rcvd: 103 [Pipeline] script [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Checkout) [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] cache Cache restored successfully (git/pingcap/tidb/rev-d9fb3a5) 1213224960 bytes in 4.91 secs (247002827 bytes/sec) [Pipeline] { [Pipeline] retry [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh git version 2.43.5 Reinitialized existing Git repository in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.git/ .git HEAD is now at d9fb3a5337 ddl: Implement TableMode feature (#59009) POST git-upload-pack (656 bytes) POST git-upload-pack (973 bytes) POST git-upload-pack (gzip 2073 to 1096 bytes) POST git-upload-pack (gzip 4123 to 2122 bytes) POST git-upload-pack (gzip 8073 to 4095 bytes) POST git-upload-pack (gzip 15932 to 8067 bytes) From https://github.com/pingcap/tidb = [up to date] master -> origin/master * [new ref] refs/pull/60399/head -> origin/pr/60399/head Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. HEAD is now at d9fb3a5337 ddl: Implement TableMode feature (#59009) 🚧 Checkouting to base SHA:d9fb3a53376157be49b5a7941e6e689a33c81eb0... HEAD is now at d9fb3a5337 ddl: Implement TableMode feature (#59009) ✅ Checked. 🎉 🧾 HEAD info: d9fb3a53376157be49b5a7941e6e689a33c81eb0 d9fb3a5337 ddl: Implement TableMode feature (#59009) 195c367f3a parser: support to check any column flag (#60287) f4b85e3540 statistics: remove invalid histogram items in loadNeededColumnHistograms and loadNeededIndexHistograms (#60318) 🚧 Pre-merge heads of pull requests to base SHA: d9fb3a53376157be49b5a7941e6e689a33c81eb0 ... Merge made by the 'ort' strategy. Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. pkg/planner/core/point_get_plan.go | 5 +++++ .../r/planner/core/partition_pruner.result | 23 +++++++++++++++++++++ .../t/planner/core/partition_pruner.test | 24 ++++++++++++++++++++++ 3 files changed, 52 insertions(+) 🧾 Pre-merged result: 3b9332eee54e982901cd0410bb1718ae35f9d72b 3b9332eee5 Merge commit 'dde8429f030a5d9dd80c21356dccec04ccedf6af' into HEAD dde8429f03 Moved test from unit test to integration test 6364d88cfe Fixed point get not giving error on non-existing explict partition ✅ Pre merged 🎉 ✅ ~~~~~All done.~~~~~~ [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // retry [Pipeline] } Cache saved successfully (git/pingcap/tidb/rev-d9fb3a5-dde8429) 1213358080 bytes in 17.25 secs (70344903 bytes/sec) [Pipeline] // cache [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] cache Cache not restored (no such key found) [Pipeline] { [Pipeline] sh + ls bin/tidb-server ls: cannot access 'bin/tidb-server': No such file or directory + make server go: downloading go1.23.8 (linux/amd64) CGO_ENABLED=1 GO111MODULE=on go build -tags codes -ldflags '-X "github.com/pingcap/tidb/pkg/parser/mysql.TiDBReleaseVersion=v9.0.0-alpha-514-g3b9332eee5" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBBuildTS=2025-04-04 10:30:58" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBGitHash=3b9332eee54e982901cd0410bb1718ae35f9d72b" -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/errors v0.11.5-0.20240318064555-6bd07397691f go: downloading github.com/grafana/pyroscope-go v1.2.1 go: downloading github.com/tikv/client-go/v2 v2.0.8-0.20250327030528-1906b778d741 go: downloading github.com/pingcap/failpoint v0.0.0-20240528011301-b51a646c7c86 go: downloading github.com/prometheus/client_golang v1.21.1 go: downloading github.com/pingcap/log v1.1.1-0.20241212030209-7e3ff8601a2a go: downloading go.uber.org/automaxprocs v1.6.0 go: downloading golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 go: downloading golang.org/x/sys v0.31.0 go: downloading github.com/opentracing/opentracing-go v1.2.0 go: downloading go.uber.org/zap v1.27.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/gogo/protobuf v1.3.2 go: downloading github.com/pingcap/kvproto v0.0.0-20250224053625-b6a98c6bf02d go: downloading github.com/pingcap/tipb v0.0.0-20250331100511-d2c561dad347 go: downloading go.uber.org/atomic v1.11.0 go: downloading github.com/BurntSushi/toml v1.5.0 go: downloading github.com/uber/jaeger-client-go v2.22.1+incompatible go: downloading github.com/google/pprof v0.0.0-20241001023024-f4c0cfd0cf1d go: downloading github.com/tikv/pd/client v0.0.0-20250318085533-e8050f72d00d go: downloading github.com/ngaut/pools v0.0.0-20180318154953-b7bc8c42aac7 go: downloading go.etcd.io/etcd/client/v3 v3.5.12 go: downloading google.golang.org/grpc v1.63.2 go: downloading github.com/shirou/gopsutil/v3 v3.24.5 go: downloading github.com/google/uuid v1.6.0 go: downloading github.com/otiai10/copy v1.14.0 go: downloading github.com/dgraph-io/ristretto v0.1.1 go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/golang/protobuf v1.5.4 go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 go: downloading golang.org/x/net v0.38.0 go: downloading github.com/google/btree v1.1.2 go: downloading github.com/lestrrat-go/jwx/v2 v2.0.21 go: downloading github.com/stretchr/testify v1.10.0 go: downloading github.com/tiancaiamao/gp v0.0.0-20221230034425-4025bc8a4d4a go: downloading google.golang.org/protobuf v1.36.5 go: downloading github.com/docker/go-units v0.5.0 go: downloading github.com/twmb/murmur3 v1.1.6 go: downloading github.com/prometheus/client_model v0.6.1 go: downloading github.com/golang/snappy v0.0.4 go: downloading github.com/coocood/freecache v1.2.1 go: downloading github.com/cloudfoundry/gosigar v1.3.6 go: downloading github.com/blacktear23/go-proxyprotocol v1.0.6 go: downloading github.com/gorilla/mux v1.8.1 go: downloading github.com/klauspost/compress v1.18.0 go: downloading github.com/pingcap/fn v1.0.0 go: downloading github.com/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/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 go: downloading github.com/wangjohn/quickselect v0.0.0-20161129230411-ed8402a42d5f go: downloading github.com/dolthub/swiss v0.2.1 go: downloading go.etcd.io/etcd/api/v3 v3.5.12 go: downloading github.com/opentracing/basictracer-go v1.0.0 go: downloading github.com/influxdata/tdigest v0.0.1 go: downloading golang.org/x/text v0.23.0 go: downloading github.com/ngaut/sync2 v0.0.0-20141008032647-7a24ed77b2ef go: downloading github.com/YangKeao/ldap/v3 v3.4.5-0.20230421065457-369a3bab1117 go: downloading gopkg.in/natefinch/lumberjack.v2 v2.2.1 go: downloading github.com/json-iterator/go v1.1.12 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading github.com/go-sql-driver/mysql v1.7.1 go: downloading github.com/grafana/pyroscope-go/godeltaprof v0.1.8 go: downloading golang.org/x/tools v0.31.0 go: downloading go.uber.org/multierr v1.11.0 go: downloading golang.org/x/time v0.11.0 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/cespare/xxhash/v2 v2.3.0 go: downloading github.com/prometheus/common v0.63.0 go: downloading github.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0 go: downloading github.com/qri-io/jsonschema v0.2.1 go: downloading github.com/pingcap/badger v1.5.1-0.20241015064302-38533b6cbf8d go: downloading go.etcd.io/etcd/client/pkg/v3 v3.5.12 go: downloading github.com/dgryski/go-farm v0.0.0-20240924180020-3414d57e47da go: downloading github.com/jellydator/ttlcache/v3 v3.0.1 go: downloading github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548 go: downloading github.com/cockroachdb/pebble v1.1.4-0.20250120151818-5dd133a1e6fb go: downloading github.com/dolthub/maphash v0.1.0 go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/prometheus/procfs v0.16.0 go: downloading github.com/uber/jaeger-lib v2.4.1+incompatible go: downloading github.com/aws/aws-sdk-go v1.55.5 go: downloading cloud.google.com/go/storage v1.38.0 go: downloading github.com/Azure/azure-sdk-for-go/sdk/azcore v1.14.0 go: downloading github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0 go: downloading github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0 go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1581 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 golang.org/x/term v0.30.0 go: downloading cloud.google.com/go v0.112.1 go: downloading github.com/cheggaaa/pb/v3 v3.0.8 go: downloading github.com/joho/sqltocsv v0.0.0-20210428211105-a6d6801d59df go: downloading github.com/jfcg/sorty/v2 v2.1.0 go: downloading github.com/carlmjohnson/flagext v0.21.0 go: downloading github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 go: downloading github.com/go-asn1-ber/asn1-ber v1.5.4 go: downloading github.com/spkg/bom v1.0.0 go: downloading github.com/xitongsys/parquet-go v1.6.3-0.20240520233950-75e935fc3e17 go: downloading github.com/robfig/cron/v3 v3.0.1 go: downloading github.com/lestrrat-go/blackmagic v1.0.2 go: downloading github.com/lestrrat-go/httprc v1.0.5 go: downloading github.com/lestrrat-go/iter v1.0.2 go: downloading github.com/lestrrat-go/option v1.0.1 go: downloading github.com/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/fatih/color v1.18.0 go: downloading github.com/vbauerster/mpb/v7 v7.5.3 go: downloading github.com/tklauser/go-sysconf v0.3.12 go: downloading go.uber.org/mock v0.4.0 go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 go: downloading github.com/spf13/cobra v1.9.1 go: downloading github.com/golang/glog v1.2.4 go: downloading github.com/dustin/go-humanize v1.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 github.com/VividCortex/ewma v1.2.0 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/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/qri-io/jsonpointer v0.1.1 go: downloading github.com/mattn/go-colorable v0.1.14 go: downloading github.com/mattn/go-isatty v0.0.20 go: downloading github.com/mattn/go-runewidth v0.0.16 go: downloading github.com/jfcg/sixb v1.3.8 go: downloading github.com/zyedidia/generic v1.2.1 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/lestrrat-go/httpcc v1.0.1 go: downloading github.com/jedib0t/go-pretty/v6 v6.2.2 go: downloading cloud.google.com/go/compute/metadata v0.3.0 go: downloading github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d go: downloading github.com/Masterminds/semver v1.5.0 go: downloading k8s.io/api v0.29.11 go: downloading github.com/apache/thrift v0.16.0 go: downloading github.com/tklauser/numcpus v0.6.1 go: downloading github.com/emirpasic/gods v1.18.1 go: downloading cloud.google.com/go/iam v1.1.6 go: downloading github.com/googleapis/gax-go/v2 v2.12.2 go: downloading github.com/pingcap/goleveldb v0.0.0-20191226122134-f82aafb29989 go: downloading github.com/kylelemons/godebug v1.1.0 go: downloading github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c go: downloading github.com/ncw/directio v1.0.5 go: downloading github.com/coocood/bbloom v0.0.0-20190830030839-58deb6228d64 go: downloading github.com/rivo/uniseg v0.4.7 go: downloading github.com/coocood/rtutil v0.0.0-20190304133409-c84515f646f2 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 go: downloading github.com/goccy/go-reflect v1.2.0 go: downloading github.com/apache/arrow/go/v12 v12.0.1 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/golang-jwt/jwt/v5 v5.2.2 go: downloading github.com/klauspost/cpuid v1.3.1 go: downloading github.com/segmentio/fasthash v1.0.3 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 go.opentelemetry.io/otel/metric v1.24.0 go: downloading github.com/go-logr/logr v1.4.1 go: downloading github.com/go-logr/stdr v1.2.2 go: downloading github.com/cockroachdb/errors v1.11.3 go: downloading github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce go: downloading github.com/cockroachdb/redact v1.1.5 go: downloading github.com/DataDog/zstd v1.5.5 go: downloading github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 go: downloading github.com/getsentry/sentry-go v0.27.0 go: downloading github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b go: downloading github.com/kr/pretty v0.3.1 go: downloading github.com/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 sigs.k8s.io/structured-merge-diff/v4 v4.4.1 go: downloading sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd go: downloading k8s.io/utils v0.0.0-20230726121419-3b25d923346b go: downloading github.com/google/s2a-go v0.1.7 go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 go: downloading github.com/googleapis/enterprise-certificate-proxy v0.3.2 go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 go: downloading github.com/felixge/httpsnoop v1.0.4 go: downloading github.com/jmespath/go-jmespath v0.4.0 [Pipeline] } Cache saved successfully (binary/pingcap/tidb/tidb-server/rev-d9fb3a53376157be49b5a7941e6e689a33c81eb0-dde8429f030a5d9dd80c21356dccec04ccedf6af) 253081600 bytes in 3.43 secs (73786467 bytes/sec) [Pipeline] // cache [Pipeline] script [Pipeline] { [Pipeline] echo computeBranchFromPR component: tikv, prTargetBranch: master, prTitle: planner: Fixed point get not giving error on non-existing explict partition, 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 1464 0 --:--:-- --:--:-- --:--:-- 1464 + 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: Fixed point get not giving error on non-existing explict partition, 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 359 0 --:--:-- --:--:-- --:--:-- 359 + 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-dde8429f030a5d9dd80c21356dccec04ccedf6af [Pipeline] } Cache saved successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29884) 2925035520 bytes in 38.84 secs (75303328 bytes/sec) [Pipeline] // cache [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Checks) [Pipeline] parallel [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'integrationtest_with_tikv.sh y') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'integrationtest_with_tikv.sh n') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_brietest') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_pessimistictest') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_sessiontest') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_statisticstest') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_txntest') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_addindextest') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_addindextest1') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_addindextest2') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_addindextest3') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_addindextest4') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_importintotest') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_importintotest2') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_importintotest3') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_importintotest4') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_pipelineddmltest') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_flashbacktest') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'integrationtest_with_tikv.sh y') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'integrationtest_with_tikv.sh n') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_brietest') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_pessimistictest') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_sessiontest') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_statisticstest') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_txntest') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_addindextest') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_addindextest1') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_addindextest2') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_addindextest3') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_addindextest4') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_importintotest') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_importintotest2') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_importintotest3') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_importintotest4') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_pipelineddmltest') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_flashbacktest') [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29884-vhfpp-7qw45-kgvqd 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-29884-n60fm-m3nfl-kmfxw Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29884-6ftbr-h9ppb-tkjw3 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] { Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29884-thwnd-dfhx8-mr95g [Pipeline] node Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29884-w6grf-qn0sw-8z2j1 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-29884-vhfpp-7qw45-kgvqd is provisioned from template pingcap_tidb_ghpr_check2_29884-vhfpp-7qw45 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29884/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29884/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "daaaa7420a7183ce3fa28c6e387fc267545ad0c3" jenkins/label: "pingcap_tidb_ghpr_check2_29884-vhfpp" name: "pingcap-tidb-ghpr-check2-29884-vhfpp-7qw45-kgvqd" 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-29884-vhfpp-7qw45-kgvqd" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29884-vhfpp-7qw45-kgvqd" - 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-29884-vhfpp-7qw45-kgvqd in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 [Pipeline] { [Pipeline] checkout Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29884-kb22v-qqdcn-27w45 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-29884-5vlcf-cb9ss-ln24n No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@6cb50466; decorates RemoteLauncher[hudson.remoting.Channel@6e42895c:JNLP4-connect connection from 10.233.76.138/10.233.76.138:35938] will be ignored (a typical symptom is the Git executable not being run inside a designated container) Cloning the remote Git repository Using shallow clone with depth 1 Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # timeout=10 Fetching upstream changes from https://github.com/PingCAP-QE/ci.git > git --version # timeout=10 > git --version # 'git version 2.39.2' > git fetch --tags --force --progress --depth=1 -- https://github.com/PingCAP-QE/ci.git +refs/heads/*:refs/remotes/origin/* # timeout=5 Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29884-r7g2d-zndvk-34z8p 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-29884-jdhr7-lsqz7-b4rps Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node 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 Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29884-47jm9-wdlz7-v2zr6 Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" [Pipeline] withEnv [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] cache Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git Agent pingcap-tidb-ghpr-check2-29884-n60fm-m3nfl-kmfxw is provisioned from template pingcap_tidb_ghpr_check2_29884-n60fm-m3nfl --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29884/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29884/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "0f31b498f67bdd1b82b65e4c9556ac814318f049" jenkins/label: "pingcap_tidb_ghpr_check2_29884-n60fm" name: "pingcap-tidb-ghpr-check2-29884-n60fm-m3nfl-kmfxw" 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-29884-n60fm-m3nfl-kmfxw" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29884-n60fm-m3nfl-kmfxw" - 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-29884-n60fm-m3nfl-kmfxw in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29884-cxgqc-kb6t1-2m8pb Agent pingcap-tidb-ghpr-check2-29884-w6grf-qn0sw-8z2j1 is provisioned from template pingcap_tidb_ghpr_check2_29884-w6grf-qn0sw --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29884/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29884/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "21ebe9a629e64e17cbb3cf2ea59005f5a01c08f3" jenkins/label: "pingcap_tidb_ghpr_check2_29884-w6grf" name: "pingcap-tidb-ghpr-check2-29884-w6grf-qn0sw-8z2j1" 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-29884-w6grf-qn0sw-8z2j1" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29884-w6grf-qn0sw-8z2j1" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins.apps.svc.cluster.local:8080/jenkins/" image: "jenkins/inbound-agent:3206.vb_15dcf73f6a_9-2" name: "jnlp" resources: requests: memory: "256Mi" cpu: "100m" volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false restartPolicy: "Never" securityContext: fsGroup: 1000 volumes: - emptyDir: {} name: "bazel-out-merged" - name: "bazel-rc" secret: secretName: "bazel" - emptyDir: {} name: "bazel-out-overlay" - name: "gocache" persistentVolumeClaim: claimName: "gocache" - downwardAPI: items: - path: "cpu_limit" resourceFieldRef: containerName: "golang" resource: "limits.cpu" - path: "cpu_request" resourceFieldRef: containerName: "golang" resource: "requests.cpu" - path: "mem_limit" resourceFieldRef: containerName: "golang" resource: "limits.memory" - path: "mem_request" resourceFieldRef: containerName: "golang" resource: "requests.memory" name: "containerinfo" - name: "bazel-out-lower" persistentVolumeClaim: claimName: "bazel-out-data" - emptyDir: medium: "" name: "workspace-volume" - name: "gopathcache" persistentVolumeClaim: claimName: "gopathcache" - name: "bazel-repository-cache" persistentVolumeClaim: claimName: "bazel-repository-cache" Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git Running on pingcap-tidb-ghpr-check2-29884-w6grf-qn0sw-8z2j1 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-29884-6ftbr-h9ppb-tkjw3 is provisioned from template pingcap_tidb_ghpr_check2_29884-6ftbr-h9ppb --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29884/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29884/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "99be6e637719d91896f840d9bd66e9ab6bb24065" jenkins/label: "pingcap_tidb_ghpr_check2_29884-6ftbr" name: "pingcap-tidb-ghpr-check2-29884-6ftbr-h9ppb-tkjw3" 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-29884-6ftbr-h9ppb-tkjw3" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29884-6ftbr-h9ppb-tkjw3" - 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-29884-6ftbr-h9ppb-tkjw3 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-29884-thwnd-dfhx8-mr95g is provisioned from template pingcap_tidb_ghpr_check2_29884-thwnd-dfhx8 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29884/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29884/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "abdf85924690f4e10847d20e6c855910eaeb4236" jenkins/label: "pingcap_tidb_ghpr_check2_29884-thwnd" name: "pingcap-tidb-ghpr-check2-29884-thwnd-dfhx8-mr95g" 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-29884-thwnd-dfhx8-mr95g" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29884-thwnd-dfhx8-mr95g" - 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-29884-thwnd-dfhx8-mr95g in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Agent pingcap-tidb-ghpr-check2-29884-kb22v-qqdcn-27w45 is provisioned from template pingcap_tidb_ghpr_check2_29884-kb22v-qqdcn --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29884/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29884/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "f643749f78c1c72a856fea808a531acbd19c519c" jenkins/label: "pingcap_tidb_ghpr_check2_29884-kb22v" name: "pingcap-tidb-ghpr-check2-29884-kb22v-qqdcn-27w45" 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-29884-kb22v-qqdcn-27w45" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29884-kb22v-qqdcn-27w45" - 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-29884-kb22v-qqdcn-27w45 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-29884-r7g2d-zndvk-34z8p is provisioned from template pingcap_tidb_ghpr_check2_29884-r7g2d-zndvk --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29884/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29884/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "01931e189775b636ef3cb8fcfa14d02e582157f7" jenkins/label: "pingcap_tidb_ghpr_check2_29884-r7g2d" name: "pingcap-tidb-ghpr-check2-29884-r7g2d-zndvk-34z8p" 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-29884-r7g2d-zndvk-34z8p" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29884-r7g2d-zndvk-34z8p" - 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-29884-r7g2d-zndvk-34z8p in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Agent pingcap-tidb-ghpr-check2-29884-cxgqc-kb6t1-2m8pb is provisioned from template pingcap_tidb_ghpr_check2_29884-cxgqc-kb6t1 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29884/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29884/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "ffd4a9057b31ad8dd2ecfde26e5dbaf9d6ab0aed" jenkins/label: "pingcap_tidb_ghpr_check2_29884-cxgqc" name: "pingcap-tidb-ghpr-check2-29884-cxgqc-kb6t1-2m8pb" 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-29884-cxgqc-kb6t1-2m8pb" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29884-cxgqc-kb6t1-2m8pb" - 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-29884-5vlcf-cb9ss-ln24n is provisioned from template pingcap_tidb_ghpr_check2_29884-5vlcf-cb9ss --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29884/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29884/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "65e87edfb4b105062d0fee853c7e458d195c065f" jenkins/label: "pingcap_tidb_ghpr_check2_29884-5vlcf" name: "pingcap-tidb-ghpr-check2-29884-5vlcf-cb9ss-ln24n" 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-29884-5vlcf-cb9ss-ln24n" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29884-5vlcf-cb9ss-ln24n" - 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-29884-cxgqc-kb6t1-2m8pb in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Running on pingcap-tidb-ghpr-check2-29884-5vlcf-cb9ss-ln24n in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git Agent pingcap-tidb-ghpr-check2-29884-47jm9-wdlz7-v2zr6 is provisioned from template pingcap_tidb_ghpr_check2_29884-47jm9-wdlz7 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29884/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29884/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "e8e6b53373a9ac91819ce2aa2946c4c015568616" jenkins/label: "pingcap_tidb_ghpr_check2_29884-47jm9" name: "pingcap-tidb-ghpr-check2-29884-47jm9-wdlz7-v2zr6" 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-29884-47jm9-wdlz7-v2zr6" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29884-47jm9-wdlz7-v2zr6" - 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-29884-47jm9-wdlz7-v2zr6 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Agent pingcap-tidb-ghpr-check2-29884-jdhr7-lsqz7-b4rps is provisioned from template pingcap_tidb_ghpr_check2_29884-jdhr7-lsqz7 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29884/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29884/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "ecc42b3d76cd05d108dd4737bff26822e0c7a536" jenkins/label: "pingcap_tidb_ghpr_check2_29884-jdhr7" name: "pingcap-tidb-ghpr-check2-29884-jdhr7-lsqz7-b4rps" 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-29884-jdhr7-lsqz7-b4rps" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29884-jdhr7-lsqz7-b4rps" - 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-29884-jdhr7-lsqz7-b4rps in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29884) 2925035520 bytes in 7.49 secs (390480869 bytes/sec) [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] sh [Pipeline] { [Pipeline] { [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node + ls -l rev-dde8429f030a5d9dd80c21356dccec04ccedf6af -rw-r--r-- 1 jenkins jenkins 0 Apr 4 10:34 rev-dde8429f030a5d9dd80c21356dccec04ccedf6af [Pipeline] node [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] checkout [Pipeline] checkout The recommended git tool is: git The recommended git tool is: git [Pipeline] checkout [Pipeline] checkout The recommended git tool is: git [Pipeline] checkout The recommended git tool is: git The recommended git tool is: git [Pipeline] checkout [Pipeline] checkout The recommended git tool is: git [Pipeline] checkout The recommended git tool is: git [Pipeline] checkout The recommended git tool is: git [Pipeline] checkout The recommended git tool is: git Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29884-dmzqb-ls6j2-0xzzt The recommended git tool is: git [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29884 already exists) Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29884-fr3dj-txbnb-3mgx0 Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29884-hrp56-tb7hj-wz764 [Pipeline] // cache Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29884-sdqqq-26f4c-80zwj [Pipeline] sh Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29884-jdv8r-s3q8c-bvztj Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29884-hrk7c-t9r8k-xzf9d Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29884-b30gk-x0fb6-lwqcw No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@65d9581c; decorates RemoteLauncher[hudson.remoting.Channel@6604c2fe:JNLP4-connect connection from 10.233.90.254/10.233.90.254:50880] 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@1cd34f66; decorates RemoteLauncher[hudson.remoting.Channel@7023bd54:JNLP4-connect connection from 10.233.93.57/10.233.93.57:54320] 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@58dff1d0; decorates RemoteLauncher[hudson.remoting.Channel@439c9692:JNLP4-connect connection from 10.233.106.195/10.233.106.195:57518] 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@7f1f5ac2; decorates RemoteLauncher[hudson.remoting.Channel@7e30497c:JNLP4-connect connection from 10.233.84.252/10.233.84.252:38182] 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@287486d9; decorates RemoteLauncher[hudson.remoting.Channel@7f2db1e3:JNLP4-connect connection from 10.233.72.254/10.233.72.254:34214] 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 [Pipeline] sh No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@175a0436; decorates RemoteLauncher[hudson.remoting.Channel@1a6c7761:JNLP4-connect connection from 10.233.100.39/10.233.100.39:51852] 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 No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@2ce9abc3; decorates RemoteLauncher[hudson.remoting.Channel@7f9ed889:JNLP4-connect connection from 10.233.76.188/10.233.76.188:46284] 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 No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@77ab0edb; decorates RemoteLauncher[hudson.remoting.Channel@66712af1:JNLP4-connect connection from 10.233.69.177/10.233.69.177:46618] 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@143c5313; decorates RemoteLauncher[hudson.remoting.Channel@f964630:JNLP4-connect connection from 10.233.66.127/10.233.66.127:53028] 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@46f23d28; decorates RemoteLauncher[hudson.remoting.Channel@2dfd538d:JNLP4-connect connection from 10.233.70.204/10.233.70.204:53486] will be ignored (a typical symptom is the Git executable not being run inside a designated container) 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 the remote Git repository Using shallow clone with depth 1 + 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) 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 + /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 go: downloading github.com/pingcap/errors v0.11.5-0.20221009092201-b66cddb77c32 go: downloading github.com/defined2014/mysql v0.0.0-20231121061906-fcfacaa39f49 go: downloading github.com/sirupsen/logrus v1.8.1 go: downloading go.uber.org/atomic v1.11.0 go: downloading golang.org/x/sys v0.5.0 > 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) Agent pingcap-tidb-ghpr-check2-29884-b30gk-x0fb6-lwqcw is provisioned from template pingcap_tidb_ghpr_check2_29884-b30gk-x0fb6 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29884/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29884/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "8caba1555517cb15591c85d3b569157ff138e970" jenkins/label: "pingcap_tidb_ghpr_check2_29884-b30gk" name: "pingcap-tidb-ghpr-check2-29884-b30gk-x0fb6-lwqcw" 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-29884-b30gk-x0fb6-lwqcw" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29884-b30gk-x0fb6-lwqcw" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins.apps.svc.cluster.local:8080/jenkins/" image: "jenkins/inbound-agent:3206.vb_15dcf73f6a_9-2" name: "jnlp" resources: requests: memory: "256Mi" cpu: "100m" volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false restartPolicy: "Never" securityContext: fsGroup: 1000 volumes: - emptyDir: {} name: "bazel-out-merged" - name: "bazel-rc" secret: secretName: "bazel" - emptyDir: {} name: "bazel-out-overlay" - name: "gocache" persistentVolumeClaim: claimName: "gocache" - downwardAPI: items: - path: "cpu_limit" resourceFieldRef: containerName: "golang" resource: "limits.cpu" - path: "cpu_request" resourceFieldRef: containerName: "golang" resource: "requests.cpu" - path: "mem_limit" resourceFieldRef: containerName: "golang" resource: "limits.memory" - path: "mem_request" resourceFieldRef: containerName: "golang" resource: "requests.memory" name: "containerinfo" - name: "bazel-out-lower" persistentVolumeClaim: claimName: "bazel-out-data" - emptyDir: medium: "" name: "workspace-volume" - name: "gopathcache" persistentVolumeClaim: claimName: "gopathcache" - name: "bazel-repository-cache" persistentVolumeClaim: claimName: "bazel-repository-cache" > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 > 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) Running on pingcap-tidb-ghpr-check2-29884-b30gk-x0fb6-lwqcw 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 > 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)" [Pipeline] checkout Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Avoid second fetch Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" 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) The recommended git tool is: git Avoid second fetch [Pipeline] withEnv Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) [Pipeline] { [Pipeline] withEnv [Pipeline] { Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" [Pipeline] withEnv [Pipeline] { 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 [Pipeline] container Avoid second fetch [Pipeline] { > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) [Pipeline] container [Pipeline] { Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" [Pipeline] container [Pipeline] { Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" [Pipeline] withEnv Agent pingcap-tidb-ghpr-check2-29884-sdqqq-26f4c-80zwj is provisioned from template pingcap_tidb_ghpr_check2_29884-sdqqq-26f4c --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29884/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29884/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "ca6af1a76fe236050d324a3bd4b7ff38a0c44d08" jenkins/label: "pingcap_tidb_ghpr_check2_29884-sdqqq" name: "pingcap-tidb-ghpr-check2-29884-sdqqq-26f4c-80zwj" 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-29884-sdqqq-26f4c-80zwj" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29884-sdqqq-26f4c-80zwj" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins.apps.svc.cluster.local:8080/jenkins/" image: "jenkins/inbound-agent:3206.vb_15dcf73f6a_9-2" name: "jnlp" resources: requests: memory: "256Mi" cpu: "100m" volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false restartPolicy: "Never" securityContext: fsGroup: 1000 volumes: - emptyDir: {} name: "bazel-out-merged" - name: "bazel-rc" secret: secretName: "bazel" - emptyDir: {} name: "bazel-out-overlay" - name: "gocache" persistentVolumeClaim: claimName: "gocache" - downwardAPI: items: - path: "cpu_limit" resourceFieldRef: containerName: "golang" resource: "limits.cpu" - path: "cpu_request" resourceFieldRef: containerName: "golang" resource: "requests.cpu" - path: "mem_limit" resourceFieldRef: containerName: "golang" resource: "limits.memory" - path: "mem_request" resourceFieldRef: containerName: "golang" resource: "requests.memory" name: "containerinfo" - name: "bazel-out-lower" persistentVolumeClaim: claimName: "bazel-out-data" - emptyDir: medium: "" name: "workspace-volume" - name: "gopathcache" persistentVolumeClaim: claimName: "gopathcache" - name: "bazel-repository-cache" persistentVolumeClaim: claimName: "bazel-repository-cache" Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" [Pipeline] { Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Running on pingcap-tidb-ghpr-check2-29884-sdqqq-26f4c-80zwj in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 [Pipeline] container [Pipeline] { [Pipeline] withEnv Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" [Pipeline] { Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" [Pipeline] container [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { Agent pingcap-tidb-ghpr-check2-29884-hrk7c-t9r8k-xzf9d is provisioned from template pingcap_tidb_ghpr_check2_29884-hrk7c-t9r8k --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29884/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29884/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "937f99f613142e72942b3cd3113223bd5e68796e" jenkins/label: "pingcap_tidb_ghpr_check2_29884-hrk7c" name: "pingcap-tidb-ghpr-check2-29884-hrk7c-t9r8k-xzf9d" 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-29884-hrk7c-t9r8k-xzf9d" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29884-hrk7c-t9r8k-xzf9d" - 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-29884-hrk7c-t9r8k-xzf9d in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 [Pipeline] container Agent pingcap-tidb-ghpr-check2-29884-dmzqb-ls6j2-0xzzt is provisioned from template pingcap_tidb_ghpr_check2_29884-dmzqb-ls6j2 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29884/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29884/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "f736e3117bad96c652295965184127b9996bfd10" jenkins/label: "pingcap_tidb_ghpr_check2_29884-dmzqb" name: "pingcap-tidb-ghpr-check2-29884-dmzqb-ls6j2-0xzzt" 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-29884-dmzqb-ls6j2-0xzzt" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29884-dmzqb-ls6j2-0xzzt" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins.apps.svc.cluster.local:8080/jenkins/" image: "jenkins/inbound-agent:3206.vb_15dcf73f6a_9-2" name: "jnlp" resources: requests: memory: "256Mi" cpu: "100m" volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false restartPolicy: "Never" securityContext: fsGroup: 1000 volumes: - emptyDir: {} name: "bazel-out-merged" - name: "bazel-rc" secret: secretName: "bazel" - emptyDir: {} name: "bazel-out-overlay" - name: "gocache" persistentVolumeClaim: claimName: "gocache" - downwardAPI: items: - path: "cpu_limit" resourceFieldRef: containerName: "golang" resource: "limits.cpu" - path: "cpu_request" resourceFieldRef: containerName: "golang" resource: "requests.cpu" - path: "mem_limit" resourceFieldRef: containerName: "golang" resource: "limits.memory" - path: "mem_request" resourceFieldRef: containerName: "golang" resource: "requests.memory" name: "containerinfo" - name: "bazel-out-lower" persistentVolumeClaim: claimName: "bazel-out-data" - emptyDir: medium: "" name: "workspace-volume" - name: "gopathcache" persistentVolumeClaim: claimName: "gopathcache" - name: "bazel-repository-cache" persistentVolumeClaim: claimName: "bazel-repository-cache" [Pipeline] { Running on pingcap-tidb-ghpr-check2-29884-dmzqb-ls6j2-0xzzt in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 [Pipeline] withEnv Agent pingcap-tidb-ghpr-check2-29884-jdv8r-s3q8c-bvztj is provisioned from template pingcap_tidb_ghpr_check2_29884-jdv8r-s3q8c --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29884/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29884/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "9a2ec747da355e6572c82f273f9810cd120475ef" jenkins/label: "pingcap_tidb_ghpr_check2_29884-jdv8r" name: "pingcap-tidb-ghpr-check2-29884-jdv8r-s3q8c-bvztj" 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-29884-jdv8r-s3q8c-bvztj" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29884-jdv8r-s3q8c-bvztj" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins.apps.svc.cluster.local:8080/jenkins/" image: "jenkins/inbound-agent:3206.vb_15dcf73f6a_9-2" name: "jnlp" resources: requests: memory: "256Mi" cpu: "100m" volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false restartPolicy: "Never" securityContext: fsGroup: 1000 volumes: - emptyDir: {} name: "bazel-out-merged" - name: "bazel-rc" secret: secretName: "bazel" - emptyDir: {} name: "bazel-out-overlay" - name: "gocache" persistentVolumeClaim: claimName: "gocache" - downwardAPI: items: - path: "cpu_limit" resourceFieldRef: containerName: "golang" resource: "limits.cpu" - path: "cpu_request" resourceFieldRef: containerName: "golang" resource: "requests.cpu" - path: "mem_limit" resourceFieldRef: containerName: "golang" resource: "limits.memory" - path: "mem_request" resourceFieldRef: containerName: "golang" resource: "requests.memory" name: "containerinfo" - name: "bazel-out-lower" persistentVolumeClaim: claimName: "bazel-out-data" - emptyDir: medium: "" name: "workspace-volume" - name: "gopathcache" persistentVolumeClaim: claimName: "gopathcache" - name: "bazel-repository-cache" persistentVolumeClaim: claimName: "bazel-repository-cache" [Pipeline] { Running on pingcap-tidb-ghpr-check2-29884-jdv8r-s3q8c-bvztj in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 [Pipeline] withEnv [Pipeline] { Agent pingcap-tidb-ghpr-check2-29884-fr3dj-txbnb-3mgx0 is provisioned from template pingcap_tidb_ghpr_check2_29884-fr3dj-txbnb --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29884/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29884/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "4245d6efe844d7dc252c54501b8543ee9405ef2e" jenkins/label: "pingcap_tidb_ghpr_check2_29884-fr3dj" name: "pingcap-tidb-ghpr-check2-29884-fr3dj-txbnb-3mgx0" 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-29884-fr3dj-txbnb-3mgx0" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29884-fr3dj-txbnb-3mgx0" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins.apps.svc.cluster.local:8080/jenkins/" image: "jenkins/inbound-agent:3206.vb_15dcf73f6a_9-2" name: "jnlp" resources: requests: memory: "256Mi" cpu: "100m" volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false restartPolicy: "Never" securityContext: fsGroup: 1000 volumes: - emptyDir: {} name: "bazel-out-merged" - name: "bazel-rc" secret: secretName: "bazel" - emptyDir: {} name: "bazel-out-overlay" - name: "gocache" persistentVolumeClaim: claimName: "gocache" - downwardAPI: items: - path: "cpu_limit" resourceFieldRef: containerName: "golang" resource: "limits.cpu" - path: "cpu_request" resourceFieldRef: containerName: "golang" resource: "requests.cpu" - path: "mem_limit" resourceFieldRef: containerName: "golang" resource: "limits.memory" - path: "mem_request" resourceFieldRef: containerName: "golang" resource: "requests.memory" name: "containerinfo" - name: "bazel-out-lower" persistentVolumeClaim: claimName: "bazel-out-data" - emptyDir: medium: "" name: "workspace-volume" - name: "gopathcache" persistentVolumeClaim: claimName: "gopathcache" - name: "bazel-repository-cache" persistentVolumeClaim: claimName: "bazel-repository-cache" > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Running on pingcap-tidb-ghpr-check2-29884-fr3dj-txbnb-3mgx0 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 [Pipeline] container [Pipeline] { > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 [Pipeline] container [Pipeline] { No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@6deb26c9; decorates RemoteLauncher[hudson.remoting.Channel@2f834288:JNLP4-connect connection from 10.233.77.140/10.233.77.140:58834] 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] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [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] container [Pipeline] { Agent pingcap-tidb-ghpr-check2-29884-hrp56-tb7hj-wz764 is provisioned from template pingcap_tidb_ghpr_check2_29884-hrp56-tb7hj --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29884/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29884/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "9bf09a1867a49df94a015e523103e677fbe49ea9" jenkins/label: "pingcap_tidb_ghpr_check2_29884-hrp56" name: "pingcap-tidb-ghpr-check2-29884-hrp56-tb7hj-wz764" 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-29884-hrp56-tb7hj-wz764" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29884-hrp56-tb7hj-wz764" - 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] container [Pipeline] { Running on pingcap-tidb-ghpr-check2-29884-hrp56-tb7hj-wz764 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] checkout [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { The recommended git tool is: git [Pipeline] stage [Pipeline] { (Test) [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials start tidb-server, log file: ./integration-test.out tidb-server(PID: 1235) started run all integration test cases (disabled new collation) Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials [Pipeline] { 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] { [Pipeline] { [Pipeline] checkout [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN The recommended git tool is: git [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] checkout [Pipeline] checkout The recommended git tool is: git [Pipeline] { The recommended git tool is: git [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] checkout No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@62540c20; decorates RemoteLauncher[hudson.remoting.Channel@2ff548b4:JNLP4-connect connection from 10.233.75.48/10.233.75.48:37092] 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] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { The recommended git tool is: git [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] cache Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # timeout=10 Fetching upstream changes from https://github.com/PingCAP-QE/ci.git > git --version # timeout=10 > git --version # 'git version 2.39.2' > git fetch --tags --force --progress --depth=1 -- https://github.com/PingCAP-QE/ci.git +refs/heads/*:refs/remotes/origin/* # timeout=5 No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@2c11c2a5; decorates RemoteLauncher[hudson.remoting.Channel@1cfb11d7:JNLP4-connect connection from 10.233.107.151/10.233.107.151:60284] 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@7a148368; decorates RemoteLauncher[hudson.remoting.Channel@771ac23b:JNLP4-connect connection from 10.233.97.175/10.233.97.175:60070] 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 Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@4a365f25; decorates RemoteLauncher[hudson.remoting.Channel@7bb57265:JNLP4-connect connection from 10.233.68.252/10.233.68.252:34558] 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@14f4950; decorates RemoteLauncher[hudson.remoting.Channel@3a98603b:JNLP4-connect connection from 10.233.71.203/10.233.71.203:56548] will be ignored (a typical symptom is the Git executable not being run inside a designated container) Cloning the remote Git repository Using shallow clone with depth 1 Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 ./t/collation_agg_func.test: ok! 74 test cases passed, take time 0.707930062 s 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 ./t/collation_check_use_collation.test: ok! 93 test cases passed, take time 0.627185114 s Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) ./t/collation_misc.test: ok! 66 test cases passed, take time 0.57269908 s Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Avoid second fetch > 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) Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 > 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)" > 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)" ./t/collation_pointget.test: ok! 106 test cases passed, take time 1.639263192 s Great, All tests passed integrationtest passed! ./run-tests.sh: line 1: kill: (1235) - No such process ~/agent/workspace/pingcap/tidb/ghpr_check2/tidb Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29884) 2925035520 bytes in 7.45 secs (392611855 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29884) 2925035520 bytes in 7.43 secs (393855379 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29884) 2925035520 bytes in 8.53 secs (342880327 bytes/sec) [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] sh + ls -l rev-dde8429f030a5d9dd80c21356dccec04ccedf6af -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:34 rev-dde8429f030a5d9dd80c21356dccec04ccedf6af [Pipeline] sh + ls -l rev-dde8429f030a5d9dd80c21356dccec04ccedf6af -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:34 rev-dde8429f030a5d9dd80c21356dccec04ccedf6af [Pipeline] { [Pipeline] { [Pipeline] checkout [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] cache The recommended git tool is: git + ls -l rev-dde8429f030a5d9dd80c21356dccec04ccedf6af -rw-r--r-- 1 jenkins jenkins 0 Apr 4 10:34 rev-dde8429f030a5d9dd80c21356dccec04ccedf6af No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@7155aaad; decorates RemoteLauncher[hudson.remoting.Channel@413cd61a:JNLP4-connect connection from 10.233.67.189/10.233.67.189:49892] will be ignored (a typical symptom is the Git executable not being run inside a designated container) Cloning the remote Git repository Using shallow clone with depth 1 Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # timeout=10 Fetching upstream changes from https://github.com/PingCAP-QE/ci.git > git --version # timeout=10 > git --version # 'git version 2.39.2' > git fetch --tags --force --progress --depth=1 -- https://github.com/PingCAP-QE/ci.git +refs/heads/*:refs/remotes/origin/* # timeout=5 Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29884) 2925035520 bytes in 7.85 secs (372626216 bytes/sec) [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] { [Pipeline] cache + ls -l rev-dde8429f030a5d9dd80c21356dccec04ccedf6af -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:34 rev-dde8429f030a5d9dd80c21356dccec04ccedf6af Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29884) 2925035520 bytes in 6.70 secs (436832618 bytes/sec) [Pipeline] { [Pipeline] sh [Pipeline] { [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] cache + ls -l rev-dde8429f030a5d9dd80c21356dccec04ccedf6af -rw-r--r-- 1 jenkins jenkins 0 Apr 4 10:34 rev-dde8429f030a5d9dd80c21356dccec04ccedf6af Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29884) 2925035520 bytes in 8.00 secs (365423559 bytes/sec) [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] sh [Pipeline] cache + ls -l rev-dde8429f030a5d9dd80c21356dccec04ccedf6af -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:34 rev-dde8429f030a5d9dd80c21356dccec04ccedf6af Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29884) 2925035520 bytes in 8.19 secs (357040211 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29884) 2925035520 bytes in 8.24 secs (355023376 bytes/sec) [Pipeline] { [Pipeline] sh [Pipeline] sh + ls -l rev-dde8429f030a5d9dd80c21356dccec04ccedf6af -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:34 rev-dde8429f030a5d9dd80c21356dccec04ccedf6af [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 + ls -l rev-dde8429f030a5d9dd80c21356dccec04ccedf6af -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:34 rev-dde8429f030a5d9dd80c21356dccec04ccedf6af Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29884) 2925035520 bytes in 8.27 secs (353748538 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29884) 2925035520 bytes in 8.50 secs (344261182 bytes/sec) [Pipeline] { [Pipeline] sh [Pipeline] sh + ls -l rev-dde8429f030a5d9dd80c21356dccec04ccedf6af -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:34 rev-dde8429f030a5d9dd80c21356dccec04ccedf6af [Pipeline] } + ls -l rev-dde8429f030a5d9dd80c21356dccec04ccedf6af -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:34 rev-dde8429f030a5d9dd80c21356dccec04ccedf6af [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29884 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29884 already exists) [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29884 already exists) [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] container [Pipeline] { [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29884 already exists) [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29884 already exists) [Pipeline] stage [Pipeline] { (Test) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29884 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29884 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] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29884 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29884 already exists) [Pipeline] // dir Post stage [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29884 already exists) [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] junit Recording test results [Pipeline] // cache [Pipeline] sh None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] // cache [Pipeline] sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] // cache [Pipeline] sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] // cache [Pipeline] sh No test report files were found. Configuration error? + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] // cache [Pipeline] sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] // cache [Pipeline] sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] // cache [Pipeline] sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] // cache [Pipeline] sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] // cache [Pipeline] sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] cache + 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 Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29884) 2925035520 bytes in 7.50 secs (389954493 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29884) 2925035520 bytes in 6.94 secs (421641890 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29884) 2925035520 bytes in 7.69 secs (380394477 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29884) 2925035520 bytes in 8.13 secs (359981223 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29884) 2925035520 bytes in 7.39 secs (395792445 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29884) 2925035520 bytes in 8.35 secs (350257324 bytes/sec) [Pipeline] { [Pipeline] sh [Pipeline] sh + ls -l rev-dde8429f030a5d9dd80c21356dccec04ccedf6af -rw-r--r-- 1 jenkins jenkins 0 Apr 4 10:34 rev-dde8429f030a5d9dd80c21356dccec04ccedf6af [Pipeline] sh [Pipeline] sh + ls -l rev-dde8429f030a5d9dd80c21356dccec04ccedf6af -rw-r--r-- 1 jenkins jenkins 0 Apr 4 10:34 rev-dde8429f030a5d9dd80c21356dccec04ccedf6af + ls -l rev-dde8429f030a5d9dd80c21356dccec04ccedf6af -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:34 rev-dde8429f030a5d9dd80c21356dccec04ccedf6af [Pipeline] sh [Pipeline] sh + ls -l rev-dde8429f030a5d9dd80c21356dccec04ccedf6af -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:34 rev-dde8429f030a5d9dd80c21356dccec04ccedf6af + ls -l rev-dde8429f030a5d9dd80c21356dccec04ccedf6af -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:34 rev-dde8429f030a5d9dd80c21356dccec04ccedf6af [Pipeline] // cache [Pipeline] sh + ls -l rev-dde8429f030a5d9dd80c21356dccec04ccedf6af -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:34 rev-dde8429f030a5d9dd80c21356dccec04ccedf6af [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 [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] 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) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29884) 2925035520 bytes in 8.43 secs (346905261 bytes/sec) [Pipeline] { [Pipeline] sh [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh + ls -l rev-dde8429f030a5d9dd80c21356dccec04ccedf6af -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:34 rev-dde8429f030a5d9dd80c21356dccec04ccedf6af [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29884 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29884 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29884 already exists) + 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-29884 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29884 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29884 already exists) [Pipeline] // dir [Pipeline] sh [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_pessimistictest [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/integrationtest_with_tikv.sh y ~/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tests/integrationtest ~/agent/workspace/pingcap/tidb/ghpr_check2/tidb extracting statistics: s skip building tidb-server, using existing binary: /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/bin/integration_test_tidb-server building mysql-tester binary: ./mysql_tester go: downloading github.com/pingcap/mysql-tester v0.0.0-20241224064458-0d83955ea569 [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_statisticstest [Pipeline] sh go: downloading github.com/sirupsen/logrus v1.8.1 go: downloading github.com/pingcap/errors v0.11.5-0.20221009092201-b66cddb77c32 go: downloading github.com/defined2014/mysql v0.0.0-20231121061906-fcfacaa39f49 go: downloading go.uber.org/atomic v1.11.0 go: downloading golang.org/x/sys v0.5.0 + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest3 [Pipeline] script [Pipeline] { [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_txntest [Pipeline] sh [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_brietest [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29884 already exists) [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_sessiontest [Pipeline] // cache [Pipeline] // cache + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest2 [Pipeline] // cache [Pipeline] sh [Pipeline] sh start tidb-server, log file: ./integration-test.out tidb-server(PID: 1199) started run all integration test cases (enabled new collation) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest [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] // 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] 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 ./t/show.test: ok! 3 test cases passed, take time 0.000495106 s ./t/access_path_selection.test: ok! 9 test cases passed, take time 0.021356454 s ./t/agg_predicate_pushdown.test: ok! 7 test cases passed, take time 0.021363359 s + 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] } + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest1 [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] sh [Pipeline] sh ./t/bindinfo/bind.test: ok! 223 test cases passed, take time 1.542506114 s ./t/bindinfo/session_handle.test: ok! 21 test cases passed, take time 0.069030128 s ./t/bindinfo/temptable.test: ok! 38 test cases passed, take time 0.151830694 s ./t/black_list.test: ok! 55 test cases passed, take time 0.10799222 s + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) ./t/clustered_index.test: ok! 34 test cases passed, take time 1.319946848 s [Pipeline] // script [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] 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) ./t/collation_agg_func.test: ok! 74 test cases passed, take time 0.7018043 s [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_flashbacktest [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_importintotest3 ./t/collation_check_use_collation.test: ok! 93 test cases passed, take time 0.601123018 s [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_pipelineddmltest [Pipeline] sh go: downloading go1.23.8 (linux/amd64) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest4 ./t/collation_misc.test: ok! 66 test cases passed, take time 0.488983995 s [Pipeline] // dir [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_importintotest4 go: downloading go1.23.8 (linux/amd64) [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_importintotest go: downloading go1.23.8 (linux/amd64) ./t/collation_pointget.test: ok! 106 test cases passed, take time 0.610915869 s [Pipeline] } + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_importintotest2 ./t/common_collation.test: ok! 26 test cases passed, take time 0.149765403 s go: downloading go1.23.8 (linux/amd64) [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node go: downloading go1.23.8 (linux/amd64) [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv go: downloading go1.23.8 (linux/amd64) [Pipeline] } [Pipeline] // stage [Pipeline] } go: downloading go1.23.8 (linux/amd64) go: downloading go1.23.8 (linux/amd64) ./t/cte.test: ok! 237 test cases passed, take time 2.082077098 s ./t/db_integration.test: ok! 11 test cases passed, take time 0.046947627 s ./t/ddl/attributes_sql.test: ok! 30 test cases passed, take time 0.422865185 s GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 go: downloading go1.23.8 (linux/amd64) GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 go: downloading go1.23.8 (linux/amd64) go: downloading go1.23.8 (linux/amd64) go: downloading go1.23.8 (linux/amd64) go: downloading go1.23.8 (linux/amd64) go: downloading go1.23.8 (linux/amd64) ./t/ddl/bdr_mode.test: ok! 371 test cases passed, take time 5.987526542 s ./t/ddl/column.test: ok! 42 test cases passed, take time 0.548652585 s 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 ./t/ddl/column_change.test: ok! 9 test cases passed, take time 0.05805074 s go: downloading go1.23.8 (linux/amd64) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Starting local Bazel server and connecting to it... bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Starting local Bazel server and connecting to it... bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Starting local Bazel server and connecting to it... bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Starting local Bazel server and connecting to it... INFO: Invocation ID: 409bd159-be6f-45d6-8169-1030d3058235 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_15.3770319311/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Loading: INFO: Invocation ID: 796b3dcf-498d-4c76-9bc1-235095b0c369 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_17.753825365/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: ./t/ddl/column_modify.test: ok! 164 test cases passed, take time 2.9222882329999997 s bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 INFO: Invocation ID: 8f5ba00f-d731-40e9-a6cf-fe030eb3684b INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_21.855944697/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: 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... 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... GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 Loading: INFO: Invocation ID: 970193de-8c8a-4e3e-b2db-78d17f06e652 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_18.493958061/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Starting local Bazel server and connecting to it... GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 Loading: GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 Loading: Loading: 0 packages loaded Loading: Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Starting local Bazel server and connecting to it... Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Loading: GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 INFO: Invocation ID: 09db4d60-2114-4a1e-b73f-e2cdb8a76c7d INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_16.2970873625/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: 3e586a24-3eff-4056-8264-7db665d2ef25 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_15.3067843631/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) GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) INFO: Invocation ID: 297eaf40-e591-4c5c-a0b5-ad32a8208c2e INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_20.1530988251/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: INFO: Invocation ID: 5db3f01a-794f-484f-987c-6443cf35d4c9 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_19.3540252708/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Loading: Loading: Loading: 0 packages loaded 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 (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Starting local Bazel server and connecting to it... Loading: Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) 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) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) INFO: Invocation ID: 05b6fedc-be02-4c91-a6f1-6befdcedf07f INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_20.2956393326/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Loading: 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) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Starting local Bazel server and connecting to it... 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) 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... bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (74 packages loaded, 4015 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Analyzing: target //:gazelle (66 packages loaded, 528 targets configured) Starting local Bazel server and connecting to it... Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (49 packages loaded, 493 targets configured) INFO: Invocation ID: bfc1f7a8-365c-44ad-95ec-c5cbdce756ba INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_32.1561326219/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Starting local Bazel server and connecting to it... Analyzing: target //:gazelle (74 packages loaded, 4027 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) INFO: Invocation ID: bd8f1b84-014f-41fe-9343-78a4acfb4b80 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_32.3443513390/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) INFO: Invocation ID: 77124dac-49f6-47f0-8afb-a5ef883b9c1f INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_32.1482878992/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) Starting local Bazel server and connecting to it... Analyzing: target //:gazelle (52 packages loaded, 494 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Loading: Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) INFO: Invocation ID: c5b462bb-21a4-4bf4-a1f3-00d7d449ff7e INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_32.2715565958/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (49 packages loaded, 493 targets configured) Loading: Analyzing: target //:gazelle (66 packages loaded, 1218 targets configured) 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 (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Loading: Loading: Loading: 0 packages loaded INFO: Invocation ID: 5036ce3f-3c4c-439c-85c6-5f6c61861c01 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_32.2447138448/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Starting local Bazel server and connecting to it... INFO: Invocation ID: 95c4ef21-4b99-4e5f-af94-d96cb01ea3eb INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_32.3369615583/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 (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (45 packages loaded, 462 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Loading: Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Loading: Loading: 0 packages loaded Loading: Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Loading: Loading: 0 packages loaded INFO: Invocation ID: a70c1b0d-7b35-4a75-97de-ec84c1347bb9 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_32.2363595728/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 (1 packages loaded, 0 targets configured) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (52 packages loaded, 494 targets configured) Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Loading: Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (45 packages loaded, 463 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (45 packages loaded, 463 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (45 packages loaded, 462 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (98 packages loaded, 4994 targets configured) Analyzing: target //:gazelle (45 packages loaded, 463 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (45 packages loaded, 463 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (75 packages loaded, 4922 targets configured) Analyzing: target //:gazelle (66 packages loaded, 3205 targets configured) Analyzing: target //:gazelle (45 packages loaded, 463 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5916 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5919 targets configured) Analyzing: target //:gazelle (410 packages loaded, 6290 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5936 targets configured) Analyzing: target //:gazelle (410 packages loaded, 6354 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, 5908 targets configured) Analyzing: target //:gazelle (413 packages loaded, 6334 targets configured) [0 / 90] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) 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, 5900 targets configured) Analyzing: target //:gazelle (401 packages loaded, 6319 targets configured) [0 / 84] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 32] checking cached actions Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (175 packages loaded, 5927 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5911 targets configured) Analyzing: target //:gazelle (411 packages loaded, 6350 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured).  checking cached actions INFO: Found 1 target... [0 / 88] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) Analyzing: target //:gazelle (409 packages loaded, 6352 targets configured) Analyzing: target //:gazelle (406 packages loaded, 6313 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.a, 3.1 MiB / 4.1 MiB; 0s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 7.0 MiB / 18.9 MiB; 1s remote-cache ... (4 actions, 0 running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured).  checking cached actions INFO: Found 1 target... Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5908 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured).  checking cached actions INFO: Found 1 target... [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 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) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 87] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) [0 / 85] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) [0 / 91] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 4.2 MiB / 12.2 MiB; 0s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 8.0 MiB / 8.3 MiB; 1s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 18.0 MiB / 18.9 MiB; 2s remote-cache ... (4 actions, 0 running) Analyzing: target //:gazelle (236 packages loaded, 6296 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 11.0 MiB / 18.9 MiB; 2s remote-cache ... (4 actions, 0 running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5876 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 7.0 MiB / 8.3 MiB; 1s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net.a, 4.0 MiB / 4.1 MiB; 0s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/reflect.a, 2.7 MiB / 2.9 MiB; 0s remote-cache ... (4 actions, 0 running) [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/go/types.a, 5.0 MiB / 5.9 MiB; 3s remote-cache ... (8 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net.a, 3.2 MiB / 4.1 MiB; 0s remote-cache ... (4 actions, 0 running) Analyzing: target //:gazelle (398 packages loaded, 6295 targets configured) [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 11.0 MiB / 18.9 MiB; 2s remote-cache ... (7 actions, 0 running) [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (8 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 12.0 MiB / 18.9 MiB; 2s remote-cache ... (4 actions, 0 running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured).  checking cached actions INFO: Found 1 target... [0 / 88] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 1s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 10.0 MiB / 18.9 MiB; 1s remote-cache ... (4 actions, 0 running) [87 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 4s remote-cache ... (7 actions, 0 running) INFO: Found 1 target... [0 / 90] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/pprof, 8.0 MiB / 11.8 MiB; 1s remote-cache ... (4 actions, 0 running) [214 / 530] GoCompilePkg external/bazel_gazelle/rule/rule.a; 0s remote-cache ... (2 actions, 0 running) [223 / 530] GoCompilePkg external/bazel_gazelle/label/label.a; Downloading external/bazel_gazelle/label/label.a; 0s remote-cache ... (7 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (4 actions, 0 running) [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 5.0 MiB / 8.3 MiB; 2s remote-cache ... (8 actions, 0 running) [54 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (8 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.821s, Critical Path: 4.52s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 10.0 MiB / 12.2 MiB; 2s remote-cache ... (8 actions, 0 running) [403 / 530] GoCompilePkg external/co_honnef_go_tools/quickfix/qf1002/qf1002.a [for tool]; Downloading external/co_honnef_go_tools/quickfix/qf1002/qf1002.a; 0s remote-cache ... (8 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net.a, 2.9 MiB / 4.1 MiB; 0s remote-cache ... (4 actions, 0 running) INFO: Running command line: bazel-bin/gazelle Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.743s, Critical Path: 5.07s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [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; 0s remote-cache ... (4 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.289s, Critical Path: 4.76s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [40 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (8 actions, 0 running) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache \ --run_under="cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && " \ //tools/tazel:tazel 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: b948f351-2cd5-446c-98aa-0b56cf115539 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_15.3770319311/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. [407 / 530] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa1031/sa1031.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa1031/sa1031.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5904 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: 4548dd32-0712-44fc-bf2a-9dedfcf87cec INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_17.753825365/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 [190 / 530] GoCompilePkg external/co_honnef_go_tools/analysis/code/code.a [for tool]; 0s remote-cache ... (7 actions, 0 running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) INFO: Invocation ID: 3c0971a3-7e48-47fa-af76-e414a7ac4bb8 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_21.855944697/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. [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 12.0 MiB / 18.9 MiB; 1s remote-cache ... (4 actions, 0 running) 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.671s, 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 [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 7.0 MiB / 8.3 MiB; 1s remote-cache ... (4 actions, 0 running) [45 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (8 actions, 0 running) Loading: Loading: Loading: 0 packages loaded INFO: Build option --run_under has changed, discarding analysis cache. Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) [399 / 530] GoCompilePkg external/co_honnef_go_tools/quickfix/qf1008/qf1008.a [for tool]; Downloading external/co_honnef_go_tools/quickfix/qf1008/qf1008.a; 0s remote-cache ... (8 actions, 0 running) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache \ --run_under="cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: 66707015-9a02-4a0d-a97e-b90d17f570fa INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_18.493958061/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Analyzing: target //:gazelle (295 packages loaded, 6319 targets configured) Loading: Loading: Loading: 0 packages loaded INFO: Build option --run_under has changed, discarding analysis cache. Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.245s, Critical Path: 4.31s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle Analyzing: target //:gazelle (171 packages loaded, 5926 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 15.0 MiB / 18.9 MiB; 2s remote-cache ... (4 actions, 0 running) [336 / 530] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa3000/sa3000.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa3000/sa3000.a, 40.0 KiB / 126.3 KiB; 0s remote-cache ... (8 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 30.693s, Critical Path: 4.64s 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.857s, Critical Path: 4.88s 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 (3 packages loaded, 5527 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: 0e18d0b2-b132-40ca-a55c-ce3c18a13ca9 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_16.2970873625/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) Analyzing: target //:gazelle (170 packages loaded, 5918 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5357 targets configured) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5513 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache \ --run_under="cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: 8ad3ea3d-a6cd-4dc1-bffe-f96e47d31b13 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_20.1530988251/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 //:gazelle (170 packages loaded, 5882 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5922 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 (1 packages loaded, 0 targets configured) Analyzing: target //tools/tazel:tazel (46 packages loaded, 7303 targets configured) [31 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/asm, 3.0 MiB / 3.9 MiB; 3s remote-cache ... (8 actions, 0 running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) INFO: Invocation ID: c3807cf2-bbb0-4d4c-ae20-8cbc3d5aa04e INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_15.3067843631/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) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured).  checking cached actions INFO: Found 1 target... [0 / 88] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) Analyzing: target //tools/tazel:tazel (2 packages loaded, 4871 targets configured) Analyzing: target //:gazelle (407 packages loaded, 6249 targets configured) [85 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (7 actions, 0 running) Analyzing: target //tools/tazel:tazel (46 packages loaded, 7303 targets configured) Analyzing: target //tools/tazel:tazel (6 packages loaded, 6785 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5918 targets configured) Analyzing: target //:gazelle (280 packages loaded, 6298 targets configured) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5453 targets configured) Analyzing: target //:gazelle (418 packages loaded, 6509 targets configured) Analyzing: target //:gazelle (418 packages loaded, 6465 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 85] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) Analyzing: target //tools/tazel:tazel (16 packages loaded, 6817 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5857 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured).  checking cached actions INFO: Found 1 target... [0 / 91] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) [445 / 530] GoCompilePkg build/linter/staticcheck/SA3001.a [for tool]; Downloading build/linter/staticcheck/SA3001.a, 127.8 KiB / 137.7 KiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5353 targets configured) Analyzing: target //tools/tazel:tazel (256 packages loaded, 8304 targets configured) [296 / 530] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa5001/sa5001.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa5001/sa5001.a; 0s remote-cache ... (8 actions, 0 running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... Analyzing: target //tools/tazel:tazel (256 packages loaded, 8304 targets configured) Analyzing: target //tools/tazel:tazel (94 packages loaded, 7428 targets configured) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 32.783s, Critical Path: 4.89s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle Analyzing: target //tools/tazel:tazel (2 packages loaded, 5391 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 11.2 MiB / 12.2 MiB; 0s remote-cache ... (4 actions, 0 running) Analyzing: target //:gazelle (410 packages loaded, 6330 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 Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.012s, Critical Path: 5.05s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [0 / 82] [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 / 88] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) Analyzing: target //tools/tazel:tazel (44 packages loaded, 7235 targets configured) Analyzing: target //:gazelle (318 packages loaded, 6267 targets configured) Analyzing: target //tools/tazel:tazel (36 packages loaded, 7202 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 144] [Prepa] BazelWorkspaceStatusAction stable-status.txt bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache \ --run_under="cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: ec29875c-daea-4a90-96a2-9cf27ed2bb1e INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_19.3540252708/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Analyzing: target //tools/tazel:tazel (130 packages loaded, 7507 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: 0cdc3bd4-59fa-4705-b22a-0e97646d3a0e INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_20.2956393326/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) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured).  checking cached actions INFO: Found 1 target... [0 / 6] [Prepa] BazelWorkspaceStatusAction stable-status.txt Loading: Loading: Loading: 0 packages loaded INFO: Build option --run_under has changed, discarding analysis cache. Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) Analyzing: target //tools/tazel:tazel (45 packages loaded, 7270 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) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured).  checking cached actions INFO: Found 1 target... [1,124 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/resource_manager/resource_manager.a; 0s remote-cache ... (8 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net.a, 1.1 MiB / 4.1 MiB; 0s remote-cache ... (4 actions, 0 running) Analyzing: target //tools/tazel:tazel (250 packages loaded, 8112 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 87] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) [1,081 / 1,307] Validating nogo output for @com_github_tikv_pd_client//pkg/circuitbreaker:circuitbreaker; 0s remote-cache ... (8 actions, 0 running) [0 / 90] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 11.0 MiB / 18.9 MiB; 1s remote-cache ... (4 actions, 0 running) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured).  checking cached actions INFO: Found 1 target... [0 / 95] [Prepa] BazelWorkspaceStatusAction stable-status.txt [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 10.0 MiB / 18.9 MiB; 1s remote-cache ... (4 actions, 0 running) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tools/tazel:tazel (239 packages loaded, 7972 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, 9.8 MiB / 12.2 MiB; 1s remote-cache ... (4 actions, 0 running) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5491 targets configured) [1,081 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/encryptionpb/encryptionpb.a; Downloading external/com_github_pingcap_kvproto/pkg/encryptionpb/encryptionpb.a, 1023.9 KiB / 1.2 MiB; 0s remote-cache ... (8 actions, 0 running) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tools/tazel:tazel (2 packages loaded, 5165 targets configured) Analyzing: target //tools/tazel:tazel (250 packages loaded, 8067 targets configured) [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 5.2 MiB / 8.3 MiB; 2s remote-cache ... (3 actions, 0 running) [1,306 / 1,307] [Prepa] GoLink tools/tazel/tazel_/tazel [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/internal/trace/traceviewer.a, 3.0 MiB / 3.4 MiB; 1s remote-cache ... (4 actions, 0 running) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [997 / 1,307] GoCompilePkg external/com_github_golang_protobuf/proto/proto.a; Downloading external/com_github_golang_protobuf/proto/proto.a, 277.2 KiB / 1.0 MiB; 0s remote-cache ... (8 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.346s, Critical Path: 1.89s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 7.0 MiB / 12.2 MiB; 0s remote-cache ... (4 actions, 0 running) [1,277 / 1,307] [Prepa] GoCompilePkg external/com_github_tikv_client_go_v2/txnkv/txnsnapshot/txnsnapshot.a [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (4 actions, 0 running) [0 / 38] [Prepa] BazelWorkspaceStatusAction stable-status.txt [1,035 / 1,307] GoCompilePkg external/com_github_prometheus_client_golang/prometheus/prometheus.a; 0s remote-cache ... (8 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 8.0 MiB / 18.9 MiB; 2s remote-cache ... (4 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.651s, Critical Path: 2.06s 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 (80 packages loaded, 7374 targets configured) [1,266 / 1,307] GoCompilePkg external/com_github_tikv_client_go_v2/internal/locate/locate.a; Downloading external/com_github_tikv_client_go_v2/internal/locate/locate.a; 0s remote-cache ... (2 actions, 0 running) [1,048 / 1,307] GoCompilePkg external/com_github_golang_protobuf/jsonpb/jsonpb.a; Downloading external/com_github_golang_protobuf/jsonpb/jsonpb.a, 335.8 KiB / 496.1 KiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tools/tazel:tazel (45 packages loaded, 7294 targets configured) [40 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (2 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/addr2line, 2.0 MiB / 2.7 MiB; 1s remote-cache ... (4 actions, 0 running) [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 17.0 MiB / 18.9 MiB; 2s remote-cache ... (3 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, 6.5 MiB / 8.3 MiB; 1s remote-cache ... (4 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 7.290s, Critical Path: 2.15s 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 ' [34 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (4 actions, 0 running) [1,246 / 1,307] 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, 663.8 KiB / 1.2 MiB; 0s remote-cache ... (8 actions, 0 running) [1,069 / 1,307] GoCompilePkg external/org_golang_google_grpc/internal/transport/transport.a; 0s remote-cache ... (8 actions, 0 running) [30 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (8 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (4 actions, 0 running) [1,265 / 1,307] [Prepa] GoCompilePkg external/com_github_tikv_client_go_v2/internal/locate/locate.a 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: 9d0494f9-53cf-4ef6-adb0-0bd27d031b5d INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_10_35_15.3770319311/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 [1,286 / 1,307] [Prepa] GoCompilePkg pkg/util/logutil/logutil.a Analyzing: target //tools/tazel:tazel (248 packages loaded, 7814 targets configured) [280 / 530] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa1002/sa1002.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa1002/sa1002.a, 223.8 KiB / 353.4 KiB; 0s remote-cache ... (8 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.414s, Critical Path: 2.06s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Loading: Loading: Loading: 0 packages loaded [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; 2s remote-cache ... (4 actions, 0 running) [46 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (7 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 7.027s, Critical Path: 2.08s 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.403s, Critical Path: 1.85s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (4 actions, 0 running) INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1 packages loaded, 0 targets configured) Analyzing: target //tools/tazel:tazel (256 packages loaded, 8304 targets configured) [288 / 530] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa5003/sa5003.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa5003/sa5003.x; 0s remote-cache ... (8 actions, 0 running) [1,289 / 1,307] [Prepa] GoCompilePkg pkg/util/sqlkiller/sqlkiller.a ... (4 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 32.034s, Critical Path: 5.00s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 4] [Prepa] BazelWorkspaceStatusAction stable-status.txt [275 / 530] GoCompilePkg build/linter/durationcheck/durationcheck.a [for tool]; Downloading build/linter/durationcheck/durationcheck.a; 0s remote-cache ... (8 actions, 0 running) bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/statisticstest/... INFO: Invocation ID: e99203d8-0db0-41bf-b076-4c1044869218 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_10_35_17.753825365/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.477s, Critical Path: 1.58s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' 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: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 37] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1 packages loaded, 0 targets configured) [397 / 530] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa1032/sa1032.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa1032/sa1032.a; 0s remote-cache ... (8 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.857s, Critical Path: 4.50s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [72 / 530] [Prepa] GoCompilePkg external/org_golang_x_tools/internal/astutil/edge/edge.a [for tool] ... (7 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 Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.952s, Critical Path: 4.46s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle INFO: Invocation ID: f2652f36-cd6f-47e4-833f-8d42a2343e74 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_10_35_21.855944697/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 [30 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/pprof, 9.3 MiB / 11.8 MiB; 3s remote-cache ... (8 actions, 0 running) INFO: Invocation ID: 00fbea81-0a0b-40d4-9352-3efd51bcb344 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_32.1561326219/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: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. [27 / 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; 3s remote-cache ... (8 actions, 0 running) [1,077 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/resource_manager/resource_manager.a; Downloading external/com_github_pingcap_kvproto/pkg/resource_manager/resource_manager.a, 2.2 MiB / 2.5 MiB; 0s remote-cache ... (7 actions, 0 running) bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/txntest/... INFO: Invocation ID: 953ea23d-e907-4f6a-b3bd-719e68fe2560 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_10_35_18.493958061/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --verbose_failures --test_verbose_timeout_warnings --test_env=GO_TEST_WRAP_TESTV=1 --experimental_ui_max_stdouterr_bytes=268435456 --test_timeout=150,300,900,3600 --flaky_test_attempts=5 Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.721s, Critical Path: 4.50s 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: 1f3d8dfc-b6d5-493c-9591-d9b0ea63b703 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_32.3443513390/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (310 packages loaded, 4531 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: 812b33dc-7dbc-4d79-aae3-cc35eb89fecb INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_32.1482878992/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 options --define, --run_under, and --test_env have changed, discarding analysis cache. 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) [1,135 / 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) 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: 93f9d2f6-3b8a-4435-abf0-c92f873932d2 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_10_35_16.2970873625/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --verbose_failures --test_verbose_timeout_warnings --test_env=GO_TEST_WRAP_TESTV=1 --experimental_ui_max_stdouterr_bytes=268435456 --test_timeout=150,300,900,3600 --flaky_test_attempts=5 Loading: Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Loading: Loading: 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/txntest:txntest_test (1 packages loaded, 0 targets configured) [429 / 530] GoCompilePkg build/linter/staticcheck/SA5012.a [for tool]; Downloading build/linter/staticcheck/SA5012.a; 0s remote-cache ... (8 actions, 0 running) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache \ --run_under="cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: f6618744-93d7-445d-92a2-793ee3bce785 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_32.2715565958/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 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: a196643f-0149-4751-82fe-de75cc5a5d34 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_10_35_20.1530988251/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. [193 / 530] GoCompilePkg external/bazel_gazelle/label/label.a; Downloading external/bazel_gazelle/label/label.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1 packages loaded, 0 targets configured) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.836s, Critical Path: 5.11s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (150 packages loaded, 5175 targets configured) Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) [300 / 530] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa5000/sa5000.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa5000/sa5000.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1 packages loaded, 0 targets configured) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.128s, 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 //tools/tazel:tazel (2 packages loaded, 5029 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (338 packages loaded, 4509 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (660 packages loaded, 6649 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: 06bb451b-ade7-400c-9819-a3ac6eec643e INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_10_35_15.3067843631/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --verbose_failures --test_verbose_timeout_warnings --test_env=GO_TEST_WRAP_TESTV=1 --experimental_ui_max_stdouterr_bytes=268435456 --test_timeout=150,300,900,3600 --flaky_test_attempts=5 Loading: Loading: Loading: 0 packages loaded INFO: Build options --@io_bazel_rules_go//go/config:cover_format, --define, --run_under, and 1 more have changed, discarding analysis cache. Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.013s, Critical Path: 1.36s 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 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: 6270a57d-de8b-4081-86cd-d35c637978b4 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_32.2447138448/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/brietest:brietest_test (1 packages loaded, 0 targets configured) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.215s, 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 Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) Analyzing: target //tools/tazel:tazel (6 packages loaded, 5772 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (628 packages loaded, 6328 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5192 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (247 packages loaded, 4464 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (319 packages loaded, 4872 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: db8801ef-2444-4fd9-8030-5a33406960b0 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_32.2363595728/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (948 packages loaded, 7807 targets configured) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 32.485s, Critical Path: 5.11s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (226 packages loaded, 5061 targets configured) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5368 targets configured) Loading: Loading: Loading: 0 packages loaded INFO: Build option --run_under has changed, discarding analysis cache. Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache \ --run_under="cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && " \ //tools/tazel:tazel Analyzing: target //tools/tazel:tazel (7 packages loaded, 6769 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (737 packages loaded, 5546 targets configured) INFO: Invocation ID: 91688eb6-af77-43d9-bdcb-280e43f0b1c5 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_10_35_32.3369615583/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Loading: Loading: 0 packages loaded INFO: Build option --run_under has changed, discarding analysis cache. Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) Analyzing: target //tools/tazel:tazel (77 packages loaded, 7317 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/addindextest1/... INFO: Invocation ID: e0f5fc5e-5aeb-44fd-a309-a040b315e01a INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_10_35_20.2956393326/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/statisticstest:statisticstest_test (938 packages loaded, 7267 targets configured) Analyzing: target //tools/tazel:tazel (35 packages loaded, 6914 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (440 packages loaded, 4763 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (745 packages loaded, 7793 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: b65b3174-6666-40fc-9375-a2b6edaa4e0e INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_10_35_19.3540252708/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --verbose_failures --test_verbose_timeout_warnings --test_env=GO_TEST_WRAP_TESTV=1 --experimental_ui_max_stdouterr_bytes=268435456 --test_timeout=150,300,900,3600 --flaky_test_attempts=5 Loading: Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Loading: Loading: 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 (1155 packages loaded, 9760 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (538 packages loaded, 5962 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5421 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1 packages loaded, 0 targets configured) Analyzing: target //tools/tazel:tazel (46 packages loaded, 7303 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (597 packages loaded, 5676 targets configured) Analyzing: target //tools/tazel:tazel (86 packages loaded, 7428 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1016 packages loaded, 7550 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (672 packages loaded, 5813 targets configured) Analyzing: target //tools/tazel:tazel (265 packages loaded, 8374 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1067 packages loaded, 8421 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5315 targets configured) Analyzing: target //tools/tazel:tazel (182 packages loaded, 7740 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1086 packages loaded, 10044 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 //tests/realtikvtest/pessimistictest:pessimistictest_test (1179 packages loaded, 9933 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (908 packages loaded, 7146 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5347 targets configured) Analyzing: target //tools/tazel:tazel (43 packages loaded, 7270 targets configured) Analyzing: target //tools/tazel:tazel (255 packages loaded, 8233 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (876 packages loaded, 8314 targets configured) Analyzing: target //tools/tazel:tazel (273 packages loaded, 8472 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1098 packages loaded, 9356 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (359 packages loaded, 4710 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1101 packages loaded, 10129 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 4] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (293 packages loaded, 4626 targets configured) Analyzing: target //tools/tazel:tazel (46 packages loaded, 7303 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 2] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 122] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/txntest:txntest_test (1202 packages loaded, 10887 targets configured) [1,176 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/raft_serverpb/raft_serverpb.a; Downloading external/com_github_pingcap_kvproto/pkg/raft_serverpb/raft_serverpb.a, 1.6 MiB / 2.2 MiB; 0s remote-cache ... (6 actions, 0 running) Analyzing: target //tests/realtikvtest/brietest:brietest_test (842 packages loaded, 7252 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1026 packages loaded, 8029 targets configured) Analyzing: target //tools/tazel:tazel (46 packages loaded, 7303 targets configured) Analyzing: target //tools/tazel:tazel (251 packages loaded, 8103 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (986 packages loaded, 8843 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1207 packages loaded, 10342 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1324 packages loaded, 11438 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (727 packages loaded, 7237 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 [1,160 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; Downloading external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a, 9.1 MiB / 10.2 MiB; 0s remote-cache ... (5 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (616 packages loaded, 5781 targets configured) [1,114 / 1,307] GoCompilePkg external/io_etcd_go_etcd_client_v3/client.a; 0s remote-cache ... (6 actions, 0 running) Analyzing: target //tools/tazel:tazel (254 packages loaded, 8188 targets configured) [1,119 / 1,307] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; 0s remote-cache ... (8 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.597s, Critical Path: 1.39s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Analyzing: target //tests/realtikvtest/brietest:brietest_test (1121 packages loaded, 9912 targets configured) Analyzing: target //tools/tazel:tazel (251 packages loaded, 8116 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1216 packages loaded, 10881 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1237 packages loaded, 10595 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1303 packages loaded, 11823 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 4] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1339 packages loaded, 11404 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1428 packages loaded, 12196 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1143 packages loaded, 10404 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1134 packages loaded, 9617 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt [1,167 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; Downloading external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a, 9.1 MiB / 10.2 MiB; 0s remote-cache ... (2 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.632s, Critical Path: 1.45s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (965 packages loaded, 7521 targets configured) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.964s, 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/brietest:brietest_test (1199 packages loaded, 10530 targets configured) INFO: Elapsed time: 6.312s, Critical Path: 1.51s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1361 packages loaded, 11955 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1411 packages loaded, 11837 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1428 packages loaded, 12917 targets configured) [1,109 / 1,307] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; 0s remote-cache ... (7 actions, 0 running) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1527 packages loaded, 12782 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1206 packages loaded, 11053 targets configured) ./t/ddl/column_type_change.test: ok! 1285 test cases passed, take time 44.933794294 s Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1255 packages loaded, 10449 targets configured) [1,159 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; Downloading external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a, 1.1 MiB / 10.2 MiB; 0s remote-cache ... (7 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.018s, Critical Path: 1.36s 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 (1074 packages loaded, 9443 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1427 packages loaded, 12179 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1363 packages loaded, 12027 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_output=all --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/pipelineddmltest/... INFO: Invocation ID: 10b509ae-ed6a-46bf-b350-7e2edea20248 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_10_35_32.3443513390/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/pipelineddmltest:pipelineddmltest_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1429 packages loaded, 12930 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1532 packages loaded, 13536 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1319 packages loaded, 11671 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_output=all --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/importintotest3/... INFO: Invocation ID: 78fd2187-6b4b-4155-a296-3ba9d2630947 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_10_35_32.1482878992/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --verbose_failures --test_verbose_timeout_warnings --test_env=GO_TEST_WRAP_TESTV=1 --experimental_ui_max_stdouterr_bytes=268435456 --test_timeout=150,300,900,3600 --flaky_test_attempts=5 Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1397 packages loaded, 11776 targets configured) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_output=all --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/flashbacktest/... INFO: Invocation ID: 8fd34643-9df9-4e40-8b0f-a8b3021baf05 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_10_35_32.1561326219/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/flashbacktest:flashbacktest_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1216 packages loaded, 10212 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/addindextest2:addindextest2_test (1460 packages loaded, 12309 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_output=all --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/importintotest4/... INFO: Invocation ID: 9dfd2484-5df5-40d6-b681-9d78c62dad0f INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_10_35_32.2715565958/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.061s, Critical Path: 1.50s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1494 packages loaded, 12663 targets configured) INFO: Elapsed time: 5.926s, 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 ' Analyzing: target //tests/realtikvtest/brietest:brietest_test (1433 packages loaded, 12944 targets configured) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (156 packages loaded, 5079 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1419 packages loaded, 12721 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1672 packages loaded, 13800 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1499 packages loaded, 13411 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: a49f3db6-1020-4064-ba58-855947f9f69b INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_10_35_32.2447138448/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/importintotest:importintotest_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1616 packages loaded, 14137 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1515 packages loaded, 12948 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1671 packages loaded, 13754 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1462 packages loaded, 12301 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (164 packages loaded, 5145 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1404 packages loaded, 12024 targets configured) ./t/ddl/constraint.test: ok! 440 test cases passed, take time 4.185992813 s 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/... 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: be0362ce-9560-4ee8-a94c-b3bf699388f3 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_10_35_32.3369615583/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/pipelineddmltest:pipelineddmltest_test (379 packages loaded, 6223 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1503 packages loaded, 13523 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1477 packages loaded, 13083 targets configured) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (52 packages loaded, 220 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (273 packages loaded, 5149 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1616 packages loaded, 14134 targets configured) INFO: Invocation ID: 5ec3a375-f53e-4c43-be77-f03b2a002323 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_10_35_32.2363595728/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --verbose_failures --test_verbose_timeout_warnings --test_env=GO_TEST_WRAP_TESTV=1 --experimental_ui_max_stdouterr_bytes=268435456 --test_timeout=150,300,900,3600 --flaky_test_attempts=5 Loading: Loading: Loading: 0 packages loaded Loading: Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. 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/pessimistictest:pessimistictest_test (1672 packages loaded, 13800 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1510 packages loaded, 12993 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (487 packages loaded, 5835 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (346 packages loaded, 4345 targets configured) INFO: Analyzed target //tests/realtikvtest/pessimistictest:pessimistictest_test (1764 packages loaded, 14426 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1448 packages loaded, 12288 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1671 packages loaded, 14468 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1694 packages loaded, 13932 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1672 packages loaded, 13803 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (906 packages loaded, 7333 targets configured) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (423 packages loaded, 5546 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (698 packages loaded, 6928 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1751 packages loaded, 14889 targets configured) INFO: Analyzed target //tests/realtikvtest/txntest:txntest_test (1763 packages loaded, 15093 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: Analyzed target //tests/realtikvtest/statisticstest:statisticstest_test (1763 packages loaded, 15090 targets configured). INFO: Found 1 test target... Analyzing: target //tests/realtikvtest/brietest:brietest_test (1618 packages loaded, 14148 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1509 packages loaded, 13654 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1670 packages loaded, 13738 targets configured) [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (736 packages loaded, 7374 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (681 packages loaded, 5931 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1509 packages loaded, 12986 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1786 packages loaded, 14488 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (224 packages loaded, 4956 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (257 packages loaded, 4597 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1013 packages loaded, 9441 targets configured) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (607 packages loaded, 6651 targets configured) INFO: Analyzed target //tests/realtikvtest/addindextest2:addindextest2_test (1786 packages loaded, 14559 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1084 packages loaded, 9468 targets configured) INFO: Analyzed target //tests/realtikvtest/addindextest3:addindextest3_test (1764 packages loaded, 14429 targets configured).  checking cached actions INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/brietest:brietest_test (1673 packages loaded, 14479 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1671 packages loaded, 14467 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1051 packages loaded, 8382 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (961 packages loaded, 8151 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1616 packages loaded, 13468 targets configured) [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 9.0 MiB / 18.9 MiB; 0s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (610 packages loaded, 5708 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (625 packages loaded, 5781 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1188 packages loaded, 10838 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1154 packages loaded, 9975 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1672 packages loaded, 13806 targets configured) INFO: Analyzed target //tests/realtikvtest/addindextest:addindextest_test (1764 packages loaded, 14432 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: Analyzed target //tests/realtikvtest/brietest:brietest_test (1765 packages loaded, 15107 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [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, 18.9 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (839 packages loaded, 7590 targets configured) [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 1s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1075 packages loaded, 9551 targets configured) [23 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1064 packages loaded, 8204 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1671 packages loaded, 14467 targets configured) [30 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 18.5 MiB / 18.9 MiB; 2s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1267 packages loaded, 11183 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/vendor/golang.org/x/net/idna.a, 181.4 KiB / 373.5 KiB; 1s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1083 packages loaded, 9897 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (850 packages loaded, 7727 targets configured) [16 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 7.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1226 packages loaded, 11046 targets configured) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (877 packages loaded, 9185 targets configured) INFO: Analyzed target //tests/realtikvtest/sessiontest:sessiontest_test (1763 packages loaded, 15092 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [32 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 2.0 MiB / 18.9 MiB; 2s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1671 packages loaded, 13799 targets configured) [21 / 4,582] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64_race/net.a, 2.0 MiB / 4.7 MiB; 0s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1192 packages loaded, 10231 targets configured) [346 / 4,571] GoCompilePkg external/org_golang_google_protobuf/internal/filedesc/filedesc.a; 0s remote-cache ... (8 actions, 0 running) INFO: Analyzed target //tests/realtikvtest/addindextest1:addindextest1_test (1763 packages loaded, 14424 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1180 packages loaded, 10773 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1187 packages loaded, 10739 targets configured) [303 / 4,573] GoCompilePkg external/co_honnef_go_tools/stylecheck/st1021/st1021.a [for tool]; Downloading external/co_honnef_go_tools/stylecheck/st1021/st1021.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (981 packages loaded, 9044 targets configured) [80 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1414 packages loaded, 12636 targets configured) [16 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/text/template.a, 1023.8 KiB / 1.4 MiB; 1s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1200 packages loaded, 10952 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1415 packages loaded, 12590 targets configured) [17 / 4,637] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (8 actions, 0 running) [246 / 4,573] GoCompilePkg external/org_golang_x_text/encoding/traditionalchinese/traditionalchinese.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1292 packages loaded, 11537 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1286 packages loaded, 10624 targets configured) [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 11.0 MiB / 12.2 MiB; 1s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1296 packages loaded, 11675 targets configured) [604 / 4,573] GoCompilePkg external/com_github_azuread_microsoft_authentication_library_for_go/apps/internal/oauth/ops/authority/authority.a; Downloading external/com_github_azuread_microsoft_authentication_library_for_go/apps/internal/oauth/ops/authority/authority.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1132 packages loaded, 10266 targets configured) [345 / 4,571] GoCompilePkg external/org_golang_google_protobuf/internal/filedesc/filedesc.a; 0s remote-cache ... (7 actions, 0 running) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1469 packages loaded, 13421 targets configured) [22 / 4,582] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (7 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1319 packages loaded, 11607 targets configured) [629 / 4,571] GoCompilePkg external/com_github_prometheus_client_golang/prometheus/prometheus.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1467 packages loaded, 13189 targets configured) [16 / 4,568] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 8.0 MiB / 8.3 MiB; 1s remote-cache ... (3 actions, 0 running) [262 / 4,637] GoCompilePkg external/com_github_gogo_protobuf/proto/proto.a; Downloading external/com_github_gogo_protobuf/proto/proto.a, 5.0 MiB / 5.3 MiB; 0s remote-cache ... (8 actions, 0 running) [493 / 4,573] GoCompilePkg pkg/parser/parser.a; 0s remote-cache ... (8 actions, 0 running) [17 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1425 packages loaded, 12835 targets configured) [856 / 4,573] GoCompilePkg external/com_github_gogo_protobuf/types/types.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1438 packages loaded, 12812 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1280 packages loaded, 11605 targets configured) [734 / 4,571] GoCompilePkg external/com_github_uber_jaeger_client_go/config/config.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1620 packages loaded, 14140 targets configured) [268 / 4,582] GoCompilePkg external/org_golang_google_protobuf/types/known/fieldmaskpb/fieldmaskpb.a; Downloading external/org_golang_google_protobuf/types/known/fieldmaskpb/fieldmaskpb.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1417 packages loaded, 11970 targets configured) [25 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (7 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1384 packages loaded, 12136 targets configured) [950 / 4,571] GoCompilePkg external/io_opentelemetry_go_otel/semconv/v1.20.0/v1_20_0.a; Downloading external/io_opentelemetry_go_otel/semconv/v1.20.0/v1_20_0.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1521 packages loaded, 13676 targets configured) [17 / 4,568] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 8.0 MiB / 8.3 MiB; 2s remote-cache ... (8 actions, 0 running) [666 / 4,637] GoCompilePkg external/com_github_goccy_go_json/internal/decoder/decoder.a; 0s remote-cache ... (8 actions, 0 running) [831 / 4,573] GoCompilePkg external/org_golang_x_text/language/language.a; 0s remote-cache ... (7 actions, 0 running) [310 / 4,571] GoCompilePkg external/com_github_tklauser_go_sysconf/go-sysconf.a; Downloading external/com_github_tklauser_go_sysconf/go-sysconf.x; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1448 packages loaded, 12954 targets configured) [1,172 / 4,573] GoCompilePkg external/io_opencensus_go/plugin/ochttp/propagation/b3/b3.a; Downloading external/io_opencensus_go/plugin/ochttp/propagation/b3/b3.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1514 packages loaded, 13438 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1418 packages loaded, 12622 targets configured) [1,050 / 4,571] GoCompilePkg external/com_github_pingcap_tipb/go-tipb/go-tipb.a; Downloading external/com_github_pingcap_tipb/go-tipb/go-tipb.a, 4.4 MiB / 8.8 MiB; 0s remote-cache ... (8 actions, 0 running) [608 / 4,582] GoCompilePkg external/com_github_azure_azure_sdk_for_go_sdk_storage_azblob/blob/blob.a; Downloading external/com_github_azure_azure_sdk_for_go_sdk_storage_azblob/blob/blob.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1463 packages loaded, 12409 targets configured) [452 / 4,573] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa5011/sa5011.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa5011/sa5011.x; 0s remote-cache ... (7 actions, 0 running) [1,213 / 4,571] GoCompilePkg pkg/parser/ast/ast.a; Downloading pkg/parser/ast/ast.a; 0s remote-cache ... (8 actions, 0 running) ./t/ddl/db.test: ok! 288 test cases passed, take time 8.067997471 s [1,003 / 4,637] GoCompilePkg pkg/executor/join/joinversion/joinversion.a; Downloading pkg/executor/join/joinversion/joinversion.a; 0s remote-cache ... (8 actions, 0 running) [1,139 / 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, 20.6 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1500 packages loaded, 13289 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1694 packages loaded, 14601 targets configured) [343 / 4,568] GoCompilePkg external/org_golang_google_protobuf/encoding/prototext/prototext.a; Downloading external/org_golang_google_protobuf/encoding/prototext/prototext.a; 0s remote-cache ... (8 actions, 0 running) ./t/ddl/db_cache.test: ok! 50 test cases passed, take time 0.613132999 s [1,414 / 4,573] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1524 packages loaded, 13679 targets configured) [696 / 4,571] GoCompilePkg pkg/parser/ast/ast.a; 0s remote-cache ... (7 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1509 packages loaded, 12986 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1671 packages loaded, 14465 targets configured) [882 / 4,573] GoCompilePkg pkg/parser/ast/ast.a; 0s remote-cache ... (8 actions, 0 running) [1,345 / 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, 37.0 MiB / 71.4 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1616 packages loaded, 14134 targets configured) ./t/ddl/db_change.test: ok! 33 test cases passed, take time 0.54351817 s Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1489 packages loaded, 13123 targets configured) [1,203 / 4,571] GoCompilePkg external/io_k8s_api/core/v1/core.a; Downloading external/io_k8s_api/core/v1/core.a, 13.1 MiB / 21.1 MiB; 0s remote-cache ... (8 actions, 0 running) [919 / 4,582] GoCompilePkg external/io_k8s_api/core/v1/core.a; Downloading external/io_k8s_api/core/v1/core.a, 10.0 MiB / 25.4 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1638 packages loaded, 14267 targets configured) INFO: Analyzed target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1763 packages loaded, 15090 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [782 / 4,568] GoCompilePkg external/com_github_google_flatbuffers/go/go.a; Downloading external/com_github_google_flatbuffers/go/go.a; 0s remote-cache ... (7 actions, 0 running) [1,295 / 4,637] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ssooidc/ssooidc.a; Downloading external/com_github_aws_aws_sdk_go/service/ssooidc/ssooidc.a, 447.8 KiB / 912.5 KiB; 0s remote-cache ... (8 actions, 0 running) [1,283 / 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, 11.6 MiB / 15.7 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1738 packages loaded, 14795 targets configured) ./t/ddl/db_foreign_key.test: ok! 20 test cases passed, take time 0.292362179 s [1,011 / 4,571] GoCompilePkg external/com_github_apache_arrow_go_v12/parquet/internal/gen-go/parquet/parquet.a; Downloading external/com_github_apache_arrow_go_v12/parquet/internal/gen-go/parquet/parquet.a, 2.8 MiB / 3.5 MiB; 0s remote-cache ... (8 actions, 0 running) [1,194 / 4,573] GoCompilePkg external/io_k8s_apimachinery/pkg/apis/meta/v1/meta.a; 0s remote-cache ... (8 actions, 0 running) INFO: Analyzed target //tests/realtikvtest/importintotest4:importintotest4_test (1786 packages loaded, 15228 targets configured).  checking cached actions INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [1,468 / 4,571] GoCompilePkg external/com_google_cloud_go_kms/apiv1/apiv1.a; Downloading external/com_google_cloud_go_kms/apiv1/apiv1.a, 2.0 MiB / 2.8 MiB; 0s remote-cache ... (5 actions, 0 running) [1,912 / 4,573] GoCompilePkg external/com_github_pingcap_kvproto/pkg/tikvpb/tikvpb.a; Downloading external/com_github_pingcap_kvproto/pkg/tikvpb/tikvpb.a, 3.0 MiB / 5.0 MiB; 0s remote-cache ... (8 actions, 0 running) [1,606 / 4,571] GoCompilePkg external/com_github_tikv_client_go_v2/internal/mockstore/mocktikv/mocktikv.a; Downloading external/com_github_tikv_client_go_v2/internal/mockstore/mocktikv/mocktikv.a, 1.3 MiB / 2.7 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1638 packages loaded, 14267 targets configured) [1,114 / 4,582] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; Downloading external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1671 packages loaded, 13799 targets configured) [1,137 / 4,568] GoCompilePkg external/com_github_cockroachdb_pebble/vfs/vfs.a; Downloading external/com_github_cockroachdb_pebble/vfs/vfs.a, 1023.9 KiB / 1.9 MiB; 0s remote-cache ... (8 actions, 0 running) [1,371 / 4,637] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 50.0 MiB / 71.4 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1671 packages loaded, 14465 targets configured) [1,444 / 4,573] GoCompilePkg external/com_google_cloud_go_kms/apiv1/apiv1.a; 0s remote-cache ... (8 actions, 0 running) [1,281 / 4,571] GoCompilePkg external/io_k8s_api/core/v1/core.a; Downloading external/io_k8s_api/core/v1/core.a, 3.0 MiB / 21.1 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1693 packages loaded, 14598 targets configured) [1,607 / 4,573] GoCompilePkg external/com_github_cockroachdb_pebble/vfs/vfs.a; 0s remote-cache ... (8 actions, 0 running) [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64_race/net/http.a, 7.0 MiB / 9.3 MiB; 0s remote-cache ... (3 actions, 0 running) [3,413 / 4,573] Running nogo on @com_github_cockroachdb_pebble//objstorage/objstorageprovider/objiotracing:objiotracing; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1738 packages loaded, 14795 targets configured) [2,355 / 4,571] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 0s remote-cache ... (7 actions, 0 running) [1,216 / 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, 25.4 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [2,711 / 4,571] Running nogo on @org_golang_google_grpc//internal/transport/networktype:networktype; Downloading external/org_golang_google_grpc/internal/transport/networktype/networktype.facts; 0s remote-cache ... (8 actions, 0 running) [1,310 / 4,568] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 0s remote-cache ... (8 actions, 0 running) [1,572 / 4,637] GoCompilePkg external/com_github_aws_aws_sdk_go/service/s3/s3.a; Downloading external/com_github_aws_aws_sdk_go/service/s3/s3.a, 11.1 MiB / 14.2 MiB; 0s remote-cache ... (7 actions, 0 running) INFO: Analyzed target //tests/realtikvtest/flashbacktest:flashbacktest_test (1763 packages loaded, 15090 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [2,315 / 4,573] GoCompilePkg pkg/types/types.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1693 packages loaded, 14598 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1671 packages loaded, 13799 targets configured) INFO: Analyzed target //tests/realtikvtest/importintotest:importintotest_test (1822 packages loaded, 15379 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [1,368 / 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, 52.0 MiB / 71.4 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1693 packages loaded, 14598 targets configured) [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 1s remote-cache ... (3 actions, 0 running) [22 / 4,642] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 2.0 MiB / 8.3 MiB; 1s remote-cache ... (7 actions, 0 running) [4,009 / 4,573] GoCompilePkg pkg/planner/util/debugtrace/debugtrace.a; Downloading pkg/planner/util/debugtrace/debugtrace.a; 0s remote-cache ... (7 actions, 0 running) [3,563 / 4,571] Running nogo on @com_github_tikv_client_go_v2//rawkv:rawkv; Downloading external/com_github_tikv_client_go_v2/rawkv/rawkv.facts; 0s remote-cache ... (7 actions, 0 running) [1,420 / 4,582] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2iface/ec2iface.a; 0s remote-cache ... (8 actions, 0 running) [1,752 / 4,573] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 0s remote-cache ... (8 actions, 0 running) [3,822 / 4,571] GoCompilePkg pkg/util/topsql/topsql.a; 0s remote-cache ... (8 actions, 0 running) INFO: Analyzed target //tests/realtikvtest/addindextest4:addindextest4_test (1763 packages loaded, 14424 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [1,593 / 4,568] GoCompilePkg external/com_github_tikv_pd_client/http/http.a; 0s remote-cache ... (5 actions, 0 running) [2,867 / 4,637] GoCompilePkg pkg/domain/metrics/metrics.a; Downloading pkg/domain/metrics/metrics.x; 0s remote-cache ... (7 actions, 0 running) [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64_race/runtime.a, 11.2 MiB / 12.4 MiB; 0s remote-cache ... (3 actions, 0 running) [3,678 / 4,573] GoCompilePkg pkg/util/memoryusagealarm/memoryusagealarm.a; Downloading pkg/util/memoryusagealarm/memoryusagealarm.a, 651.4 KiB / 966.8 KiB; 0s remote-cache ... (7 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1785 packages loaded, 15178 targets configured) INFO: Analyzed target //tests/realtikvtest/importintotest2:importintotest2_test (1785 packages loaded, 15224 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [1,745 / 4,571] GoCompilePkg external/com_github_cockroachdb_pebble/pebble.a; 0s remote-cache ... (7 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1785 packages loaded, 15224 targets configured) INFO: Analyzed target //tests/realtikvtest/importintotest3:importintotest3_test (1785 packages loaded, 15224 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [236 / 4,573] GoCompilePkg external/org_golang_google_protobuf/internal/filedesc/filedesc.a; Downloading external/org_golang_google_protobuf/internal/filedesc/filedesc.a, 2.1 MiB / 2.5 MiB; 0s remote-cache ... (8 actions, 0 running) [101 / 4,642] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (8 actions, 0 running) [4,014 / 4,571] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 77.0 MiB / 94.8 MiB; 0s remote-cache ... (3 actions, 0 running) [2,174 / 4,582] GoCompilePkg pkg/util/hint/hint.a; Downloading pkg/util/hint/hint.a; 0s remote-cache ... (8 actions, 0 running) [2,389 / 4,573] GoCompilePkg external/com_github_tikv_client_go_v2/internal/unionstore/art/art.a; 0s remote-cache ... (8 actions, 0 running) [3,236 / 4,568] GoCompilePkg pkg/util/logutil/logutil.a; Downloading pkg/util/logutil/logutil.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/compile, 15.7 MiB / 18.9 MiB; 1s remote-cache ... (8 actions, 0 running) [3,942 / 4,637] [Prepa] GoCompilePkg pkg/util/generatedexpr/generatedexpr.a ... (7 actions, 0 running) [4,077 / 4,573] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 60.0 MiB / 108.6 MiB; 0s remote-cache ... (2 actions, 0 running) [4,079 / 4,573] [Prepa] Running nogo on //pkg/executor/internal/vecgroupchecker:vecgroupchecker ... (6 actions, 0 running) [4,074 / 4,571] [Prepa] GoCompilePkg pkg/executor/internal/vecgroupchecker/vecgroupchecker.a ... (7 actions, 0 running) [3,176 / 4,571] Running nogo on @com_github_google_s2a_go//internal/record:record; Downloading external/com_github_google_s2a_go/internal/record/record.facts; 0s remote-cache ... (8 actions, 0 running) [21 / 4,750] 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) [16 / 4,568] 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) [356 / 4,642] GoCompilePkg external/org_golang_google_grpc/encoding/gzip/gzip.a; Downloading external/org_golang_google_grpc/encoding/gzip/gzip.a, 52.1 KiB / 180.8 KiB; 0s remote-cache ... (8 actions, 0 running) [4,099 / 4,571] GoCompilePkg pkg/table/tables/tables.a; Downloading pkg/table/tables/tables.a, 1.0 MiB / 4.4 MiB; 0s remote-cache ... (8 actions, 0 running) [3,637 / 4,573] GoCompilePkg external/com_github_tikv_client_go_v2/txnkv/txnsnapshot/txnsnapshot.a; Downloading external/com_github_tikv_client_go_v2/txnkv/txnsnapshot/txnsnapshot.a, 1023.9 KiB / 1.9 MiB; 0s remote-cache ... (2 actions, 0 running) [3,694 / 4,582] GoCompilePkg pkg/timer/api/api.a; Downloading pkg/timer/api/api.a; 0s remote-cache ... (8 actions, 0 running) [484 / 4,573] GoCompilePkg external/com_github_prometheus_client_golang/prometheus/prometheus.a; Downloading external/com_github_prometheus_client_golang/prometheus/prometheus.a, 1.4 MiB / 3.2 MiB; 0s remote-cache ... (8 actions, 0 running) [4,229 / 4,573] [Prepa] GoCompilePkg pkg/infoschema/infoschema.a [21 / 4,639] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 11.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [21 / 4,750] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (3 actions, 0 running) [21 / 4,639] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 14.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [646 / 4,642] GoCompilePkg pkg/parser/ast/ast.a; Downloading pkg/parser/ast/ast.a, 7.0 MiB / 9.3 MiB; 0s remote-cache ... (8 actions, 0 running) [3,953 / 4,568] GoCompilePkg pkg/util/topsql/reporter/reporter.a; Downloading pkg/util/topsql/reporter/reporter.a; 0s remote-cache ... (3 actions, 0 running) [172 / 4,573] GoCompilePkg external/com_github_modern_go_reflect2/reflect2.a; Downloading external/com_github_modern_go_reflect2/reflect2.a, 3.0 MiB / 3.4 MiB; 0s remote-cache ... (8 actions, 0 running) [4,130 / 4,637] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 22.0 MiB / 94.8 MiB; 0s remote-cache ... (4 actions, 0 running) [4,079 / 4,573] [Prepa] GoCompilePkg pkg/session/types/types.a ... (7 actions, 0 running) [4,221 / 4,571] [Prepa] GoCompilePkg pkg/infoschema/internal/internal.a [3,900 / 4,573] GoCompilePkg pkg/util/stmtsummary/v2/stmtsummary.a; Downloading pkg/util/stmtsummary/v2/stmtsummary.a, 663.8 KiB / 2.0 MiB; 0s remote-cache ... (8 actions, 0 running) [3,642 / 4,571] [Prepa] GoCompilePkg external/com_github_tikv_client_go_v2/txnkv/txnkv.a ... (4 actions, 0 running) [770 / 4,573] GoCompilePkg external/co_honnef_go_tools/go/ir/ir.a [for tool]; Downloading external/co_honnef_go_tools/go/ir/ir.a, 2.0 MiB / 6.2 MiB; 0s remote-cache ... (8 actions, 0 running) [4,394 / 4,573] [Prepa] GoCompilePkg pkg/ddl/ingest/ingest.a [4,308 / 4,571] GoCompilePkg pkg/lightning/mydump/mydump.a; 0s remote-cache ... (6 actions, 0 running) [22 / 4,639] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (8 actions, 0 running) [4,078 / 4,582] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 88.9 MiB / 108.6 MiB; 0s remote-cache [178 / 4,750] GoCompilePkg external/io_k8s_apimachinery/pkg/runtime/schema/schema.a; Downloading external/io_k8s_apimachinery/pkg/runtime/schema/schema.a; 0s remote-cache ... (8 actions, 0 running) [26 / 4,639] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64_race/net/http.a, 8.6 MiB / 9.3 MiB; 2s remote-cache ... (8 actions, 0 running) [17 / 4,568] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (7 actions, 0 running) [502 / 4,573] GoCompilePkg external/com_github_klauspost_compress/internal/snapref/snapref.a; 0s remote-cache ... (8 actions, 0 running) [4,270 / 4,573] GoCompilePkg pkg/privilege/privileges/privileges.a; 0s remote-cache ... (8 actions, 0 running) [4,137 / 4,637] [Prepa] GoCompilePkg pkg/executor/internal/vecgroupchecker/vecgroupchecker.a ... (8 actions, 0 running) [4,392 / 4,571] [Prepa] GoCompilePkg pkg/ddl/ddl.a [3,983 / 4,571] GoCompilePkg pkg/util/password-validation/password-validation.a; 0s remote-cache ... (6 actions, 0 running) [959 / 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, 76.2 MiB / 77.2 MiB; 0s remote-cache ... (7 actions, 0 running) [836 / 4,642] GoCompilePkg external/com_github_spf13_pflag/pflag.a; Downloading external/com_github_spf13_pflag/pflag.a, 615.8 KiB / 2.8 MiB; 0s remote-cache ... (8 actions, 0 running) [4,074 / 4,568] [Prepa] GoCompilePkg pkg/session/types/types.a ... (8 actions, 0 running) [4,434 / 4,573] GoCompilePkg pkg/plugin/plugin.a; 0s remote-cache ... (8 actions, 0 running) [4,419 / 4,571] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; Downloading pkg/planner/util/domainmisc/domainmisc.a, 8.5 MiB / 10.0 MiB; 0s remote-cache ... (8 actions, 0 running) [343 / 4,639] GoCompilePkg external/com_github_golangci_misspell/misspell.a [for tool]; Downloading external/com_github_golangci_misspell/misspell.a, 3.0 MiB / 5.6 MiB; 0s remote-cache ... (8 actions, 0 running) [519 / 4,750] GoCompilePkg external/org_golang_x_text/encoding/traditionalchinese/traditionalchinese.a; Downloading external/org_golang_x_text/encoding/traditionalchinese/traditionalchinese.a, 31.8 KiB / 282.0 KiB; 0s remote-cache ... (7 actions, 0 running) [356 / 4,568] GoCompilePkg external/com_github_golangci_misspell/misspell.a [for tool]; 0s remote-cache ... (7 actions, 0 running) [856 / 4,573] GoCompilePkg external/org_golang_x_oauth2/google/externalaccount/externalaccount.a; Downloading external/org_golang_x_oauth2/google/externalaccount/externalaccount.a, 162.1 KiB / 681.9 KiB; 0s remote-cache ... (8 actions, 0 running) [4,299 / 4,637] GoCompilePkg pkg/util/dbutil/dbutil.a; 0s remote-cache ... (8 actions, 0 running) [4,180 / 4,582] GoCompilePkg pkg/store/mockstore/mockcopr/mockcopr.a; Downloading pkg/store/mockstore/mockcopr/mockcopr.a, 1.9 MiB / 2.5 MiB; 0s remote-cache ... (8 actions, 0 running) [4,430 / 4,571] GoCompilePkg pkg/extension/extensionimpl/extensionimpl.a; Downloading pkg/extension/extensionimpl/extensionimpl.a, 10.0 MiB / 10.1 MiB; 0s remote-cache ... (8 actions, 0 running) [4,079 / 4,573] [Prepa] GoCompilePkg pkg/session/types/types.a ... (6 actions, 0 running) [257 / 4,639] GoCompilePkg external/org_golang_x_net/http2/http2.a; 0s remote-cache ... (8 actions, 0 running) [1,205 / 4,573] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa5010/sa5010.a [for tool]; 0s remote-cache ... (8 actions, 0 running) [1,063 / 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, 53.7 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [4,293 / 4,568] GoCompilePkg pkg/privilege/privileges/privileges.a; Downloading pkg/privilege/privileges/privileges.a, 8.2 MiB / 8.5 MiB; 0s remote-cache ... (8 actions, 0 running) [4,400 / 4,573] [Prepa] GoCompilePkg pkg/ddl/schematracker/schematracker.a ... (6 actions, 0 running) [4,505 / 4,571] GoCompilePkg pkg/planner/core/core.a; Downloading pkg/planner/core/core.a, 6.0 MiB / 46.0 MiB; 0s remote-cache ... (3 actions, 0 running) [4,073 / 4,571] GoCompilePkg pkg/expression/expression.a; 1s remote-cache [598 / 4,568] GoCompilePkg external/com_github_klauspost_compress/zstd/zstd.a; Downloading external/com_github_klauspost_compress/zstd/zstd.a, 2.0 MiB / 2.5 MiB; 0s remote-cache ... (8 actions, 0 running) [1,057 / 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, 33.2 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [4,455 / 4,637] [Prepa] GoCompilePkg pkg/ddl/ddl.a [4,505 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 0s remote-cache ... (5 actions, 0 running) [644 / 4,639] GoCompilePkg pkg/parser/parser.a; Downloading pkg/parser/parser.a, 10.0 MiB / 13.1 MiB; 0s remote-cache ... (8 actions, 0 running) [4,323 / 4,582] GoCompilePkg pkg/statistics/handle/usage/predicatecolumn/predicatecolumn.a; Downloading pkg/statistics/handle/usage/predicatecolumn/predicatecolumn.a, 479.8 KiB / 621.7 KiB; 0s remote-cache ... (8 actions, 0 running) [4,505 / 4,571] GoCompilePkg pkg/planner/core/core.a; Downloading pkg/planner/core/core.a, 8.4 MiB / 46.0 MiB; 0s remote-cache ... (3 actions, 0 running) [4,230 / 4,573] GoCompilePkg pkg/infoschema/infoschema.a; Downloading pkg/infoschema/infoschema.a; 0s remote-cache ... (2 actions, 0 running) [525 / 4,639] GoCompilePkg external/com_github_json_iterator_go/go.a; Downloading external/com_github_json_iterator_go/go.a, 1023.9 KiB / 4.1 MiB; 0s remote-cache ... (8 actions, 0 running) [1,461 / 4,573] GoCompilePkg external/com_github_pingcap_kvproto/pkg/brpb/brpb.a; Downloading external/com_github_pingcap_kvproto/pkg/brpb/brpb.a, 3.3 MiB / 6.7 MiB; 0s remote-cache ... (5 actions, 0 running) [774 / 4,750] GoCompilePkg external/io_k8s_apimachinery/pkg/apis/meta/v1/meta.a; Downloading external/io_k8s_apimachinery/pkg/apis/meta/v1/meta.a, 1023.9 KiB / 6.4 MiB; 0s remote-cache ... (8 actions, 0 running) [1,239 / 4,642] 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.5 MiB / 13.4 MiB; 0s remote-cache ... (8 actions, 0 running) [4,429 / 4,573] GoCompilePkg pkg/executor/internal/exec/exec.a; 0s remote-cache ... (6 actions, 0 running) [4,217 / 4,571] GoCompilePkg pkg/store/mockstore/unistore/unistore.a; Downloading pkg/store/mockstore/unistore/unistore.a; 0s remote-cache [4,395 / 4,568] [Prepa] GoCompilePkg pkg/infoschema/perfschema/perfschema.a ... (6 actions, 0 running) [821 / 4,568] GoCompilePkg external/com_github_apache_thrift/lib/go/thrift/thrift.a; Downloading external/com_github_apache_thrift/lib/go/thrift/thrift.a, 4.0 MiB / 4.4 MiB; 0s remote-cache ... (8 actions, 0 running) [1,237 / 4,573] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 1s remote-cache ... (7 actions, 0 running) [4,527 / 4,573] GoCompilePkg br/pkg/restore/log_client/log_client.a; Downloading br/pkg/restore/log_client/log_client.a, 16.0 MiB / 17.7 MiB; 0s remote-cache ... (7 actions, 0 running) [4,521 / 4,571] GoCompilePkg br/pkg/task/task.a; Downloading br/pkg/task/task.a, 13.5 MiB / 15.3 MiB; 0s remote-cache ... (8 actions, 0 running) [893 / 4,639] GoCompilePkg external/io_k8s_apimachinery/pkg/apis/meta/v1/meta.a; Downloading external/io_k8s_apimachinery/pkg/apis/meta/v1/meta.a, 2.0 MiB / 6.4 MiB; 0s remote-cache ... (8 actions, 0 running) [4,393 / 4,573] GoCompilePkg pkg/lightning/backend/local/local.a; Downloading pkg/lightning/backend/local/local.a, 3.0 MiB / 6.7 MiB; 0s remote-cache [747 / 4,639] GoCompilePkg pkg/parser/ast/ast.a; Downloading pkg/parser/ast/ast.a, 7.0 MiB / 9.3 MiB; 0s remote-cache ... (8 actions, 0 running) [2,845 / 4,573] 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; 0s remote-cache ... (8 actions, 0 running) [1,469 / 4,642] GoCompilePkg external/org_golang_google_api/storage/v1/storage.a; Downloading external/org_golang_google_api/storage/v1/storage.a, 3.1 MiB / 5.1 MiB; 0s remote-cache ... (8 actions, 0 running) [974 / 4,750] GoCompilePkg external/org_golang_x_tools/go/packages/packages.a [for tool]; 0s remote-cache ... (8 actions, 0 running) [4,471 / 4,637] GoCompilePkg pkg/plugin/plugin.a; Downloading pkg/plugin/plugin.a; 0s remote-cache ... (8 actions, 0 running) [4,525 / 4,571] GoCompilePkg br/pkg/task/task.a; Downloading br/pkg/task/task.a, 11.2 MiB / 15.3 MiB; 0s remote-cache ... (8 actions, 0 running) [4,400 / 4,582] [Prepa] GoCompilePkg pkg/resourcegroup/runaway/runaway.a ... (5 actions, 0 running) [4,359 / 4,571] GoCompilePkg pkg/statistics/handle/usage/usage.a; Downloading pkg/statistics/handle/usage/usage.a, 1023.9 KiB / 1.2 MiB; 0s remote-cache ... (7 actions, 0 running) [4,435 / 4,568] GoCompilePkg br/pkg/glue/glue.a; Downloading br/pkg/glue/glue.a, 10.0 MiB / 10.7 MiB; 0s remote-cache ... (8 actions, 0 running) [4,510 / 4,573] GoCompilePkg pkg/planner/core/core.a; Downloading pkg/planner/core/core.a, 10.7 MiB / 53.0 MiB; 0s remote-cache ... (3 actions, 0 running) [1,014 / 4,568] GoCompilePkg external/com_github_pingcap_tipb/go-tipb/go-tipb.a; Downloading external/com_github_pingcap_tipb/go-tipb/go-tipb.a, 5.1 MiB / 8.8 MiB; 0s remote-cache ... (8 actions, 0 running) [4,542 / 4,571] [Prepa] GoCompilePkg pkg/session/session.a [1,085 / 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, 40.0 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [960 / 4,639] GoCompilePkg external/io_k8s_api/core/v1/core.a; Downloading external/io_k8s_api/core/v1/core.a, 15.8 MiB / 25.4 MiB; 0s remote-cache ... (8 actions, 0 running) [2,558 / 4,642] GoCompilePkg pkg/store/mockstore/unistore/client/client.a; 0s remote-cache ... (5 actions, 0 running) [1,193 / 4,750] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 35.1 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [1,467 / 4,573] GoLink build/tidb_nogo_actual_/tidb_nogo_actual [for tool]; 0s remote-cache ... (5 actions, 0 running) [4,549 / 4,637] GoCompilePkg br/pkg/stream/stream.a; Downloading br/pkg/stream/stream.a, 7.1 MiB / 12.7 MiB; 0s remote-cache ... (7 actions, 0 running) [4,546 / 4,573] GoCompilePkg pkg/executor/executor.a; 0s remote-cache [4,542 / 4,571] [Prepa] GoCompilePkg pkg/session/session.a [4,447 / 4,582] GoCompilePkg br/pkg/checkpoint/checkpoint.a; Downloading br/pkg/checkpoint/checkpoint.a, 4.1 MiB / 14.0 MiB; 0s remote-cache ... (8 actions, 0 running) [4,413 / 4,573] GoCompilePkg pkg/extension/extensionimpl/extensionimpl.a; Downloading pkg/extension/extensionimpl/extensionimpl.a; 0s remote-cache ... (8 actions, 0 running) [3,794 / 4,573] [Prepa] GoCompilePkg pkg/util/timeutil/timeutil.a ... (8 actions, 0 running) [4,511 / 4,568] GoCompilePkg pkg/planner/core/core.a; 0s remote-cache ... (3 actions, 0 running) [4,544 / 4,573] [Prepa] GoCompilePkg pkg/executor/executor.a [1,170 / 4,568] GoCompilePkg external/com_github_azure_azure_sdk_for_go_sdk_azcore/azcore.a; Downloading external/com_github_azure_azure_sdk_for_go_sdk_azcore/azcore.x; 0s remote-cache ... (8 actions, 0 running) [1,378 / 4,639] GoCompilePkg external/com_github_aws_aws_sdk_go/service/s3/s3.a; Downloading external/com_github_aws_aws_sdk_go/service/s3/s3.a, 10.0 MiB / 15.7 MiB; 0s remote-cache ... (8 actions, 0 running) [4,415 / 4,571] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; Downloading pkg/planner/util/domainmisc/domainmisc.a, 3.0 MiB / 10.0 MiB; 0s remote-cache ... (8 actions, 0 running) [1,187 / 4,639] GoCompilePkg external/com_github_aws_aws_sdk_go/service/s3/s3.a; Downloading external/com_github_aws_aws_sdk_go/service/s3/s3.a, 9.0 MiB / 15.7 MiB; 0s remote-cache ... (8 actions, 0 running) [3,817 / 4,642] GoCompilePkg pkg/util/codec/codec.a; 0s remote-cache ... (7 actions, 0 running) [1,375 / 4,750] GoCompilePkg external/com_github_aws_aws_sdk_go/service/cloudwatch/cloudwatch.a; Downloading external/com_github_aws_aws_sdk_go/service/cloudwatch/cloudwatch.a, 1023.9 KiB / 4.7 MiB; 0s remote-cache ... (8 actions, 0 running) [3,146 / 4,573] GoCompilePkg external/com_github_tikv_client_go_v2/txnkv/transaction/transaction.a; 0s remote-cache ... (8 actions, 0 running) [4,580 / 4,637] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; Downloading pkg/sessiontxn/isolation/isolation.a, 7.0 MiB / 10.9 MiB; 0s remote-cache ... (8 actions, 0 running) [4,572 / 4,573] GoLink tests/realtikvtest/txntest/txntest_test_/txntest_test; Downloading tests/realtikvtest/txntest/txntest_test_/txntest_test, 4.1 MiB / 224.9 MiB; 0s remote-cache [4,569 / 4,571] [Prepa] GoCompilePkg tests/realtikvtest/addindextest3/addindextest3_test~testmain.a [4,570 / 4,571] GoLink tests/realtikvtest/pessimistictest/pessimistictest_test_/pessimistictest_test; Downloading tests/realtikvtest/pessimistictest/pessimistictest_test_/pessimistictest_test, 16.1 MiB / 172.3 MiB; 0s remote-cache [4,513 / 4,582] GoCompilePkg pkg/planner/core/core.a; Downloading pkg/planner/core/core.a, 12.0 MiB / 53.0 MiB; 0s remote-cache ... (3 actions, 0 running) [4,504 / 4,573] GoCompilePkg br/pkg/restore/internal/prealloc_db/prealloc_db.a; Downloading br/pkg/restore/internal/prealloc_db/prealloc_db.a, 5.0 MiB / 11.5 MiB; 0s remote-cache ... (3 actions, 0 running) [4,554 / 4,573] GoCompilePkg pkg/store/driver/driver.a; 0s remote-cache ... (2 actions, 0 running) [2,081 / 4,639] GoCompilePkg external/com_github_pingcap_kvproto/pkg/mpp/mpp.a; Downloading external/com_github_pingcap_kvproto/pkg/mpp/mpp.a, 19.8 KiB / 1.0 MiB; 0s remote-cache ... (8 actions, 0 running) [4,473 / 4,571] GoCompilePkg br/pkg/stream/stream.a; Downloading br/pkg/stream/stream.a, 6.0 MiB / 12.7 MiB; 0s remote-cache ... (8 actions, 0 running) [1,524 / 4,750] GoCompilePkg external/com_google_cloud_go_storage/storage.a; 0s remote-cache ... (6 actions, 0 running) [4,541 / 4,568] GoCompilePkg pkg/executor/executor.a; 0s remote-cache [3,971 / 4,573] [Prepa] GoCompilePkg pkg/util/sem/sem.a ... (7 actions, 0 running) [1,269 / 4,568] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 41.2 MiB / 71.4 MiB; 0s remote-cache ... (8 actions, 0 running) [4,606 / 4,637] GoCompilePkg pkg/session/session.a; Downloading pkg/session/session.a; 0s remote-cache ... (2 actions, 0 running) [4,532 / 4,573] GoCompilePkg pkg/planner/planner.a; Downloading pkg/planner/planner.a, 11.3 MiB / 11.6 MiB; 0s remote-cache ... (8 actions, 0 running) [1,271 / 4,639] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 1s remote-cache ... (8 actions, 0 running) [4,101 / 4,642] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 29.5 MiB / 108.6 MiB; 0s remote-cache ... (8 actions, 0 running) [4,078 / 4,573] GoCompilePkg pkg/expression/expression.a; 1s remote-cache [4,570 / 4,571] GoLink tests/realtikvtest/addindextest3/addindextest3_test_/addindextest3_test; Downloading tests/realtikvtest/addindextest3/addindextest3_test_/addindextest3_test, 160.0 MiB / 172.2 MiB; 1s remote-cache [4,570 / 4,571] GoLink tests/realtikvtest/pessimistictest/pessimistictest_test_/pessimistictest_test; Downloading tests/realtikvtest/pessimistictest/pessimistictest_test_/pessimistictest_test, 134.3 MiB / 172.3 MiB; 1s remote-cache [4,541 / 4,582] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; 0s remote-cache ... (4 actions, 0 running) [3,604 / 4,639] GoCompilePkg external/com_github_tikv_client_go_v2/internal/locate/locate.a; 0s remote-cache ... (7 actions, 0 running) [4,511 / 4,571] GoCompilePkg pkg/planner/core/core.a; 0s remote-cache ... (3 actions, 0 running) [4,567 / 4,568] GoLink tests/realtikvtest/addindextest1/addindextest1_test_/addindextest1_test; Downloading tests/realtikvtest/addindextest1/addindextest1_test_/addindextest1_test, 18.0 MiB / 172.1 MiB; 0s remote-cache [4,572 / 4,573] GoLink tests/realtikvtest/statisticstest/statisticstest_test_/statisticstest_test; Downloading tests/realtikvtest/statisticstest/statisticstest_test_/statisticstest_test, 97.7 MiB / 224.7 MiB; 0s remote-cache [1,395 / 4,568] GoCompilePkg external/com_github_pingcap_kvproto/pkg/debugpb/debugpb.a; 0s remote-cache ... (4 actions, 0 running) [4,572 / 4,573] GoLink tests/realtikvtest/txntest/txntest_test_/txntest_test; Downloading tests/realtikvtest/txntest/txntest_test_/txntest_test, 223.6 MiB / 224.9 MiB; 2s remote-cache [4,559 / 4,573] [Prepa] GoCompilePkg pkg/ddl/ingest/testutil/testutil.a ... (2 actions, 0 running) [1,483 / 4,639] GoCompilePkg build/linter/staticcheck/S1025.a [for tool]; Downloading build/linter/staticcheck/S1025.a, 8.0 KiB / 137.7 KiB; 0s remote-cache ... (8 actions, 0 running) [4,149 / 4,642] GoCompilePkg pkg/executor/internal/vecgroupchecker/vecgroupchecker.a; Downloading pkg/executor/internal/vecgroupchecker/vecgroupchecker.a; 0s remote-cache ... (5 actions, 0 running) [4,234 / 4,573] GoCompilePkg pkg/sessiontxn/sessiontxn.a; 0s remote-cache ... (8 actions, 0 running) [2,924 / 4,750] Running nogo on @org_golang_x_text//cases:cases; 0s remote-cache ... (8 actions, 0 running) [4,079 / 4,573] [Prepa] GoCompilePkg pkg/session/types/types.a ... (8 actions, 0 running) [4,636 / 4,637] GoLink tests/realtikvtest/addindextest2/addindextest2_test_/addindextest2_test; Downloading tests/realtikvtest/addindextest2/addindextest2_test_/addindextest2_test, 54.1 MiB / 174.1 MiB; 0s remote-cache Target //tests/realtikvtest/addindextest3:addindextest3_test up-to-date: bazel-bin/tests/realtikvtest/addindextest3/addindextest3_test_/addindextest3_test INFO: Elapsed time: 32.912s, Critical Path: 15.43s INFO: 4272 processes: 4269 remote cache hit, 3 internal. INFO: Build completed successfully, 4272 total actions //tests/realtikvtest/addindextest3:addindextest3_test (cached) PASSED in 68.3s PASSED addindextest3_test.TestAddEmptyMultiValueIndex (0.6s) PASSED addindextest3_test.TestAddIndexAdvanceWatermarkFailed (5.8s) PASSED addindextest3_test.TestAddIndexBackfillLostUpdate (2.9s) PASSED addindextest3_test.TestAddIndexDiskQuotaTS (2.8s) PASSED addindextest3_test.TestAddIndexImportFailed (1.8s) PASSED addindextest3_test.TestAddIndexIngestAdjustBackfillWorker (0.6s) PASSED addindextest3_test.TestAddIndexIngestAdjustBackfillWorkerCountFail (1.3s) PASSED addindextest3_test.TestAddIndexIngestEmptyTable (0.3s) PASSED addindextest3_test.TestAddIndexIngestFailures (3.4s) PASSED addindextest3_test.TestAddIndexIngestLimitOneBackend (2.7s) PASSED addindextest3_test.TestAddIndexIngestMemoryUsage (0.8s) PASSED addindextest3_test.TestAddIndexIngestRestoredData (0.6s) PASSED addindextest3_test.TestAddIndexIngestUniqueKey (1.7s) PASSED addindextest3_test.TestAddIndexIngestWriterCountOnPartitionTable (6.1s) PASSED addindextest3_test.TestAddIndexLoadTableRangeError (2.1s) PASSED addindextest3_test.TestAddIndexMockFlushError (0.6s) PASSED addindextest3_test.TestAddIndexPresplitFunctional (2.9s) PASSED addindextest3_test.TestAddIndexPresplitIndexRegions (4.3s) PASSED addindextest3_test.TestAddIndexRecoverOnDuplicateCheck (3.3s) PASSED addindextest3_test.TestAddIndexRemoteDuplicateCheck (0.7s) PASSED addindextest3_test.TestAddIndexSplitTableRanges (1.7s) PASSED addindextest3_test.TestAddUniqueIndexDuplicatedError (0.4s) PASSED addindextest3_test.TestBackendCtxConcurrentUnregister (0.3s) PASSED addindextest3_test.TestBackfillOperatorPipeline (0.5s) PASSED addindextest3_test.TestBackfillOperatorPipelineException (0.6s) 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 (1.1s) PASSED addindextest3_test.TestDDLTestEstimateTableRowSize (2.3s) PASSED addindextest3_test.TestFirstLitSlowStart (4.9s) PASSED addindextest3_test.TestIngestMVIndexOnPartitionTable (3.5s) 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 0 out of 1 test: 1 test passes.  [Pipeline] } [Pipeline] // dir Post stage Target //tests/realtikvtest/pessimistictest:pessimistictest_test up-to-date: bazel-bin/tests/realtikvtest/pessimistictest/pessimistictest_test_/pessimistictest_test INFO: Elapsed time: 34.225s, Critical Path: 16.09s INFO: 4272 processes: 4269 remote cache hit, 3 internal. INFO: Build completed successfully, 4272 total actions //tests/realtikvtest/pessimistictest:pessimistictest_test (cached) PASSED in 61.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.4s) PASSED pessimistictest_test.TestFirstStatementFail (0.2s) PASSED pessimistictest_test.TestForShareWithPromotion (4.7s) PASSED pessimistictest_test.TestForShareWithPromotionPlanCache (0.7s) PASSED pessimistictest_test.TestGenerateColPointGet (0.3s) PASSED pessimistictest_test.TestInnodbLockWaitTimeout (4.3s) PASSED pessimistictest_test.TestInnodbLockWaitTimeoutWaitStart (1.2s) PASSED pessimistictest_test.TestInsertDupKeyAfterLock (0.2s) PASSED pessimistictest_test.TestInsertDupKeyAfterLockBatchPointGet (0.2s) PASSED pessimistictest_test.TestInsertOnDup (0.2s) PASSED pessimistictest_test.TestIssue28011 (0.5s) PASSED pessimistictest_test.TestIssue28011/BatchSelectForUpdate (0.1s) PASSED pessimistictest_test.TestIssue28011/BatchUpdate (0.1s) PASSED pessimistictest_test.TestIssue28011/SelectForUpdate (0.1s) PASSED pessimistictest_test.TestIssue28011/Update (0.0s) PASSED pessimistictest_test.TestIssue40114 (1.3s) PASSED pessimistictest_test.TestIssue42937 (1.5s) PASSED pessimistictest_test.TestIssueBatchResolveLocks (1.5s) PASSED pessimistictest_test.TestKeyExistsCheck (0.2s) PASSED pessimistictest_test.TestKillStopTTLManager (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 (1.5s) PASSED pessimistictest_test.TestPessimisticAutoCommitTxn (0.2s) PASSED pessimistictest_test.TestPessimisticCommitReadLock (0.2s) PASSED pessimistictest_test.TestPessimisticLockNonExistsKey (0.2s) PASSED pessimistictest_test.TestPessimisticLockOnPartition (0.3s) PASSED pessimistictest_test.TestPessimisticLockReadValue (0.2s) PASSED pessimistictest_test.TestPessimisticReadCommitted (0.3s) PASSED pessimistictest_test.TestPessimisticSerializable (0.4s) PASSED pessimistictest_test.TestPessimisticTxn (1.5s) PASSED pessimistictest_test.TestPessimisticUnionForUpdate (0.1s) PASSED pessimistictest_test.TestPlanCacheSchemaChange (0.2s) PASSED pessimistictest_test.TestPointGetKeyLock (0.0s) PASSED pessimistictest_test.TestPointGetOverflow (0.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 0 out of 1 test: 1 test passes.  [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [4,562 / 4,582] GoCompilePkg br/pkg/gluetikv/gluetikv.a; Downloading br/pkg/gluetikv/gluetikv.a, 4.0 MiB / 11.3 MiB; 0s remote-cache ... (3 actions, 0 running) [Pipeline] } [Pipeline] junit Recording test results [4,572 / 4,573] GoLink tests/realtikvtest/statisticstest/statisticstest_test_/statisticstest_test; 1s remote-cache [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [2,000 / 4,568] GoCompilePkg pkg/domain/globalconfigsync/globalconfigsync.a; Downloading pkg/domain/globalconfigsync/globalconfigsync.a, 39.8 KiB / 256.6 KiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] { Target //tests/realtikvtest/txntest:txntest_test up-to-date: bazel-bin/tests/realtikvtest/txntest/txntest_test_/txntest_test INFO: Elapsed time: 33.078s, Critical Path: 16.38s INFO: 4571 processes: 4558 remote cache hit, 13 internal. INFO: Build completed successfully, 4571 total actions //tests/realtikvtest/txntest:txntest_test (cached) PASSED in 155.1s PASSED txntest_test.TestA3Phantom (1.0s) PASSED txntest_test.TestA5AReadSkew (1.5s) PASSED txntest_test.TestA5BWriteSkew (1.7s) PASSED txntest_test.TestAsOfTimestampCompatibility (2.9s) PASSED txntest_test.TestAssertionWhenPessimisticLockLost (1.0s) PASSED txntest_test.TestBasicTxnState (0.9s) PASSED txntest_test.TestBlocked (0.6s) PASSED txntest_test.TestCheckTxnStatusOnOptimisticTxnBreakConsistency (1.9s) PASSED txntest_test.TestCommitting (0.6s) PASSED txntest_test.TestDMLWithAddForeignKey (11.8s) PASSED txntest_test.TestDuplicateErrorMessage (0.9s) 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 (1.9s) PASSED txntest_test.TestMemDBTracker (29.1s) PASSED txntest_test.TestP0DirtyWrite (5.6s) PASSED txntest_test.TestP1DirtyRead (1.2s) PASSED txntest_test.TestP2NonRepeatableRead (1.4s) 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.6s) PASSED txntest_test.TestRunning (0.8s) PASSED txntest_test.TestSelectAsOf (4.0s) PASSED txntest_test.TestSelectLockForPartitionTable (2.3s) PASSED txntest_test.TestSetTransactionInfoSchema (2.1s) PASSED txntest_test.TestSetTransactionIsolationOneSho (0.5s) PASSED txntest_test.TestSetTransactionReadOnlyAsOf (0.4s) PASSED txntest_test.TestSpecialSQLInStalenessTxn (8.0s) PASSED txntest_test.TestStalePrepare (5.0s) PASSED txntest_test.TestStaleReadAllCombinations (4.5s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels (0.2s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-adaptive (0.1s) 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.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/follower (0.0s) 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.6s) PASSED txntest_test.TestStmtCtxStaleFlag (2.7s) PASSED txntest_test.TestTimeBoundedStalenessTxn (0.7s) PASSED txntest_test.TestTxnEntrySizeLimit (12.4s) PASSED txntest_test.TestTxnGoString (0.6s) PASSED txntest_test.TestTxnInfoWithPSProtocol (0.8s) PASSED txntest_test.TestTxnInfoWithPreparedStmt (0.6s) PASSED txntest_test.TestTxnInfoWithScalarSubquery (0.7s) PASSED txntest_test.TestTxnScopeAndValidateReadTs (1.5s) 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 0 out of 1 test: 1 test passes.  [Pipeline] junit Recording test results [Pipeline] } None of the test reports contained any result [Checks API] No suitable checks publisher found. [4,038 / 4,639] GoCompilePkg pkg/util/password-validation/password-validation.a; Downloading pkg/util/password-validation/password-validation.a; 0s remote-cache ... (8 actions, 0 running) [Pipeline] // dir [2,278 / 4,639] Running nogo on @io_k8s_klog_v2//internal/serialize:serialize; 0s remote-cache ... (5 actions, 0 running) [4,316 / 4,642] GoCompilePkg pkg/privilege/privileges/privileges.a; 0s remote-cache ... (8 actions, 0 running) [4,545 / 4,571] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a ... (2 actions, 0 running) Post stage [Pipeline] } [4,409 / 4,573] [Prepa] GoCompilePkg pkg/domain/domain.a [4,049 / 4,750] GoCompilePkg pkg/timer/api/api.a; Downloading pkg/timer/api/api.x; 0s remote-cache ... (8 actions, 0 running) [4,568 / 4,569] [Prepa] Testing //tests/realtikvtest/addindextest1:addindextest1_test Target //tests/realtikvtest/addindextest1:addindextest1_test up-to-date: bazel-bin/tests/realtikvtest/addindextest1/addindextest1_test_/addindextest1_test INFO: Elapsed time: 30.839s, Critical Path: 14.63s INFO: 4269 processes: 4266 remote cache hit, 3 internal. INFO: Build completed successfully, 4269 total actions [4,307 / 4,573] GoCompilePkg pkg/statistics/handle/lockstats/lockstats.a; 0s remote-cache ... (8 actions, 0 running) None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] // dir Target //tests/realtikvtest/statisticstest:statisticstest_test up-to-date: bazel-bin/tests/realtikvtest/statisticstest/statisticstest_test_/statisticstest_test INFO: Elapsed time: 34.745s, Critical Path: 17.06s INFO: 4571 processes: 4558 remote cache hit, 13 internal. INFO: Build completed successfully, 4571 total actions [4,636 / 4,637] GoLink tests/realtikvtest/addindextest2/addindextest2_test_/addindextest2_test; 1s remote-cache [Pipeline] } //tests/realtikvtest/addindextest1:addindextest1_test (cached) PASSED in 52.8s PASSED addindextest1_test.TestAddIndexDistBasic (15.3s) PASSED addindextest1_test.TestAddIndexDistCancel (6.2s) PASSED addindextest1_test.TestAddIndexDistCancelWithPartition (7.3s) PASSED addindextest1_test.TestAddIndexDistCleanUpBlock (8.2s) 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.4s) Test cases: finished with 10 passing and 0 failing out of 10 test cases Executed 0 out of 1 test: 1 test passes.  [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] // dir //tests/realtikvtest/statisticstest:statisticstest_test (cached) PASSED in 14.8s PASSED statisticstest_test.TestAsyncMergeFMSketch (1.5s) PASSED statisticstest_test.TestBlockMergeFMSketch (1.4s) PASSED statisticstest_test.TestNewCollationStatsWithPrefixIndex (6.1s) PASSED statisticstest_test.TestNoNeedIndexStatsLoading (3.3s) Test cases: finished with 4 passing and 0 failing out of 4 test cases Executed 0 out of 1 test: 1 test passes.  [Pipeline] junit Recording test results [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { Post stage No test report files were found. Configuration error? [Pipeline] sh [3,621 / 4,568] GoCompilePkg pkg/util/stmtsummary/stmtsummary.a; 0s remote-cache ... (8 actions, 0 running) None of the test reports contained any result [Checks API] No suitable checks publisher found. Target //tests/realtikvtest/addindextest2:addindextest2_test up-to-date: bazel-bin/tests/realtikvtest/addindextest2/addindextest2_test_/addindextest2_test INFO: Elapsed time: 33.701s, Critical Path: 15.89s INFO: 4338 processes: 4335 remote cache hit, 3 internal. INFO: Build completed successfully, 4338 total actions //tests/realtikvtest/addindextest2:addindextest2_test (cached) PASSED in 88.1s PASSED addindextest2_test.TestAddIndexIngestShowReorgTp (0.7s) PASSED addindextest2_test.TestAlterJobOnDXF (6.4s) PASSED addindextest2_test.TestAlterThreadRightAfterJobFinish (11.7s) PASSED addindextest2_test.TestGlobalSortAddIndexRecoverFromRetryableError (12.9s) PASSED addindextest2_test.TestGlobalSortBasic (9.8s) PASSED addindextest2_test.TestGlobalSortDuplicateErrMsg (4.3s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange (37.2s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange/ingest_backfill (2.2s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange/ingest_dist_backfill (13.6s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange/ingest_dist_gs_backfill (19.9s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange/txn_backfill (1.0s) PASSED addindextest2_test.TestIngestUseGivenTS (3.8s) Test cases: finished with 12 passing and 0 failing out of 12 test cases Executed 0 out of 1 test: 1 test passes.  [4,581 / 4,582] GoLink tests/realtikvtest/brietest/brietest_test_/brietest_test; Downloading tests/realtikvtest/brietest/brietest_test_/brietest_test, 126.7 MiB / 225.2 MiB; 0s remote-cache No test report files were found. Configuration error? [4,142 / 4,639] [Prepa] GoCompilePkg pkg/session/types/types.a ... (8 actions, 0 running) [3,397 / 4,639] Running nogo on @com_github_tikv_client_go_v2//txnkv/transaction:transaction; Downloading external/com_github_tikv_client_go_v2/txnkv/transaction/transaction.facts; 0s remote-cache ... (8 actions, 0 running) [4,463 / 4,642] [Prepa] GoCompilePkg pkg/infoschema/perfschema/perfschema.a ... (6 actions, 0 running) [Pipeline] script [Pipeline] { [4,572 / 4,573] GoLink tests/realtikvtest/sessiontest/sessiontest_test_/sessiontest_test; 1s remote-cache [Pipeline] sh [4,412 / 4,573] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a ... (8 actions, 0 running) [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results [4,493 / 4,573] GoCompilePkg br/pkg/stream/stream.a; Downloading br/pkg/stream/stream.a, 9.1 MiB / 14.2 MiB; 0s remote-cache ... (6 actions, 0 running) [Pipeline] } [4,223 / 4,750] [Prepa] GoCompilePkg pkg/session/types/types.a ... (6 actions, 0 running) [Pipeline] } No test report files were found. Configuration error? [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results None of the test reports contained any result [Checks API] No suitable checks publisher found. [3,939 / 4,568] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 39.0 MiB / 94.8 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] } [Pipeline] // dir [4,363 / 4,639] GoCompilePkg pkg/statistics/handle/cache/cache.a; Downloading pkg/statistics/handle/cache/cache.a; 0s remote-cache ... (8 actions, 0 running) [3,973 / 4,639] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 75.6 MiB / 108.6 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] // dir Post stage None of the test reports contained any result [Checks API] No suitable checks publisher found. Target //tests/realtikvtest/sessiontest:sessiontest_test up-to-date: bazel-bin/tests/realtikvtest/sessiontest/sessiontest_test_/sessiontest_test INFO: Elapsed time: 35.050s, Critical Path: 15.55s INFO: 4571 processes: 4558 remote cache hit, 13 internal. INFO: Build completed successfully, 4571 total actions //tests/realtikvtest/sessiontest:sessiontest_test (cached) PASSED in 65.8s PASSED sessiontest_test.TestAutoCommitNeedNotLinearizability (0.6s) PASSED sessiontest_test.TestClusterTableSendError (0.5s) PASSED sessiontest_test.TestFailStatementCommitInRetry (0.6s) PASSED sessiontest_test.TestGCOldVersion (13.3s) PASSED sessiontest_test.TestGetTSFailDirtyState (0.6s) PASSED sessiontest_test.TestGetTSFailDirtyStateInretry (1.0s) PASSED sessiontest_test.TestIndexLookUpWithStaticPrune (0.6s) PASSED sessiontest_test.TestIndexReaderWithPaging (1.6s) PASSED sessiontest_test.TestIssue42426 (0.4s) PASSED sessiontest_test.TestIssue57530 (0.5s) PASSED sessiontest_test.TestKill (0.3s) PASSED sessiontest_test.TestKillFlagInBackoff (9.6s) PASSED sessiontest_test.TestPagingActRowsAndProcessKeys (27.3s) PASSED sessiontest_test.TestTiKVClientReadTimeout (4.1s) Test cases: finished with 14 passing and 0 failing out of 14 test cases Executed 0 out of 1 test: 1 test passes. [Pipeline] }  [Pipeline] } [4,570 / 4,571] GoLink tests/realtikvtest/addindextest/addindextest_test_/addindextest_test; 1s remote-cache [Pipeline] // script [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results [Pipeline] // script [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] } [Pipeline] } [Pipeline] } [Pipeline] script [Pipeline] { [4,582 / 4,583] [Prepa] Testing //tests/realtikvtest/brietest:brietest_test Target //tests/realtikvtest/brietest:brietest_test up-to-date: bazel-bin/tests/realtikvtest/brietest/brietest_test_/brietest_test INFO: Elapsed time: 34.642s, Critical Path: 17.14s INFO: 4580 processes: 4567 remote cache hit, 13 internal. INFO: Build completed successfully, 4580 total actions //tests/realtikvtest/brietest:brietest_test (cached) PASSED in 218.9s PASSED brietest_test.TestBackupAndRestore (10.3s) PASSED brietest_test.TestCancel (1.3s) PASSED brietest_test.TestExistedTables (9.1s) PASSED brietest_test.TestExistedTablesOfIncremental (19.9s) PASSED brietest_test.TestExistedTablesOfIncremental_1 (11.4s) PASSED brietest_test.TestExistedTablesOfIncremental_2 (11.0s) PASSED brietest_test.TestFailure (0.0s) PASSED brietest_test.TestForCoverage (0.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.4s) PASSED brietest_test.TestPiTRAndIncrementalRestore (8.5s) PASSED brietest_test.TestPiTRAndManyBackups (31.7s) PASSED brietest_test.TestPiTRAndRestoreFromMid (31.7s) PASSED brietest_test.TestPiTRPauseMessage (3.7s) PASSED brietest_test.TestRestoreMultiTables (15.6s) PASSED brietest_test.TestShowBackupQuery (5.9s) PASSED brietest_test.TestShowBackupQueryRedact (1.4s) Test cases: finished with 21 passing and 0 failing out of 21 test cases Executed 0 out of 1 test: 1 test passes.  [4,502 / 4,642] GoCompilePkg br/pkg/checkpoint/checkpoint.a; Downloading br/pkg/checkpoint/checkpoint.a, 13.0 MiB / 14.0 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] // dir [4,532 / 4,573] GoCompilePkg br/pkg/task/task.a; Downloading br/pkg/task/task.a, 15.0 MiB / 17.2 MiB; 0s remote-cache ... (7 actions, 0 running) No test report files were found. Configuration error? [4,422 / 4,750] GoCompilePkg pkg/lightning/common/common.a; Downloading pkg/lightning/common/common.a, 1023.8 KiB / 1.7 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] // dir [Pipeline] sh No test report files were found. Configuration error? [4,490 / 4,573] GoCompilePkg br/pkg/restore/data/data.a; Downloading br/pkg/restore/data/data.a, 9.0 MiB / 11.8 MiB; 0s remote-cache ... (6 actions, 0 running) [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 0s remote-cache, linux-sandbox None of the test reports contained any result [Checks API] No suitable checks publisher found. [4,092 / 4,568] [Prepa] GoCompilePkg pkg/statistics/handle/cache/internal/internal.a ... (3 actions, 0 running) [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { No test report files were found. Configuration error? [Pipeline] // dir [Pipeline] // dir [Pipeline] script [Pipeline] { [Pipeline] // dir Post stage [Pipeline] } [Pipeline] } [Pipeline] sh [4,579 / 4,642] GoCompilePkg pkg/planner/core/core.a; Downloading pkg/planner/core/core.a, 52.1 MiB / 53.0 MiB; 0s remote-cache ... (3 actions, 0 running) [4,239 / 4,639] GoCompilePkg pkg/store/mockstore/unistore/cophandler/cophandler.a; Downloading pkg/store/mockstore/unistore/cophandler/cophandler.a, 1.9 MiB / 3.8 MiB; 0s remote-cache ... (8 actions, 0 running) [4,485 / 4,639] GoCompilePkg pkg/plugin/plugin.a; Downloading pkg/plugin/plugin.a, 6.0 MiB / 11.5 MiB; 0s remote-cache ... (8 actions, 0 running) [4,559 / 4,573] [Prepa] GoCompilePkg pkg/ddl/ingest/testutil/testutil.a ... (2 actions, 0 running) [4,562 / 4,750] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a ... (7 actions, 0 running) [4,523 / 4,573] GoCompilePkg br/pkg/task/task.a; Downloading br/pkg/task/task.a, 16.2 MiB / 17.2 MiB; 0s remote-cache ... (8 actions, 0 running) [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] junit [4,260 / 4,568] GoCompilePkg pkg/privilege/privileges/privileges.a; 0s remote-cache ... (6 actions, 0 running) Recording test results [Pipeline] script [Pipeline] { [Pipeline] // withCredentials [Pipeline] } [Pipeline] sh None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] // dir Post stage [Pipeline] // withCredentials [4,454 / 4,639] [Prepa] GoCompilePkg pkg/lightning/backend/local/local.a [4,572 / 4,639] GoCompilePkg br/pkg/restore/snap_client/snap_client.a; Downloading br/pkg/restore/snap_client/snap_client.a, 9.3 MiB / 13.6 MiB; 0s remote-cache ... (4 actions, 0 running) [4,632 / 4,750] GoCompilePkg br/pkg/restore/restore.a; Downloading br/pkg/restore/restore.a, 1023.8 KiB / 11.8 MiB; 0s remote-cache ... (8 actions, 0 running) [4,554 / 4,573] GoCompilePkg pkg/store/driver/driver.a; Downloading pkg/store/driver/driver.a, 167.8 KiB / 2.2 MiB; 0s remote-cache ... (2 actions, 0 running) [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] } [4,613 / 4,642] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a No test report files were found. Configuration error? [Pipeline] // script [Pipeline] } [Pipeline] script [Pipeline] { None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] // timeout [Pipeline] } [4,404 / 4,568] [Prepa] GoCompilePkg pkg/domain/domain.a [Pipeline] } [Pipeline] sh [4,486 / 4,639] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 0s remote-cache ... (8 actions, 0 running) [4,572 / 4,573] GoLink tests/realtikvtest/pipelineddmltest/pipelineddmltest_test_/pipelineddmltest_test; 1s remote-cache [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } No test report files were found. Configuration error? [Pipeline] // dir [4,610 / 4,639] [Prepa] GoCompilePkg pkg/session/session.a [Pipeline] // dir [Pipeline] } [4,688 / 4,750] GoCompilePkg pkg/planner/planner.a; Downloading pkg/planner/planner.a, 7.8 MiB / 11.6 MiB; 0s remote-cache ... (7 actions, 0 running) [Pipeline] } [4,572 / 4,573] GoLink tests/realtikvtest/flashbacktest/flashbacktest_test_/flashbacktest_test; Downloading tests/realtikvtest/flashbacktest/flashbacktest_test_/flashbacktest_test, 151.5 MiB / 224.7 MiB; 0s remote-cache [Pipeline] // stage INFO: From Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test: ==================== Test output for //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test: === RUN TestVariable [2025/04/04 10:37:30.569 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:37:30.569 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:37:30.570 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347877260180] [2025/04/04 10:37:30.571 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:30.571 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:37:30.571 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:30.571 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:30.571 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:30.572 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:30.572 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:30.572 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:30.578 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:37:30.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 10:37:30.585 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:37:30.586 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:37:30.602 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404347877260180] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:37:30.624 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:37:30.659 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1344] ["lease id"=223196005d3975bd] [2025/04/04 10:37:30.661 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:37:30.757 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=232] ["elapsed time"=89.347756ms] [2025/04/04 10:37:30.757 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:37:30.765 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/04 10:37:30.765 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=17679e55-758c-4491-97bc-b8e5028f612d] [runWorker=true] [jobVersion=v2] [2025/04/04 10:37:30.765 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:37:30.767 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=17679e55-758c-4491-97bc-b8e5028f612d] [2025/04/04 10:37:30.768 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:37:30.769 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 142333173760/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:37:30.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:37:30.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:37:30.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:37:30.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:37:30.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:37:30.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:37:30.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:37:30.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:37:30.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:37:30.769 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:37:30.769 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:37:30.769 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:37:30.769 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=fb146916-688e-465f-8216-5cb2868771d8] [2025/04/04 10:37:30.771 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d397caf] [ownerID=17679e55-758c-4491-97bc-b8e5028f612d] [op=none] [2025/04/04 10:37:30.771 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=17679e55-758c-4491-97bc-b8e5028f612d] [2025/04/04 10:37:30.771 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=17679e55-758c-4491-97bc-b8e5028f612d] [ownerKey=/tidb/ddl/fg/owner/6f1896005d397caf] [currRev=1133] [2025/04/04 10:37:30.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:37:30.772 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=fb146916-688e-465f-8216-5cb2868771d8] [daemon-id=LogBackup::Advancer] [2025/04/04 10:37:30.772 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:37:30.772 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f1896005d397cb1] [ownerID=fb146916-688e-465f-8216-5cb2868771d8] [op=none] [2025/04/04 10:37:30.772 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=fb146916-688e-465f-8216-5cb2868771d8] [2025/04/04 10:37:30.772 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=fb146916-688e-465f-8216-5cb2868771d8] [ownerKey=/tidb/br-stream/owner/6f1896005d397cb1] [currRev=1134] [2025/04/04 10:37:30.773 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d397caf] [ownerID=17679e55-758c-4491-97bc-b8e5028f612d] [op=none] [2025/04/04 10:37:30.773 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=17679e55-758c-4491-97bc-b8e5028f612d] [op=none] [2025/04/04 10:37:30.773 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:37:30.778 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:35\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:30.779 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:35\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:30.780 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:35\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:30.780 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=17679e55-758c-4491-97bc-b8e5028f612d] [2025/04/04 10:37:30.781 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:37:30.781 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:37:30.788 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/04 10:37:30.791 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:37:30.792 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:37:30.799 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:37:30.804 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:37:30.804 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:37:30.804 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:37:30.804 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:37:30.804 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:37:30.804 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:37:30.804 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:37:30.804 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:37:30.804 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:37:30.805 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:37:30.806 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=17679e55-758c-4491-97bc-b8e5028f612d] [2025/04/04 10:37:30.807 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:37:30.807 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:37:30.807 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:37:30.807 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:37:30.807 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:37:30.807 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:37:30.807 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:37:30.807 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:37:30.807 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:37:30.807 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:37:30.807 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/04 10:37:30.807 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:37:30.807 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:37:30.807 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:37:30.808 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:37:30.809 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/223196005d3975c7] [ownerID=17679e55-758c-4491-97bc-b8e5028f612d] [op=none] [2025/04/04 10:37:30.809 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=17679e55-758c-4491-97bc-b8e5028f612d] [2025/04/04 10:37:30.809 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=17679e55-758c-4491-97bc-b8e5028f612d] [ownerKey=/tidb/stats/owner/223196005d3975c7] [currRev=1136] [2025/04/04 10:37:30.809 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=52] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:37:30.812 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/1dfc0aa1-0809-407a-9978-1d9181bef368] [2025/04/04 10:37:30.813 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:37:30.813 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=17679e55-758c-4491-97bc-b8e5028f612d] [ttl-worker=task-manager] [ttl-worker=17679e55-758c-4491-97bc-b8e5028f612d] [originalCount=0] [newCount=4] [2025/04/04 10:37:30.813 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=17679e55-758c-4491-97bc-b8e5028f612d] [ttl-worker=task-manager] [ttl-worker=17679e55-758c-4491-97bc-b8e5028f612d] [originalCount=0] [newCount=4] [2025/04/04 10:37:30.813 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=17679e55-758c-4491-97bc-b8e5028f612d] [2025/04/04 10:37:30.815 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=Europe/Berlin] [2025/04/04 10:37:30.817 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:37:30.817 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:37:30.817 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763050817747024 [2025/04/04 10:37:30.818 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:37:30.826 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.479945ms] [2025/04/04 10:37:30.826 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:37:30.826 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:37:30.831 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:37:30.847 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:272, Type:alter table nocache, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:30.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table `cached` nocache"] [2025/04/04 10:37:30.847 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:272, Type:alter table nocache, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:30.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:30.853 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=272] [conn=1] [job="ID:272, Type:alter table nocache, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:30.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:30.869 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=232] [neededSchemaVersion=233] ["elapsed time"=1.482169ms] [gotSchemaVersion=233] [phyTblIDs="[269]"] [actionTypes="[59]"] [diffTypes="[\"alter table nocache\"]"] [2025/04/04 10:37:30.873 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=272] [version=233] [2025/04/04 10:37:30.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=233] ["take time"=9.584072ms] [job="ID:272, Type:alter table nocache, State:running, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:30.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:30.885 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=272] [conn=1] [job="ID:272, Type:alter table nocache, State:running, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:30.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:30.900 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=233] [neededSchemaVersion=234] ["elapsed time"=1.452774ms] [gotSchemaVersion=234] [phyTblIDs="[269]"] [actionTypes="[59]"] [diffTypes="[\"alter table nocache\"]"] [2025/04/04 10:37:30.903 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=272] [version=234] [2025/04/04 10:37:30.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=234] ["take time"=8.655652ms] [job="ID:272, Type:alter table nocache, State:done, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:30.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:30.914 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=272] [conn=1] [job="ID:272, Type:alter table nocache, State:synced, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:30.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:30.925 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=272] [2025/04/04 10:37:30.926 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=234] [cur_db=test] [sql="alter table `cached` nocache"] [user=] [2025/04/04 10:37:30.927 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=234] [cur_db=test] [sql="alter table `child` nocache"] [user=] [2025/04/04 10:37:30.929 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=234] [cur_db=test] [sql="alter table `parent` nocache"] [user=] [2025/04/04 10:37:30.940 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:273, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:30.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:30.940 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:273, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:30.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `cached`,`child`,`parent`"] [2025/04/04 10:37:30.946 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=273] [conn=1] [job="ID:273, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:30.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:30.961 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=234] [neededSchemaVersion=235] ["elapsed time"=1.67656ms] [gotSchemaVersion=235] [phyTblIDs="[269]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:37:30.965 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=273] [version=235] [2025/04/04 10:37:30.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=235] ["take time"=8.715736ms] [job="ID:273, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:30.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:30.976 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=273] [conn=1] [job="ID:273, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:30.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:30.991 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=235] [neededSchemaVersion=236] ["elapsed time"=1.627551ms] [gotSchemaVersion=236] [phyTblIDs="[269]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:37:30.994 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=273] [version=236] [2025/04/04 10:37:30.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=236] ["take time"=8.638208ms] [job="ID:273, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:30.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:31.004 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=273] [conn=1] [job="ID:273, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:30.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:31.010 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 269, Old Table Name: cached)"] [2025/04/04 10:37:31.022 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=236] [neededSchemaVersion=237] ["elapsed time"=1.026068ms] [gotSchemaVersion=237] [phyTblIDs="[269]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:37:31.025 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=273] [version=237] [2025/04/04 10:37:31.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=237] ["take time"=7.73975ms] [job="ID:273, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:30.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:31.036 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=273] [tableIDs="[269]"] [comment="drop table: table ID"] [2025/04/04 10:37:31.043 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=273] [jobType="drop table"] [2025/04/04 10:37:31.044 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=273] [conn=1] [job="ID:273, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:30.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:31.062 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=273] [2025/04/04 10:37:31.072 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:274, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:31.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:31.072 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:274, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:31.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `cached`,`child`,`parent`"] [2025/04/04 10:37:31.078 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=274] [conn=1] [job="ID:274, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:266, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:31.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:31.098 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=237] [neededSchemaVersion=238] ["elapsed time"=2.082373ms] [gotSchemaVersion=238] [phyTblIDs="[266]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:37:31.101 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=274] [version=238] [2025/04/04 10:37: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=238] ["take time"=8.955223ms] [job="ID:274, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:31.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:31.112 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=274] [conn=1] [job="ID:274, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:266, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:31.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:31.128 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=238] [neededSchemaVersion=239] ["elapsed time"=2.145333ms] [gotSchemaVersion=239] [phyTblIDs="[266]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:37:31.131 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=274] [version=239] [2025/04/04 10:37:31.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=239] ["take time"=9.107601ms] [job="ID:274, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:31.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:31.141 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=274] [conn=1] [job="ID:274, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:266, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:31.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:31.147 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 266, Old Table Name: child)"] [2025/04/04 10:37:31.160 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=239] [neededSchemaVersion=240] ["elapsed time"=1.029413ms] [gotSchemaVersion=240] [phyTblIDs="[266]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:37:31.163 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=274] [version=240] [2025/04/04 10:37:31.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=240] ["take time"=7.876247ms] [job="ID:274, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:31.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:31.174 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=274] [tableIDs="[266]"] [comment="drop table: table ID"] [2025/04/04 10:37:31.178 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=274] [jobType="drop table"] [2025/04/04 10:37:31.179 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=274] [conn=1] [job="ID:274, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:31.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:31.196 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=274] [2025/04/04 10:37:31.206 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:275, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:31.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:31.206 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:275, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:31.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `cached`,`child`,`parent`"] [2025/04/04 10:37:31.211 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=275] [conn=1] [job="ID:275, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:31.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:31.226 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=240] [neededSchemaVersion=241] ["elapsed time"=1.626347ms] [gotSchemaVersion=241] [phyTblIDs="[264]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:37:31.229 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=275] [version=241] [2025/04/04 10:37:31.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=241] ["take time"=8.455015ms] [job="ID:275, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:31.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:31.243 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=275] [conn=1] [job="ID:275, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:31.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:31.260 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=241] [neededSchemaVersion=242] ["elapsed time"=2.173911ms] [gotSchemaVersion=242] [phyTblIDs="[264]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:37:31.264 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=275] [version=242] [2025/04/04 10:37:31.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=242] ["take time"=11.537453ms] [job="ID:275, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:31.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:31.277 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=275] [conn=1] [job="ID:275, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:31.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:31.283 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 264, Old Table Name: parent)"] [2025/04/04 10:37:31.296 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=242] [neededSchemaVersion=243] ["elapsed time"=1.13103ms] [gotSchemaVersion=243] [phyTblIDs="[264]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:37:31.300 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=275] [version=243] [2025/04/04 10:37:31.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=243] ["take time"=8.182098ms] [job="ID:275, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:31.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:31.310 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=275] [tableIDs="[264]"] [comment="drop table: table ID"] [2025/04/04 10:37:31.314 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=275] [jobType="drop table"] [2025/04/04 10:37:31.315 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=275] [conn=1] [job="ID:275, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:31.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:31.331 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=275] [2025/04/04 10:37:31.332 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 0.402937003\n# Parse_time: 0.000190177\n# Compile_time: 0.000285961\n# Rewrite_time: 0.000004905\n# Optimize_time: 0.000040641\n# Wait_TS: 0.000288026\n# DB: test\n# Is_internal: false\n# Digest: 3e7fdbdb1a71f46f0a6898433864b2b2ecda43740dcdab1f93c5812a586d288f\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\ndrop table `cached`,`child`,`parent`;"] [2025/04/04 10:37:31.332 +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: 1743763051332707105 [2025/04/04 10:37:31.344 +00:00] [INFO] [set.go:172] ["set global var"] [conn=2] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:37:31.347 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[expression:1305]FUNCTION test.bulk does not exist"] [errorVerbose="[expression:1305]FUNCTION test.bulk does not exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/expression.newFunctionImpl\n\tpkg/expression/scalar_function.go:238\ngithub.com/pingcap/tidb/pkg/expression.NewFunction\n\tpkg/expression/scalar_function.go:313\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).newFunctionWithInit\n\tpkg/planner/core/expression_rewriter.go:1641\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).newFunction\n\tpkg/planner/core/expression_rewriter.go:1651\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).funcCallToExpression\n\tpkg/planner/core/expression_rewriter.go:2409\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).Leave\n\tpkg/planner/core/expression_rewriter.go:1475\ngithub.com/pingcap/tidb/pkg/parser/ast.(*FuncCallExpr).Accept\n\tpkg/parser/ast/functions.go:590\ngithub.com/pingcap/tidb/pkg/planner/core.rewriteExprNode\n\tpkg/planner/core/expression_rewriter.go:300\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewriteWithPreprocess\n\tpkg/planner/core/expression_rewriter.go:239\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewrite\n\tpkg/planner/core/expression_rewriter.go:206\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildSet\n\tpkg/planner/core/planbuilder.go:707\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:551\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:46\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="set session tidb_dml_type = bulk(10)"] [2025/04/04 10:37:31.355 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:102\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/04 10:37:31.356 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:108\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/04 10:37:31.356 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:112\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/04 10:37:31.357 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:116\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/04 10:37:31.358 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:118\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/04 10:37:31.359 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:122\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/04 10:37:31.376 +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: 1743763051377022203 [2025/04/04 10:37:31.388 +00:00] [INFO] [set.go:172] ["set global var"] [conn=3] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:37:31.403 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:277, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:31.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:31.403 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:277, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:31.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(id int)"] [2025/04/04 10:37:31.408 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:276, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:31.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:31.413 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 276, Table Name: t)"] [2025/04/04 10:37:31.428 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=243] [neededSchemaVersion=244] ["elapsed time"=1.389005ms] [gotSchemaVersion=244] [phyTblIDs="[276]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:31.432 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=244] [2025/04/04 10:37:31.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=244] ["take time"=8.676893ms] [job="ID:277, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:31.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:31.444 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:276, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:31.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:31.455 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=277] [2025/04/04 10:37:31.455 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=244] [cur_db=test] [sql="create table t(id int)"] [user=] [2025/04/04 10:37:31.465 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117021355114508] [generation=1] [session=2] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=998.364µs] [2025/04/04 10:37:31.465 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.091404ms] [total_duration=2.440031ms] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457117021355114508] [2025/04/04 10:37:31.466 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117021355114508] [commitTS=457117021355114509] [2025/04/04 10:37:31.466 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-commit-457117021355114508] [startKey=7480000000000001145f728000000000000001] [endKey=7480000000000001145f728000000000000001] [2025/04/04 10:37:31.466 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=0] [startTS=457117021355114508] [commitTS=457117021355114509] [session=2] [2025/04/04 10:37:31.470 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:37:31.470 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=17679e55-758c-4491-97bc-b8e5028f612d] [] [2025/04/04 10:37:31.470 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:37:31.470 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=17679e55-758c-4491-97bc-b8e5028f612d] [2025/04/04 10:37:31.470 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:37:31.470 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:37:31.470 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=49.846µs] [2025/04/04 10:37:31.470 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=33.962µs] [2025/04/04 10:37:31.470 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=45.6µs] [2025/04/04 10:37:31.470 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=40.309µs] [2025/04/04 10:37:31.471 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=31.088µs] [2025/04/04 10:37:31.471 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=17679e55-758c-4491-97bc-b8e5028f612d] [2025/04/04 10:37:31.471 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=17679e55-758c-4491-97bc-b8e5028f612d] [2025/04/04 10:37:31.472 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:37:31.472 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:37:31.474 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=17679e55-758c-4491-97bc-b8e5028f612d] ["take time"=3.903776ms] [2025/04/04 10:37:31.474 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=17679e55-758c-4491-97bc-b8e5028f612d] [2025/04/04 10:37:31.474 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:37:31.474 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/1dfc0aa1-0809-407a-9978-1d9181bef368] [2025/04/04 10:37:31.474 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=17679e55-758c-4491-97bc-b8e5028f612d] [ttl-worker=task-manager] [ttl-worker=17679e55-758c-4491-97bc-b8e5028f612d] [originalCount=4] [newCount=0] [2025/04/04 10:37:31.474 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:37:31.474 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:37:31.474 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:37:31.474 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:37:31.474 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=17679e55-758c-4491-97bc-b8e5028f612d] [ttl-worker=task-manager] [ttl-worker=17679e55-758c-4491-97bc-b8e5028f612d] [originalCount=4] [newCount=0] [2025/04/04 10:37:31.477 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:37:31.477 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:37:31.477 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:37:31.477 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:37:31.479 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=17679e55-758c-4491-97bc-b8e5028f612d] [2025/04/04 10:37:31.479 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1344] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:37:31.480 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:37:31.480 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:31.480 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:37:31.480 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:37:31.480 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:37:31.480 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:31.480 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:37:31.480 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:31.480 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:37:31.480 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:31.480 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:31.480 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=fb146916-688e-465f-8216-5cb2868771d8] [] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:37:31.480 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:37:31.480 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:31.480 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:37:31.480 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:37:31.480 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:37:31.481 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:31.480 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:31.481 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:37:31.481 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:37:31.480 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:37:31.481 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:37:31.481 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:37:31.481 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:37:31.480 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:37:31.481 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:37:31.481 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:37:31.481 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:37:31.480 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:37:31.480 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:37:31.480 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:37:31.480 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:31.481 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:31.481 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=17679e55-758c-4491-97bc-b8e5028f612d] [] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:37:31.480 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:31.481 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=17679e55-758c-4491-97bc-b8e5028f612d] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:37:31.481 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:37:31.481 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:37:31.481 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=17679e55-758c-4491-97bc-b8e5028f612d] [2025/04/04 10:37:31.481 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:37:31.480 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:37:31.480 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=fb146916-688e-465f-8216-5cb2868771d8] [2025/04/04 10:37:31.481 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=17679e55-758c-4491-97bc-b8e5028f612d] [2025/04/04 10:37:31.481 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=fb146916-688e-465f-8216-5cb2868771d8] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:37:31.481 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=fb146916-688e-465f-8216-5cb2868771d8] [2025/04/04 10:37:31.480 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:31.481 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:37:31.480 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:37:31.480 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:37:31.480 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:37:31.481 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:31.480 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:31.480 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:37:31.480 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:31.481 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:37:31.483 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:37:31.483 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:37:31.483 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:37:31.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:37:31.483 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:37:31.483 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:37:31.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:37:31.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:37:31.483 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=fb146916-688e-465f-8216-5cb2868771d8] [daemon-id=LogBackup::Advancer] [2025/04/04 10:37:31.483 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:37:31.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:37:31.484 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=17679e55-758c-4491-97bc-b8e5028f612d] [error="context canceled"] [2025/04/04 10:37:31.484 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=17679e55-758c-4491-97bc-b8e5028f612d] [2025/04/04 10:37:31.500 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:37:31.500 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:37:31.548 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=17679e55-758c-4491-97bc-b8e5028f612d] [error="context canceled"] [2025/04/04 10:37:31.548 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:37:31.548 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:37:31.558 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=87.746222ms] [2025/04/04 10:37:32.578 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:37:36.467 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117021355114508 commit_ts:457117021355114509 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:37:36.467 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117021355114508 commit_ts:457117021355114509 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:37:36.466 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117021355114508 commit_ts:457117021355114509 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:37:36.467 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:36.467 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:36.467 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:36.467 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:36.467 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:36.467 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:36.467 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:36.467 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:36.467 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:36.467 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:36.467 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:36.467 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:36.469 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestVariable (5.91s) === NAME === RUN TestPipelinedDMLPositive [2025/04/04 10:37:36.477 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:37:36.477 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:37:36.478 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347877260180] [2025/04/04 10:37:36.479 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:36.479 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:37:36.479 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:36.479 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:36.479 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:36.479 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:36.480 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:36.480 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:36.484 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:37:36.489 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:37:36.489 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:37:36.490 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:37:36.500 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404347877260180] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:37:36.509 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:37:36.546 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1047] ["lease id"=3eaa96005d3970f6] [2025/04/04 10:37:36.548 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:37:36.636 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=244] ["elapsed time"=85.034059ms] [2025/04/04 10:37:36.636 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:37:36.638 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:37:36.644 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=f9b2a139-df56-4ef6-9c0d-b83934924de9] [runWorker=true] [jobVersion=v2] [2025/04/04 10:37:36.644 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:37:36.646 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [2025/04/04 10:37:36.647 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:37:36.647 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 142333202432/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:37:36.647 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:37:36.647 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:37:36.647 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:37:36.647 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:37:36.647 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:37:36.648 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:37:36.648 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:37:36.648 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:37:36.648 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:37:36.648 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:37:36.648 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:37:36.648 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:37:36.648 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=7e9f4c2e-2cda-4bbe-89b8-f060bb4bccbd] [2025/04/04 10:37:36.650 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d3970fc] [ownerID=f9b2a139-df56-4ef6-9c0d-b83934924de9] [op=none] [2025/04/04 10:37:36.650 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [2025/04/04 10:37:36.650 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [ownerKey=/tidb/ddl/fg/owner/3eaa96005d3970fc] [currRev=1187] [2025/04/04 10:37:36.650 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:37:36.650 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=7e9f4c2e-2cda-4bbe-89b8-f060bb4bccbd] [daemon-id=LogBackup::Advancer] [2025/04/04 10:37:36.651 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:37:36.651 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/223196005d3975f2] [ownerID=7e9f4c2e-2cda-4bbe-89b8-f060bb4bccbd] [op=none] [2025/04/04 10:37:36.651 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=7e9f4c2e-2cda-4bbe-89b8-f060bb4bccbd] [2025/04/04 10:37:36.651 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=7e9f4c2e-2cda-4bbe-89b8-f060bb4bccbd] [ownerKey=/tidb/br-stream/owner/223196005d3975f2] [currRev=1188] [2025/04/04 10:37:36.652 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d3970fc] [ownerID=f9b2a139-df56-4ef6-9c0d-b83934924de9] [op=none] [2025/04/04 10:37:36.652 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [op=none] [2025/04/04 10:37:36.652 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:37:36.656 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1054]Unknown column 'b' in 'field list'"] [errorVerbose="[planner:1054]Unknown column 'b' in 'field list'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildUpdateLists\n\tpkg/planner/core/logical_plan_builder.go:5685\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildUpdate\n\tpkg/planner/core/logical_plan_builder.go:5548\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:545\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildExplain\n\tpkg/planner/core/planbuilder.go:5469\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:514\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLPositive\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:174\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:36.659 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [2025/04/04 10:37:36.660 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:37:36.660 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:37:36.669 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:37:36.676 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:37:36.680 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:37:36.680 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:37:36.680 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:37:36.680 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:37:36.680 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:37:36.680 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:37:36.680 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:37:36.680 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:37:36.681 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:37:36.681 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:37:36.682 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [2025/04/04 10:37:36.682 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:37:36.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:37:36.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:37:36.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:37:36.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:37:36.683 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:37:36.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:37:36.683 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:37:36.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:37:36.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:37:36.683 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:37:36.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:37:36.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:37:36.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:37:36.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:37:36.685 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:37:36.685 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa96005d397104] [ownerID=f9b2a139-df56-4ef6-9c0d-b83934924de9] [op=none] [2025/04/04 10:37:36.685 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [2025/04/04 10:37:36.685 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [ownerKey=/tidb/stats/owner/3eaa96005d397104] [currRev=1190] [2025/04/04 10:37:36.687 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/faf18527-5278-444f-be3c-cf77bc42bada] [2025/04/04 10:37:36.687 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:37:36.688 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f9b2a139-df56-4ef6-9c0d-b83934924de9] [ttl-worker=task-manager] [ttl-worker=f9b2a139-df56-4ef6-9c0d-b83934924de9] [originalCount=0] [newCount=4] [2025/04/04 10:37:36.688 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f9b2a139-df56-4ef6-9c0d-b83934924de9] [ttl-worker=task-manager] [ttl-worker=f9b2a139-df56-4ef6-9c0d-b83934924de9] [originalCount=0] [newCount=4] [Pipeline] // script [2025/04/04 10:37:36.688 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=f9b2a139-df56-4ef6-9c0d-b83934924de9] [2025/04/04 10:37:36.691 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:37:36.692 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:37:36.692 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763056692335500 [2025/04/04 10:37:36.692 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:37:36.699 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.013705ms] [2025/04/04 10:37:36.699 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:37:36.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:37:36.705 +00:00] [INFO] [set.go:172] ["set global var"] [conn=4] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:37:36.719 +00:00] [INFO] [set.go:172] ["set global var"] [conn=4] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:37:36.722 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=244] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:37:36.734 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:278, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:36.683 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:36.734 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:278, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:36.683 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:37:36.740 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=278] [conn=4] [job="ID:278, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:276, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:36.683 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:36.755 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=244] [neededSchemaVersion=245] ["elapsed time"=1.803135ms] [gotSchemaVersion=245] [phyTblIDs="[276]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:37:36.758 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=278] [version=245] [2025/04/04 10:37:36.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=245] ["take time"=9.437764ms] [job="ID:278, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:36.683 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:36.770 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=278] [conn=4] [job="ID:278, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:276, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:36.683 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:36.784 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=245] [neededSchemaVersion=246] ["elapsed time"=1.701102ms] [gotSchemaVersion=246] [phyTblIDs="[276]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:37:36.788 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=278] [version=246] [2025/04/04 10:37:36.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=246] ["take time"=8.360555ms] [job="ID:278, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:36.683 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:36.797 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=278] [conn=4] [job="ID:278, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:276, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:36.683 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:36.803 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 276, Old Table Name: t)"] [2025/04/04 10:37:36.815 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=246] [neededSchemaVersion=247] ["elapsed time"=1.112482ms] [gotSchemaVersion=247] [phyTblIDs="[276]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:37:36.818 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=278] [version=247] [2025/04/04 10:37:36.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=247] ["take time"=7.98781ms] [job="ID:278, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:36.683 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:36.829 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=278] [tableIDs="[276]"] [comment="drop table: table ID"] [2025/04/04 10:37:36.836 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=278] [jobType="drop table"] [2025/04/04 10:37:36.837 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=278] [conn=4] [job="ID:278, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:36.683 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:36.854 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=278] [2025/04/04 10:37:36.854 +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: 1743763056855198211 [2025/04/04 10:37:36.858 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=247] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 10:37:36.871 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:280, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:36.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:36.871 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:280, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:36.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int, b int)"] [2025/04/04 10:37:36.877 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=280] [conn=5] [job="ID:280, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:279, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:36.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:36.881 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 279, Table Name: t)"] [2025/04/04 10:37:36.895 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=247] [neededSchemaVersion=248] ["elapsed time"=1.402296ms] [gotSchemaVersion=248] [phyTblIDs="[279]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:36.899 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=280] [version=248] [2025/04/04 10:37:36.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=248] ["take time"=8.535426ms] [job="ID:280, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:36.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:36.912 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=280] [conn=5] [job="ID:280, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:279, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:36.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:36.923 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=280] [2025/04/04 10:37:36.923 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=248] [cur_db=test] [sql="create table t (a int, b int)"] [user=] [2025/04/04 10:37:36.931 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117022783537173] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=936.488µs] [2025/04/04 10:37:36.932 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.027124ms] [total_duration=1.387518ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457117022783537173] [2025/04/04 10:37:36.932 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117022783537173] [startKey=7480000000000001175f728000000000000002] [endKey=7480000000000001175f728000000000000002] [2025/04/04 10:37:36.932 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117022783537173] [commitTS=0] [session=5] [2025/04/04 10:37:36.936 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117022783537175] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=2.130365ms] [2025/04/04 10:37:36.936 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=2.224112ms] [total_duration=2.625555ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457117022783537175] [2025/04/04 10:37:36.936 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117022783537175] [startKey=7480000000000001175f728000000000000003] [endKey=7480000000000001175f728000000000000003] [2025/04/04 10:37:36.936 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117022783537175] [commitTS=0] [session=5] [2025/04/04 10:37:36.943 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117022796906498] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=790.696µs] [2025/04/04 10:37:36.943 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=881.031µs] [total_duration=5.364148ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457117022796906498] [2025/04/04 10:37:36.944 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117022796906498] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 10:37:36.944 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117022796906498] [commitTS=0] [session=5] [2025/04/04 10:37:36.951 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117022796906500] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117022796906498, lockForUpdateTS:0, minCommitTs:457117022796906501, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:37.020 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117022796906500] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117022796906498, lockForUpdateTS:0, minCommitTs:457117022796906501, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:37.183 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117022796906500] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117022796906498, lockForUpdateTS:0, minCommitTs:457117022796906501, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:37.505 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117022796906500] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117022796906498, lockForUpdateTS:0, minCommitTs:457117022796906501, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:37.655 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:37:37.656 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:37:37.656 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:37:37.656 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:37:37.688 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:37:37.688 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:37:37.688 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/faf18527-5278-444f-be3c-cf77bc42bada] [watcherID=c35d36e6-fe94-4748-be84-7d6beab95f28] [2025/04/04 10:37:37.692 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:37:37.698 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:37:37.698 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:37:37.698 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:37:37.698 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:37:37.960 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117022796906500] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117022796906498, lockForUpdateTS:0, minCommitTs:457117022796906501, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:38.485 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:37:38.648 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:37:39.234 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117022796906500] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117022796906498, lockForUpdateTS:0, minCommitTs:457117022796906501, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:39.686 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/04 10:37:39.686 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/04 10:37:40.896 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117022796906500] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117022796906498, lockForUpdateTS:0, minCommitTs:457117022796906501, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:41.211 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/3eaa96005d397102] [ownerID=f9b2a139-df56-4ef6-9c0d-b83934924de9] [op=none] [2025/04/04 10:37:41.212 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [2025/04/04 10:37:41.212 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [ownerKey=/tidb/bindinfo/owner/3eaa96005d397102] [currRev=1205] [2025/04/04 10:37:41.948 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117022796906500] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117022796906498, lockForUpdateTS:0, minCommitTs:457117022796906501, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:42.000 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117022796906500] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117022796906498, lockForUpdateTS:0, minCommitTs:457117022796906501, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:42.001 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117022796906500] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117022796906498, lockForUpdateTS:0, minCommitTs:457117022796906501, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:42.002 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117022796906500] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117022796906498, lockForUpdateTS:0, minCommitTs:457117022796906501, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:42.003 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117022796906500] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117022796906498, lockForUpdateTS:0, minCommitTs:457117022796906501, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:42.004 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117022796906500] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117022796906498, lockForUpdateTS:0, minCommitTs:457117022796906501, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:42.005 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117022796906498, lockForUpdateTS:0, minCommitTs:457117022796906501, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:42.007 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117022796906500] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=5.056621201s] [2025/04/04 10:37:42.007 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.056709284s] [total_duration=5.061810703s] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457117022796906500] [2025/04/04 10:37:42.008 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117022796906500] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 10:37:42.008 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117022796906500] [commitTS=0] [session=5] [2025/04/04 10:37:42.011 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117022796906500, lockForUpdateTS:0, minCommitTs:457117022796906501, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:42.012 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000002, primary: 7480000000000001175f728000000000000002, txnStartTS: 457117022783537173, lockForUpdateTS:0, minCommitTs:457117022796906501, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:42.013 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000003, primary: 7480000000000001175f728000000000000003, txnStartTS: 457117022783537175, lockForUpdateTS:0, minCommitTs:457117022796906501, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:42.015 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117024120733699] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=862.093µs] [2025/04/04 10:37:42.015 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=958.7µs] [total_duration=6.46594ms] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457117024120733699] [2025/04/04 10:37:42.016 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117024120733699] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 10:37:42.016 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117024120733699] [commitTS=0] [session=5] [2025/04/04 10:37:42.020 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117024120733701] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733699, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:42.116 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117024120733701] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733699, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:42.308 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117024120733701] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733699, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:42.689 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117024120733701] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733699, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:43.327 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117024120733701] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733699, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:44.526 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117024120733701] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733699, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:46.391 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117024120733701] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733699, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:47.043 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117024120733701] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733699, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:47.044 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117024120733701] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733699, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:47.045 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117024120733701] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733699, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:47.046 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117024120733701] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733699, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:47.046 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117024120733701] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733699, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:47.047 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117024120733701] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733699, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:47.048 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117024120733701] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733699, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:47.049 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117024120733701] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733699, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:47.050 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117024120733701] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733699, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:47.051 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117024120733701] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733699, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:47.052 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117024120733701] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733699, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:47.053 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117024120733701] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733699, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:47.054 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117024120733701] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733699, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:47.055 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733699, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:47.057 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117024120733701] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=5.037245929s] [2025/04/04 10:37:47.057 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.037346037s] [total_duration=5.039853378s] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457117024120733701] [2025/04/04 10:37:47.058 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117024120733701] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 10:37:47.058 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117024120733701] [commitTS=0] [session=5] [2025/04/04 10:37:47.060 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117025444560899] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=914.481µs] [2025/04/04 10:37:47.060 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.015278ms] [total_duration=1.501026ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457117025444560899] [2025/04/04 10:37:47.061 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117025444560899] [startKey=7480000000000001175f728000000000000004] [endKey=7480000000000001175f728000000000000004] [2025/04/04 10:37:47.061 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117025444560899] [commitTS=0] [session=5] [2025/04/04 10:37:47.065 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117024120733701, lockForUpdateTS:0, minCommitTs:457117024120733702, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:47.069 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117025444560901] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=921.602µs] [2025/04/04 10:37:47.069 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.056138ms] [total_duration=5.379006ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457117025444560901] [2025/04/04 10:37:47.069 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117025444560901] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 10:37:47.069 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117025444560901] [commitTS=0] [session=5] [2025/04/04 10:37:47.075 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117025444560903] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=797.301µs] [2025/04/04 10:37:47.076 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=879.486µs] [total_duration=5.025684ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457117025444560903] [2025/04/04 10:37:47.076 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117025444560903] [startKey=7480000000000001175f728000000000000005] [endKey=7480000000000001175f728000000000000005] [2025/04/04 10:37:47.076 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117025444560903] [commitTS=0] [session=5] [2025/04/04 10:37:47.084 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:47.170 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:47.353 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:47.742 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:48.380 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:48.650 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=7e9f4c2e-2cda-4bbe-89b8-f060bb4bccbd] [daemon-id=LogBackup::Advancer] [2025/04/04 10:37:48.650 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/04 10:37:48.650 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:37:49.609 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:51.283 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.086 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.087 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.089 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.089 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.090 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.091 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.092 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.093 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.094 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.095 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.096 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.097 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.098 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.099 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.100 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.101 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.102 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.103 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.104 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117025444560905] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.105 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560901, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.107 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117025444560905] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=5.023491977s] [2025/04/04 10:37:52.107 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.02359263s] [total_duration=5.029092579s] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457117025444560905] [2025/04/04 10:37:52.107 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117025444560905] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 10:37:52.107 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117025444560905] [commitTS=0] [session=5] [2025/04/04 10:37:52.140 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=248] [cur_db=test] [sql="create global binding for update t set b = b + 1 using update /*+ SET_VAR(tidb_dml_type=bulk) */ t set b = b + 1"] [user=] [2025/04/04 10:37:52.168 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=248] [cur_db=test] [sql="create global binding for insert into t select * from t using insert /*+ SET_VAR(tidb_dml_type=bulk) */ into t select * from t"] [user=] [2025/04/04 10:37:52.195 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=248] [cur_db=test] [sql="create global binding for delete from t using delete /*+ SET_VAR(tidb_dml_type=bulk) */ from t"] [user=] [2025/04/04 10:37:52.199 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117025444560905, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.200 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000004, primary: 7480000000000001175f728000000000000004, txnStartTS: 457117025444560899, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.201 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000005, primary: 7480000000000001175f728000000000000005, txnStartTS: 457117025444560903, lockForUpdateTS:0, minCommitTs:457117025444560906, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.203 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117026794602500] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=811.079µs] [2025/04/04 10:37:52.203 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=890.996µs] [total_duration=6.239661ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457117026794602500] [2025/04/04 10:37:52.204 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117026794602500] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 10:37:52.204 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117026794602500] [commitTS=0] [session=5] [2025/04/04 10:37:52.209 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117026794602503] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=749.062µs] [2025/04/04 10:37:52.209 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=842.158µs] [total_duration=3.548326ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457117026794602503] [2025/04/04 10:37:52.209 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117026794602503] [startKey=7480000000000001175f728000000000000006] [endKey=7480000000000001175f728000000000000006] [2025/04/04 10:37:52.209 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117026794602503] [commitTS=0] [session=5] [2025/04/04 10:37:52.215 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.291 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.459 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:52.798 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:53.221 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:54.470 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:56.804 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.206 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.207 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.208 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.209 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.210 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.211 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.211 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.212 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.213 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.214 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.215 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.216 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.217 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.217 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.218 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.219 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.220 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.221 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.222 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.223 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.224 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.224 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.225 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.226 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.227 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.228 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.229 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.230 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.230 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.231 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.232 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.233 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.234 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.234 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.235 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.236 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.237 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.238 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.239 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.240 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.241 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.241 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.242 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.243 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.244 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.245 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.246 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.247 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.247 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.248 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.249 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.250 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.251 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.252 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.253 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.253 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117026794602505] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.255 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117026794602500, lockForUpdateTS:0, minCommitTs:457117026794602506, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:37:57.256 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117026794602505] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=5.042036598s] [2025/04/04 10:37:57.256 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.04213219s] [total_duration=5.045988351s] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457117026794602505] [2025/04/04 10:37:57.257 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117026794602505] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 10:37:57.257 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117026794602505] [commitTS=0] [session=5] [2025/04/04 10:37:57.257 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:37:57.257 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [] [2025/04/04 10:37:57.257 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:37:57.257 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [2025/04/04 10:37:57.257 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:37:57.257 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:37:57.257 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=49.314µs] [2025/04/04 10:37:57.257 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=41.135µs] [2025/04/04 10:37:57.258 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [2025/04/04 10:37:57.258 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [2025/04/04 10:37:57.259 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:37:57.259 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:37:57.260 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=f9b2a139-df56-4ef6-9c0d-b83934924de9] ["take time"=2.913502ms] [2025/04/04 10:37:57.260 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=f9b2a139-df56-4ef6-9c0d-b83934924de9] [2025/04/04 10:37:57.260 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:37:57.260 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:37:57.260 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/faf18527-5278-444f-be3c-cf77bc42bada] [watcherID=c35d36e6-fe94-4748-be84-7d6beab95f28] [2025/04/04 10:37:57.260 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/faf18527-5278-444f-be3c-cf77bc42bada] [2025/04/04 10:37:57.260 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f9b2a139-df56-4ef6-9c0d-b83934924de9] [ttl-worker=task-manager] [ttl-worker=f9b2a139-df56-4ef6-9c0d-b83934924de9] [originalCount=4] [newCount=0] [2025/04/04 10:37:57.260 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:37:57.260 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:37:57.260 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:37:57.260 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:37:57.260 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f9b2a139-df56-4ef6-9c0d-b83934924de9] [ttl-worker=task-manager] [ttl-worker=f9b2a139-df56-4ef6-9c0d-b83934924de9] [originalCount=4] [newCount=0] [2025/04/04 10:37:57.263 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:37:57.263 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:37:57.263 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:37:57.263 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:37:57.265 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=f9b2a139-df56-4ef6-9c0d-b83934924de9] [2025/04/04 10:37:57.265 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1047] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:37:57.266 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=7e9f4c2e-2cda-4bbe-89b8-f060bb4bccbd] [] [2025/04/04 10:37:57.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:37:57.266 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:37:57.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:37:57.266 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=7e9f4c2e-2cda-4bbe-89b8-f060bb4bccbd] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:37:57.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:37:57.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:37:57.266 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:37:57.266 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:57.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:37:57.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [2025/04/04 10:37:57.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:37:57.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:37:57.266 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:37:57.266 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:37:57.266 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:57.266 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:37:57.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:37:57.266 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:37:57.266 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:57.267 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:57.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:37:57.266 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=7e9f4c2e-2cda-4bbe-89b8-f060bb4bccbd] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:37:57.267 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=7e9f4c2e-2cda-4bbe-89b8-f060bb4bccbd] [2025/04/04 10:37:57.267 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:37:57.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:37:57.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:37:57.267 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:37:57.267 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:37:57.266 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:57.267 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:37:57.267 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:57.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:37:57.266 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:57.266 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:57.267 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:57.267 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:37:57.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:37:57.267 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:37:57.266 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:37:57.267 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [] [2025/04/04 10:37:57.267 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:37:57.267 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [2025/04/04 10:37:57.267 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:37:57.266 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [2025/04/04 10:37:57.267 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:37:57.267 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:37:57.267 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [2025/04/04 10:37:57.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:37:57.267 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:37:57.267 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:37:57.267 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [2025/04/04 10:37:57.268 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:37:57.268 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:37:57.268 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:37:57.268 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:37:57.268 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:37:57.268 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:37:57.268 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/04 10:37:57.268 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [] [2025/04/04 10:37:57.268 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:37:57.268 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=7e9f4c2e-2cda-4bbe-89b8-f060bb4bccbd] [daemon-id=LogBackup::Advancer] [2025/04/04 10:37:57.268 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:37:57.268 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [2025/04/04 10:37:57.268 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [2025/04/04 10:37:57.268 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:37:57.268 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [error="context canceled"] [2025/04/04 10:37:57.268 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [2025/04/04 10:37:57.268 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:37:57.268 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:37:57.268 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:37:57.284 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:37:57.284 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:37:57.330 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=f9b2a139-df56-4ef6-9c0d-b83934924de9] [error="context canceled"] [2025/04/04 10:37:57.330 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:37:57.330 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:37:57.342 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.951183ms] [2025/04/04 10:38:02.258 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117026794602505 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:02.258 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117026794602505 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:02.258 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117026794602505 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:02.258 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:38:02.258 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:38:02.258 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:38:02.258 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:38:02.258 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:38:02.258 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:38:02.258 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:38:02.258 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:38:02.258 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:38:02.258 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:02.258 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:38:02.258 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:38:02.260 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLPositive (25.79s) === NAME === RUN TestPipelinedDMLNegative [2025/04/04 10:38:02.267 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:38:02.268 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:38:02.268 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347877260180] [2025/04/04 10:38:02.269 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:38:02.269 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:38:02.269 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:38:02.269 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:38:02.269 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:38:02.269 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:38:02.270 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:38:02.270 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:38:02.273 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:38:02.278 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:02.279 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:02.280 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:02.288 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404347877260180] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:38:02.297 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:38:02.332 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1914] ["lease id"=223196005d397641] [2025/04/04 10:38:02.334 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:38:02.417 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=248] ["elapsed time"=80.570206ms] [2025/04/04 10:38:02.417 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:38:02.419 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:38:02.425 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [runWorker=true] [jobVersion=v2] [2025/04/04 10:38:02.425 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:38:02.427 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [2025/04/04 10:38:02.428 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:38:02.428 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 142333210624/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:38:02.428 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:02.428 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:02.428 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:02.428 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:02.428 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:02.428 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:02.428 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:02.428 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:02.428 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:02.428 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:38:02.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:02.428 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:02.428 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=75ae7c63-9450-4521-980d-52bca575989c] [2025/04/04 10:38:02.430 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d397646] [ownerID=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [op=none] [2025/04/04 10:38:02.430 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [2025/04/04 10:38:02.430 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [ownerKey=/tidb/ddl/fg/owner/223196005d397646] [currRev=1229] [2025/04/04 10:38:02.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:02.431 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=75ae7c63-9450-4521-980d-52bca575989c] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:02.432 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f1896005d397d32] [ownerID=75ae7c63-9450-4521-980d-52bca575989c] [op=none] [2025/04/04 10:38:02.432 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=75ae7c63-9450-4521-980d-52bca575989c] [2025/04/04 10:38:02.432 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=75ae7c63-9450-4521-980d-52bca575989c] [ownerKey=/tidb/br-stream/owner/6f1896005d397d32] [currRev=1230] [2025/04/04 10:38:02.432 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:38:02.433 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d397646] [ownerID=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [op=none] [2025/04/04 10:38:02.433 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [op=none] [2025/04/04 10:38:02.433 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:38:02.443 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [2025/04/04 10:38:02.444 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:02.444 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:38:02.452 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:02.458 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:02.462 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:02.462 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:02.462 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:02.462 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:38:02.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:02.463 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:38:02.463 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:38:02.463 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:38:02.463 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:38:02.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:02.463 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [2025/04/04 10:38:02.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:02.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:02.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:02.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:02.465 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:38:02.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:02.465 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:38:02.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:02.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:02.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:02.465 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:38:02.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:02.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:02.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:02.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:02.466 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:38:02.467 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/223196005d39764e] [ownerID=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [op=none] [2025/04/04 10:38:02.467 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [2025/04/04 10:38:02.467 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [ownerKey=/tidb/stats/owner/223196005d39764e] [currRev=1232] [2025/04/04 10:38:02.469 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:38:02.469 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/f8612b36-0d50-469e-ad7a-eaea2572f266] [2025/04/04 10:38:02.469 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [ttl-worker=task-manager] [ttl-worker=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [originalCount=0] [newCount=4] [2025/04/04 10:38:02.469 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [ttl-worker=task-manager] [ttl-worker=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [originalCount=0] [newCount=4] [2025/04/04 10:38:02.470 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [2025/04/04 10:38:02.470 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:02.470 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:38:02.470 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763082470699546 [2025/04/04 10:38:02.473 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:38:02.479 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=15.670364ms] [2025/04/04 10:38:02.479 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:38:02.479 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:02.488 +00:00] [INFO] [set.go:172] ["set global var"] [conn=6] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:38:02.490 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=248] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:38:02.502 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:281, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:02.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:02.502 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:281, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:02.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:38:02.507 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=281] [conn=6] [job="ID:281, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:279, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:02.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:02.521 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=248] [neededSchemaVersion=249] ["elapsed time"=1.651911ms] [gotSchemaVersion=249] [phyTblIDs="[279]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:02.524 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=249] [2025/04/04 10:38:02.526 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=249] ["take time"=8.378094ms] [job="ID:281, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:02.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:02.535 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=281] [conn=6] [job="ID:281, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:279, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:02.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:02.550 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=249] [neededSchemaVersion=250] ["elapsed time"=1.840672ms] [gotSchemaVersion=250] [phyTblIDs="[279]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:02.554 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=250] [2025/04/04 10:38: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=250] ["take time"=9.225363ms] [job="ID:281, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:02.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:02.565 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=281] [conn=6] [job="ID:281, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:279, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:02.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:02.571 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 279, Old Table Name: t)"] [2025/04/04 10:38:02.584 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=250] [neededSchemaVersion=251] ["elapsed time"=1.101315ms] [gotSchemaVersion=251] [phyTblIDs="[279]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:02.587 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=251] [2025/04/04 10:38:02.589 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=251] ["take time"=8.174854ms] [job="ID:281, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:02.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:02.598 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=281] [tableIDs="[279]"] [comment="drop table: table ID"] [2025/04/04 10:38:02.606 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=281] [jobType="drop table"] [2025/04/04 10:38:02.606 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=281] [conn=6] [job="ID:281, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:02.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:02.624 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=281] [2025/04/04 10:38:02.625 +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: 1743763082625515377 [2025/04/04 10:38:02.642 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:38:02.644 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=251] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 10:38:02.657 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:283, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:02.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:02.657 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:283, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:02.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:38:02.662 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=283] [conn=7] [job="ID:283, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:282, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:02.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:02.666 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 282, Table Name: t)"] [2025/04/04 10:38:02.680 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=251] [neededSchemaVersion=252] ["elapsed time"=1.488684ms] [gotSchemaVersion=252] [phyTblIDs="[282]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:02.684 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=283] [version=252] [2025/04/04 10:38:02.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=252] ["take time"=8.876019ms] [job="ID:283, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:02.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:02.697 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=283] [conn=7] [job="ID:283, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:282, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:02.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:02.708 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=283] [2025/04/04 10:38:02.708 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=252] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 10:38:02.710 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029546852363] [2025/04/04 10:38:02.727 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029546852371] [2025/04/04 10:38:02.734 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029546852374] [2025/04/04 10:38:02.748 +00:00] [INFO] [ddl.go:1174] ["switch metadata lock feature"] [category=ddl] [enable=false] [2025/04/04 10:38:02.770 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_enable_metadata_lock] [val=off] [2025/04/04 10:38:02.772 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029560221712] [2025/04/04 10:38:02.780 +00:00] [INFO] [ddl.go:1174] ["switch metadata lock feature"] [category=ddl] [enable=true] [2025/04/04 10:38:02.798 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_enable_metadata_lock] [val=ON] [2025/04/04 10:38:02.801 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029573328901] [2025/04/04 10:38:02.804 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:38:02.804 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [] [2025/04/04 10:38:02.804 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:38:02.804 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [2025/04/04 10:38:02.804 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:02.804 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:02.804 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=38µs] [2025/04/04 10:38:02.804 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=38.631µs] [2025/04/04 10:38:02.805 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [2025/04/04 10:38:02.805 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [2025/04/04 10:38:02.805 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:38:02.806 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:38:02.806 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=2cebd6eb-15df-489b-a8d8-6026f0336c0d] ["take time"=2.20411ms] [2025/04/04 10:38:02.806 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [2025/04/04 10:38:02.806 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:38:02.806 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/f8612b36-0d50-469e-ad7a-eaea2572f266] [2025/04/04 10:38:02.806 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [ttl-worker=task-manager] [ttl-worker=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [originalCount=4] [newCount=0] [2025/04/04 10:38:02.807 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:02.807 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:02.807 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:02.807 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:02.807 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [ttl-worker=task-manager] [ttl-worker=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [originalCount=4] [newCount=0] [2025/04/04 10:38:02.809 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:02.809 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:02.809 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:02.809 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:02.812 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [2025/04/04 10:38:02.812 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1914] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:38:02.813 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:38:02.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:02.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:38:02.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:38:02.813 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:38:02.813 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:38:02.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:38:02.813 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:02.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:02.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:38:02.813 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [] [2025/04/04 10:38:02.813 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=75ae7c63-9450-4521-980d-52bca575989c] [] [2025/04/04 10:38:02.813 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:02.813 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:02.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:38:02.813 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:02.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:38:02.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:02.813 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:38:02.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:02.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:02.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:38:02.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:02.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:02.813 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:38:02.813 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:02.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:38:02.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:38:02.814 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:02.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:02.813 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:02.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:38:02.813 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:38:02.814 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:38:02.813 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:02.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:02.813 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [2025/04/04 10:38:02.814 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:02.813 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=75ae7c63-9450-4521-980d-52bca575989c] [2025/04/04 10:38:02.814 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=75ae7c63-9450-4521-980d-52bca575989c] [2025/04/04 10:38:02.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:02.814 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [2025/04/04 10:38:02.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:02.814 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=75ae7c63-9450-4521-980d-52bca575989c] [2025/04/04 10:38:02.814 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:38:02.814 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [2025/04/04 10:38:02.814 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:38:02.814 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:02.815 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:38:02.815 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:38:02.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:02.815 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:38:02.815 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:38:02.815 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=75ae7c63-9450-4521-980d-52bca575989c] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:02.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:02.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:02.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:02.815 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:38:02.816 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:38:02.816 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [error="context canceled"] [2025/04/04 10:38:02.817 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [2025/04/04 10:38:02.832 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:38:02.832 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:02.876 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=2cebd6eb-15df-489b-a8d8-6026f0336c0d] [error="context canceled"] [2025/04/04 10:38:02.876 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:38:02.876 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:02.887 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=82.466584ms] [2025/04/04 10:38:02.889 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:38:02.889 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:38:02.889 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:38:02.889 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:38:02.889 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:38:02.889 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:38:02.889 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:38:02.889 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:38:02.889 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:02.889 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:38:02.889 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:38:02.889 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:38:02.890 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLNegative (0.63s) === NAME === RUN TestPipelinedDMLInsert [2025/04/04 10:38:02.895 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:38:02.896 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:38:02.896 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347877260180] [2025/04/04 10:38:02.897 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:38:02.897 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:38:02.897 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:38:02.897 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:38:02.897 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:38:02.897 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:38:02.898 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:38:02.898 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:38:02.902 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:38:02.906 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:02.907 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:02.907 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:02.916 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404347877260180] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:38:02.926 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:38:02.960 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=248] ["lease id"=3eaa96005d39719f] [2025/04/04 10:38:02.962 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:38:03.046 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=252] ["elapsed time"=81.915522ms] [2025/04/04 10:38:03.046 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:38:03.048 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:38:03.053 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=6ce9902d-d447-489a-95b2-273016c7a78f] [runWorker=true] [jobVersion=v2] [2025/04/04 10:38:03.053 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:38:03.055 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=6ce9902d-d447-489a-95b2-273016c7a78f] [2025/04/04 10:38:03.056 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:38:03.057 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 142333222912/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:38:03.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:03.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:03.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:03.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:03.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:03.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:03.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:03.057 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:38:03.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:03.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:03.057 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:03.057 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:03.057 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=dc6fc85d-b4f1-4f7f-b68f-6ccc0e71e5a5] [2025/04/04 10:38:03.059 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d397d4d] [ownerID=6ce9902d-d447-489a-95b2-273016c7a78f] [op=none] [2025/04/04 10:38:03.059 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=6ce9902d-d447-489a-95b2-273016c7a78f] [2025/04/04 10:38:03.059 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=6ce9902d-d447-489a-95b2-273016c7a78f] [ownerKey=/tidb/ddl/fg/owner/6f1896005d397d4d] [currRev=1261] [2025/04/04 10:38:03.059 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:03.059 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=dc6fc85d-b4f1-4f7f-b68f-6ccc0e71e5a5] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:03.060 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:38:03.060 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/223196005d397661] [ownerID=dc6fc85d-b4f1-4f7f-b68f-6ccc0e71e5a5] [op=none] [2025/04/04 10:38:03.060 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=dc6fc85d-b4f1-4f7f-b68f-6ccc0e71e5a5] [2025/04/04 10:38:03.060 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=dc6fc85d-b4f1-4f7f-b68f-6ccc0e71e5a5] [ownerKey=/tidb/br-stream/owner/223196005d397661] [currRev=1262] [2025/04/04 10:38:03.061 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d397d4d] [ownerID=6ce9902d-d447-489a-95b2-273016c7a78f] [op=none] [2025/04/04 10:38:03.061 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=6ce9902d-d447-489a-95b2-273016c7a78f] [op=none] [2025/04/04 10:38:03.061 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:38:03.069 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=6ce9902d-d447-489a-95b2-273016c7a78f] [2025/04/04 10:38:03.070 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:03.070 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:38:03.078 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:03.084 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:03.088 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:03.088 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:03.088 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:38:03.088 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:03.088 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:38:03.088 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:03.088 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:38:03.088 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:38:03.088 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:38:03.089 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:03.089 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=6ce9902d-d447-489a-95b2-273016c7a78f] [2025/04/04 10:38:03.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:03.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:03.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:03.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:03.090 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:38:03.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:03.090 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:38:03.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:03.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:03.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:03.090 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:38:03.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:03.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:03.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:03.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:03.092 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:38:03.092 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa96005d3971aa] [ownerID=6ce9902d-d447-489a-95b2-273016c7a78f] [op=none] [2025/04/04 10:38:03.092 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=6ce9902d-d447-489a-95b2-273016c7a78f] [2025/04/04 10:38:03.092 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=6ce9902d-d447-489a-95b2-273016c7a78f] [ownerKey=/tidb/stats/owner/3eaa96005d3971aa] [currRev=1264] [2025/04/04 10:38:03.094 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:38:03.095 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:03.095 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/eb559ff9-c9d0-4d7f-81a6-689b01b85c30] [2025/04/04 10:38:03.095 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:38:03.095 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763083095393945 [2025/04/04 10:38:03.095 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=6ce9902d-d447-489a-95b2-273016c7a78f] [ttl-worker=task-manager] [ttl-worker=6ce9902d-d447-489a-95b2-273016c7a78f] [originalCount=0] [newCount=4] [2025/04/04 10:38:03.095 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=6ce9902d-d447-489a-95b2-273016c7a78f] [ttl-worker=task-manager] [ttl-worker=6ce9902d-d447-489a-95b2-273016c7a78f] [originalCount=0] [newCount=4] [2025/04/04 10:38:03.095 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=6ce9902d-d447-489a-95b2-273016c7a78f] [2025/04/04 10:38:03.098 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:38:03.105 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=15.736227ms] [2025/04/04 10:38:03.105 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:03.105 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:38:03.107 +00:00] [INFO] [set.go:172] ["set global var"] [conn=8] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:38:03.110 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=252] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:38:03.121 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:284, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:03.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:03.121 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:284, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:03.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:38:03.127 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=284] [conn=8] [job="ID:284, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:282, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:03.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:03.143 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=252] [neededSchemaVersion=253] ["elapsed time"=1.817585ms] [gotSchemaVersion=253] [phyTblIDs="[282]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:03.146 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=284] [version=253] [2025/04/04 10:38:03.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=253] ["take time"=9.41973ms] [job="ID:284, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:03.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:03.158 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=284] [conn=8] [job="ID:284, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:282, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:03.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:03.173 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=253] [neededSchemaVersion=254] ["elapsed time"=1.730177ms] [gotSchemaVersion=254] [phyTblIDs="[282]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:03.176 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=284] [version=254] [2025/04/04 10:38:03.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=254] ["take time"=8.257513ms] [job="ID:284, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:03.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:03.185 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=284] [conn=8] [job="ID:284, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:282, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:03.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:03.191 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 282, Old Table Name: t)"] [2025/04/04 10:38:03.202 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=254] [neededSchemaVersion=255] ["elapsed time"=862.924µs] [gotSchemaVersion=255] [phyTblIDs="[282]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:03.206 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=284] [version=255] [2025/04/04 10:38:03.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=255] ["take time"=7.14616ms] [job="ID:284, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:03.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:03.215 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=284] [tableIDs="[282]"] [comment="drop table: table ID"] [2025/04/04 10:38:03.222 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=284] [jobType="drop table"] [2025/04/04 10:38:03.223 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=284] [conn=8] [job="ID:284, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:03.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:03.240 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=284] [2025/04/04 10:38:03.240 +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: 1743763083240904890 [2025/04/04 10:38:03.244 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=255] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 10:38:03.256 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:286, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:03.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:03.256 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:286, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:03.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:38:03.261 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=286] [conn=9] [job="ID:286, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:285, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:03.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:03.266 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 285, Table Name: t)"] [2025/04/04 10:38:03.279 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=255] [neededSchemaVersion=256] ["elapsed time"=1.377161ms] [gotSchemaVersion=256] [phyTblIDs="[285]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:03.283 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=286] [version=256] [2025/04/04 10:38:03.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=256] ["take time"=8.494403ms] [job="ID:286, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:03.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:03.295 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=286] [conn=9] [job="ID:286, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:285, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:03.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:03.305 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=286] [2025/04/04 10:38:03.305 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=256] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 10:38:03.317 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:288, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:03.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:03.317 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:288, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:03.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 10:38:03.323 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=288] [conn=9] [job="ID:288, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:03.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:03.327 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 287, Table Name: _t)"] [2025/04/04 10:38:03.341 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=256] [neededSchemaVersion=257] ["elapsed time"=1.488729ms] [gotSchemaVersion=257] [phyTblIDs="[287]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:03.344 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=288] [version=257] [2025/04/04 10:38:03.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=257] ["take time"=8.145945ms] [job="ID:288, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:03.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:03.356 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=288] [conn=9] [job="ID:288, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:287, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:03.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:03.366 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=288] [2025/04/04 10:38:03.366 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=257] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 10:38:03.369 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029717508113] [2025/04/04 10:38:03.373 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029717508116] [2025/04/04 10:38:03.377 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029717508119] [2025/04/04 10:38:03.381 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029717508122] [2025/04/04 10:38:03.384 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029717508125] [2025/04/04 10:38:03.388 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029730615299] [2025/04/04 10:38:03.392 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029730615302] [2025/04/04 10:38:03.395 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029730615305] [2025/04/04 10:38:03.399 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029730615309] [2025/04/04 10:38:03.403 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029730615312] [2025/04/04 10:38:03.407 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029730615315] [2025/04/04 10:38:03.411 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029730615318] [2025/04/04 10:38:03.415 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029730615322] [2025/04/04 10:38:03.418 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029730615325] [2025/04/04 10:38:03.422 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029730615328] [2025/04/04 10:38:03.426 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029730615331] [2025/04/04 10:38:03.430 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029730615334] [2025/04/04 10:38:03.433 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029730615337] [2025/04/04 10:38:03.437 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029743722498] [2025/04/04 10:38:03.441 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029743722501] [2025/04/04 10:38:03.444 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029743722504] [2025/04/04 10:38:03.448 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029743722507] [2025/04/04 10:38:03.452 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029743722510] [2025/04/04 10:38:03.455 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029743722513] [2025/04/04 10:38:03.459 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029743722516] [2025/04/04 10:38:03.463 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029743722519] [2025/04/04 10:38:03.467 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029743722523] [2025/04/04 10:38:03.470 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029743722526] [2025/04/04 10:38:03.474 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029743722529] [2025/04/04 10:38:03.478 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029743722532] [2025/04/04 10:38:03.482 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029743722535] [2025/04/04 10:38:03.485 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029743722538] [2025/04/04 10:38:03.489 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029756829699] [2025/04/04 10:38:03.493 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029756829702] [2025/04/04 10:38:03.497 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029756829705] [2025/04/04 10:38:03.501 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029756829708] [2025/04/04 10:38:03.504 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029756829711] [2025/04/04 10:38:03.508 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029756829714] [2025/04/04 10:38:03.512 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029756829717] [2025/04/04 10:38:03.515 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029756829721] [2025/04/04 10:38:03.519 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029756829724] [2025/04/04 10:38:03.523 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029756829727] [2025/04/04 10:38:03.526 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029756829730] [2025/04/04 10:38:03.530 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029756829733] [2025/04/04 10:38:03.540 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029769936897] [2025/04/04 10:38:03.544 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029769936900] [2025/04/04 10:38:03.549 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029769936903] [2025/04/04 10:38:03.554 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029769936906] [2025/04/04 10:38:03.558 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029769936909] [2025/04/04 10:38:03.563 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029769936914] [2025/04/04 10:38:03.567 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029769936919] [2025/04/04 10:38:03.571 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029769936922] [2025/04/04 10:38:03.575 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029769936925] [2025/04/04 10:38:03.580 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029769936928] [2025/04/04 10:38:03.583 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029769936931] [2025/04/04 10:38:03.587 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029782781954] [2025/04/04 10:38:03.591 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029782781957] [2025/04/04 10:38:03.595 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029782781960] [2025/04/04 10:38:03.599 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029782781963] [2025/04/04 10:38:03.603 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029782781966] [2025/04/04 10:38:03.607 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029782781969] [2025/04/04 10:38:03.610 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029782781972] [2025/04/04 10:38:03.614 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029782781976] [2025/04/04 10:38:03.618 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029782781979] [2025/04/04 10:38:03.622 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029782781982] [2025/04/04 10:38:03.625 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029782781985] [2025/04/04 10:38:03.629 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029782781988] [2025/04/04 10:38:03.633 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029782781991] [2025/04/04 10:38:03.636 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029796151298] [2025/04/04 10:38:03.640 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029796151301] [2025/04/04 10:38:03.644 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029796151304] [2025/04/04 10:38:03.648 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029796151307] [2025/04/04 10:38:03.652 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029796151310] [2025/04/04 10:38:03.656 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029796151313] [2025/04/04 10:38:03.660 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029796151316] [2025/04/04 10:38:03.663 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029796151319] [2025/04/04 10:38:03.667 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029796151323] [2025/04/04 10:38:03.671 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029796151326] [2025/04/04 10:38:03.674 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029796151329] [2025/04/04 10:38:03.678 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029796151332] [2025/04/04 10:38:03.682 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029796151335] [2025/04/04 10:38:03.686 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029809258498] [2025/04/04 10:38:03.690 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029809258501] [2025/04/04 10:38:03.694 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029809258504] [2025/04/04 10:38:03.698 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029809258508] [2025/04/04 10:38:03.702 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029809258511] [2025/04/04 10:38:03.706 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029809258514] [2025/04/04 10:38:03.710 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029809258517] [2025/04/04 10:38:03.714 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029809258521] [2025/04/04 10:38:03.718 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029809258524] [2025/04/04 10:38:03.721 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029809258527] [2025/04/04 10:38:03.725 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029809258530] [2025/04/04 10:38:03.729 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029809258533] [2025/04/04 10:38:03.733 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029809258536] [2025/04/04 10:38:03.737 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029822365698] [2025/04/04 10:38:03.741 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029822365701] [2025/04/04 10:38:03.745 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029822365704] [2025/04/04 10:38:03.748 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029822365707] [2025/04/04 10:38:03.752 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029822365710] [2025/04/04 10:38:03.756 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117029822365713] [2025/04/04 10:38:03.770 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117029822365718] [generation=1] [session=9] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.382035ms] [2025/04/04 10:38:03.770 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117029822365718] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=38.14µs] [2025/04/04 10:38:03.770 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.453391ms] [total_duration=6.974859ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457117029822365718] [2025/04/04 10:38:03.771 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117029822365718] [commitTS=457117029822365719] [2025/04/04 10:38:03.771 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117029822365718] [startKey=74800000000000011f5f728000000000000000] [endKey=74800000000000011f5f728000000000000063] [concurrency=8] [2025/04/04 10:38:03.777 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117029822365718] [startKey=74800000000000011f5f728000000000000000] [endKey=74800000000000011f5f728000000000000063] ["cost time"=5.729077ms] ["completed regions"=1] [2025/04/04 10:38:03.777 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117029822365718] [commitTS=457117029822365719] [session=9] [2025/04/04 10:38:03.789 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117029822365722] [generation=1] [session=9] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.418854ms] [2025/04/04 10:38:03.789 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117029822365722] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=32.582µs] [2025/04/04 10:38:03.789 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.397852ms] [total_duration=7.027398ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457117029822365722] [2025/04/04 10:38:03.790 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117029822365722] [commitTS=457117029835472897] [2025/04/04 10:38:03.791 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117029822365722] [startKey=74800000000000011d5f728000000000002710] [endKey=74800000000000011d5f728000000000002773] [concurrency=8] [2025/04/04 10:38:03.794 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117029822365722] [startKey=74800000000000011d5f728000000000002710] [endKey=74800000000000011d5f728000000000002773] ["cost time"=3.121128ms] ["completed regions"=1] [2025/04/04 10:38:03.794 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117029822365722] [commitTS=457117029835472897] [session=9] [2025/04/04 10:38:03.807 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:290, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:03.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t"] [2025/04/04 10:38:03.807 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:290, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:03.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:03.813 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=290] [conn=9] [job="ID:290, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:03.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:03.821 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 289, Table Name: _t, Old Table ID: 287, Old Table Name: _t)"] [2025/04/04 10:38:03.837 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=257] [neededSchemaVersion=258] ["elapsed time"=1.50083ms] [gotSchemaVersion=258] [phyTblIDs="[287,289]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:38:03.841 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=290] [version=258] [2025/04/04 10:38:03.842 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=258] ["take time"=8.967036ms] [job="ID:290, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:03.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:03.853 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=290] [tableIDs="[287]"] [comment="truncate table: table ID"] [2025/04/04 10:38:03.858 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=290] [jobType="truncate table"] [2025/04/04 10:38:03.859 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=290] [conn=9] [job="ID:290, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:03.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:03.876 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=290] [2025/04/04 10:38:03.876 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=258] [cur_db=test] [sql="truncate table _t"] [user=] [2025/04/04 10:38:03.877 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=9] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=7480000000000001215f7280000000000003e8] [2025/04/04 10:38:03.880 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=7480000000000001215f7280000000000003e8] ["first new region left"="{Id:136 StartKey:7480000000000000ffda5f728000000000ff0023280000000000fa EndKey:7480000000000001ff215f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:137 store_id:2 id:138 store_id:7 id:139 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/04 10:38:03.880 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=136] [2025/04/04 10:38:03.881 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f7280000000000003e8] ["new region left"="{Id:136 StartKey:7480000000000000ffda5f728000000000ff0023280000000000fa EndKey:7480000000000001ff215f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:137 store_id:2 id:138 store_id:7 id:139 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:03.881 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=140] [2025/04/04 10:38:03.882 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f7280000000000007d0] ["new region left"="{Id:140 StartKey:7480000000000001ff215f728000000000ff0003e80000000000fa EndKey:7480000000000001ff215f728000000000ff0007d00000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:141 store_id:2 id:142 store_id:7 id:143 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:03.883 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=144] [2025/04/04 10:38:03.884 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f728000000000000bb8] ["new region left"="{Id:144 StartKey:7480000000000001ff215f728000000000ff0007d00000000000fa EndKey:7480000000000001ff215f728000000000ff000bb80000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:145 store_id:2 id:146 store_id:7 id:147 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:03.884 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=148] [2025/04/04 10:38:03.885 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f728000000000000fa0] ["new region left"="{Id:148 StartKey:7480000000000001ff215f728000000000ff000bb80000000000fa EndKey:7480000000000001ff215f728000000000ff000fa00000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:149 store_id:2 id:150 store_id:7 id:151 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:03.885 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=152] [2025/04/04 10:38:03.886 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f728000000000001388] ["new region left"="{Id:152 StartKey:7480000000000001ff215f728000000000ff000fa00000000000fa EndKey:7480000000000001ff215f728000000000ff0013880000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:153 store_id:2 id:154 store_id:7 id:155 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:03.886 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=156] [2025/04/04 10:38:03.887 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f728000000000001770] ["new region left"="{Id:156 StartKey:7480000000000001ff215f728000000000ff0013880000000000fa EndKey:7480000000000001ff215f728000000000ff0017700000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:157 store_id:2 id:158 store_id:7 id:159 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:03.887 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=160] [2025/04/04 10:38:03.888 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f728000000000001b58] ["new region left"="{Id:160 StartKey:7480000000000001ff215f728000000000ff0017700000000000fa EndKey:7480000000000001ff215f728000000000ff001b580000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:161 store_id:2 id:162 store_id:7 id:163 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:03.888 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=164] [2025/04/04 10:38:03.888 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f728000000000001f40] ["new region left"="{Id:164 StartKey:7480000000000001ff215f728000000000ff001b580000000000fa EndKey:7480000000000001ff215f728000000000ff001f400000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:165 store_id:2 id:166 store_id:7 id:167 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:03.889 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=168] [2025/04/04 10:38:03.889 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f728000000000002328] ["new region left"="{Id:168 StartKey:7480000000000001ff215f728000000000ff001f400000000000fa EndKey:7480000000000001ff215f728000000000ff0023280000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:169 store_id:2 id:170 store_id:7 id:171 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:03.890 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=9] ["region IDs"="[136,140,144,148,152,156,160,164,168]"] [2025/04/04 10:38:03.890 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=136] [backoff(ms)=299987] [2025/04/04 10:38:03.891 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=136] [2025/04/04 10:38:03.891 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=140] [backoff(ms)=299986] [2025/04/04 10:38:03.891 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=140] [2025/04/04 10:38:03.891 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=144] [backoff(ms)=299985] [2025/04/04 10:38:03.892 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=144] [2025/04/04 10:38:03.892 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=148] [backoff(ms)=299985] [2025/04/04 10:38:03.892 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=148] [2025/04/04 10:38:03.892 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=152] [backoff(ms)=299984] [2025/04/04 10:38:03.893 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=152] [2025/04/04 10:38:03.893 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=156] [backoff(ms)=299984] [2025/04/04 10:38:03.893 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=156] [2025/04/04 10:38:03.893 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=160] [backoff(ms)=299984] [2025/04/04 10:38:03.893 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=160] [2025/04/04 10:38:03.893 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=164] [backoff(ms)=299983] [2025/04/04 10:38:03.894 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=164] [2025/04/04 10:38:03.894 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=168] [backoff(ms)=299983] [2025/04/04 10:38:03.894 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=168] [2025/04/04 10:38:03.930 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117029861687305] [generation=1] [session=9] [keys=200] [size=5.8kB] ["flushed keys"=200] ["flushed size"=5.8kB] ["take time"=3.151687ms] [2025/04/04 10:38:03.930 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117029861687305] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=200] ["flushed size"=5.8kB] ["take time"=39.507µs] [2025/04/04 10:38:03.931 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=200] [flush_wait_duration=3.298431ms] [total_duration=10.608686ms] ["memdb traversal cache hit"=400] ["memdb traversal cache miss"=400] [size=5.8kB] [startTS=457117029861687305] [2025/04/04 10:38:03.932 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117029861687305] [commitTS=457117029861687306] [2025/04/04 10:38:03.932 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117029861687305] [startKey=7480000000000001215f728000000000000000] [endKey=7480000000000001215f728000000000002773] [concurrency=8] [2025/04/04 10:38:03.940 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117029861687305] [startKey=7480000000000001215f728000000000000000] [endKey=7480000000000001215f728000000000002773] ["cost time"=8.055985ms] ["completed regions"=10] [2025/04/04 10:38:03.940 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457117029861687305] [commitTS=457117029861687306] [session=9] [2025/04/04 10:38:03.943 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:38:03.943 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=6ce9902d-d447-489a-95b2-273016c7a78f] [] [2025/04/04 10:38:03.943 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:38:03.943 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=6ce9902d-d447-489a-95b2-273016c7a78f] [2025/04/04 10:38:03.943 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:03.943 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:03.943 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=67.145µs] [2025/04/04 10:38:03.943 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=58.714µs] [2025/04/04 10:38:03.943 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=68.245µs] [2025/04/04 10:38:03.943 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=36.68µs] [2025/04/04 10:38:03.943 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=6ce9902d-d447-489a-95b2-273016c7a78f] [2025/04/04 10:38:03.943 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=6ce9902d-d447-489a-95b2-273016c7a78f] [2025/04/04 10:38:03.944 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:38:03.944 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:38:03.946 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=6ce9902d-d447-489a-95b2-273016c7a78f] ["take time"=3.403792ms] [2025/04/04 10:38:03.946 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=6ce9902d-d447-489a-95b2-273016c7a78f] [2025/04/04 10:38:03.946 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:38:03.946 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/eb559ff9-c9d0-4d7f-81a6-689b01b85c30] [2025/04/04 10:38:03.946 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=6ce9902d-d447-489a-95b2-273016c7a78f] [ttl-worker=task-manager] [ttl-worker=6ce9902d-d447-489a-95b2-273016c7a78f] [originalCount=4] [newCount=0] [2025/04/04 10:38:03.946 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:03.946 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:03.946 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:03.946 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:03.947 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=6ce9902d-d447-489a-95b2-273016c7a78f] [ttl-worker=task-manager] [ttl-worker=6ce9902d-d447-489a-95b2-273016c7a78f] [originalCount=4] [newCount=0] [2025/04/04 10:38:03.949 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:03.949 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:03.949 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:03.949 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:03.951 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=6ce9902d-d447-489a-95b2-273016c7a78f] [2025/04/04 10:38:03.951 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:38:03.952 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=248] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:38:03.953 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:38:03.953 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:38:03.953 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:38:03.953 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:03.953 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:38:03.953 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:03.953 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=dc6fc85d-b4f1-4f7f-b68f-6ccc0e71e5a5] [] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:03.953 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:03.953 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:03.953 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=dc6fc85d-b4f1-4f7f-b68f-6ccc0e71e5a5] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:03.953 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:03.953 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:03.953 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=dc6fc85d-b4f1-4f7f-b68f-6ccc0e71e5a5] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:03.953 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:03.953 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=dc6fc85d-b4f1-4f7f-b68f-6ccc0e71e5a5] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:03.953 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:03.953 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:03.953 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:03.953 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:03.953 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=6ce9902d-d447-489a-95b2-273016c7a78f] [] [2025/04/04 10:38:03.953 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=6ce9902d-d447-489a-95b2-273016c7a78f] [2025/04/04 10:38:03.953 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:38:03.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:03.954 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=6ce9902d-d447-489a-95b2-273016c7a78f] [2025/04/04 10:38:03.954 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=6ce9902d-d447-489a-95b2-273016c7a78f] [2025/04/04 10:38:03.955 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:38:03.955 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=dc6fc85d-b4f1-4f7f-b68f-6ccc0e71e5a5] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:03.955 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:38:03.955 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:38:03.955 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:03.955 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:03.955 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=6ce9902d-d447-489a-95b2-273016c7a78f] [error="context canceled"] [2025/04/04 10:38:03.955 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:03.955 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:38:03.955 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:38:03.955 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:38:03.955 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:03.956 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=6ce9902d-d447-489a-95b2-273016c7a78f] [error="context canceled"] [2025/04/04 10:38:03.956 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=6ce9902d-d447-489a-95b2-273016c7a78f] [2025/04/04 10:38:03.956 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=6ce9902d-d447-489a-95b2-273016c7a78f] [error="context canceled"] [2025/04/04 10:38:03.956 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=6ce9902d-d447-489a-95b2-273016c7a78f] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:03.974 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:38:03.974 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:04.017 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:38:04.017 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:04.029 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.02376ms] [2025/04/04 10:38:04.903 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:38:08.778 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117029822365718 commit_ts:457117029822365719 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:08.778 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117029822365718 commit_ts:457117029822365719 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:08.778 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117029822365718 commit_ts:457117029822365719 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:08.795 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117029822365722 commit_ts:457117029835472897 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:08.795 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117029822365722 commit_ts:457117029835472897 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:08.795 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117029822365722 commit_ts:457117029835472897 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:08.941 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117029861687305 commit_ts:457117029861687306 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:08.941 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117029861687305 commit_ts:457117029861687306 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:08.941 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117029861687305 commit_ts:457117029861687306 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:08.941 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:38:08.941 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:38:08.941 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:38:08.941 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:38:08.941 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:38:08.941 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:38:08.941 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:38:08.941 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:38:08.941 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:38:08.941 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:38:08.941 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:08.941 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:38:08.943 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsert (6.05s) === NAME === RUN TestPipelinedDMLInsertIgnore [2025/04/04 10:38:08.951 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:38:08.952 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:38:08.952 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347877260180] [2025/04/04 10:38:08.953 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:38:08.953 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:38:08.953 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:38:08.953 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:38:08.953 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:38:08.953 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:38:08.954 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:38:08.954 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:38:08.957 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:38:08.963 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:08.964 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:08.964 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:08.974 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404347877260180] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:38:08.984 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:38:09.019 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=727] ["lease id"=223196005d397686] [2025/04/04 10:38:09.021 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:38:09.110 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=258] ["elapsed time"=86.851275ms] [2025/04/04 10:38:09.110 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:38:09.113 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:38:09.118 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [runWorker=true] [jobVersion=v2] [2025/04/04 10:38:09.118 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:38:09.120 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [2025/04/04 10:38:09.121 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:38:09.122 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 142333243392/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:38:09.122 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:09.122 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:09.122 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:09.122 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:09.122 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:09.122 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:09.122 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:09.122 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:09.122 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:09.122 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:38:09.122 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:09.122 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:09.122 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=4eedbb30-3043-44c1-acda-84c06fccfc86] [2025/04/04 10:38:09.124 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d397d72] [ownerID=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [op=none] [2025/04/04 10:38:09.124 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [2025/04/04 10:38:09.124 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [ownerKey=/tidb/ddl/fg/owner/6f1896005d397d72] [currRev=1298] [2025/04/04 10:38:09.125 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:09.125 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=4eedbb30-3043-44c1-acda-84c06fccfc86] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:09.125 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:38:09.126 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f1896005d397d74] [ownerID=4eedbb30-3043-44c1-acda-84c06fccfc86] [op=none] [2025/04/04 10:38:09.126 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=4eedbb30-3043-44c1-acda-84c06fccfc86] [2025/04/04 10:38:09.126 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d397d72] [ownerID=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [op=none] [2025/04/04 10:38:09.126 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=4eedbb30-3043-44c1-acda-84c06fccfc86] [ownerKey=/tidb/br-stream/owner/6f1896005d397d74] [currRev=1299] [2025/04/04 10:38:09.126 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [op=none] [2025/04/04 10:38:09.126 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:38:09.137 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [2025/04/04 10:38:09.139 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:09.139 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:38:09.147 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:09.154 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:09.159 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:09.159 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:09.159 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:09.159 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:38:09.159 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:09.159 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:38:09.159 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:38:09.159 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:38:09.159 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:38:09.160 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:09.160 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [2025/04/04 10:38:09.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:09.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:09.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:09.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:09.161 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:38:09.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:09.161 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:38:09.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:09.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:09.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:09.161 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:38:09.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:09.162 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:09.162 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:09.162 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:09.163 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:38:09.163 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/223196005d397690] [ownerID=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [op=none] [2025/04/04 10:38:09.163 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [2025/04/04 10:38:09.163 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [ownerKey=/tidb/stats/owner/223196005d397690] [currRev=1301] [2025/04/04 10:38:09.166 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/1cba1c17-8601-4ce1-925d-7f97c11ec593] [2025/04/04 10:38:09.166 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [ttl-worker=task-manager] [ttl-worker=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [originalCount=0] [newCount=4] [2025/04/04 10:38:09.166 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [ttl-worker=task-manager] [ttl-worker=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [originalCount=0] [newCount=4] [2025/04/04 10:38:09.166 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [2025/04/04 10:38:09.166 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:38:09.166 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:09.167 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:38:09.167 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763089167260905 [2025/04/04 10:38:09.172 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:38:09.179 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.27876ms] [2025/04/04 10:38:09.179 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:38:09.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:09.180 +00:00] [INFO] [set.go:172] ["set global var"] [conn=10] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:38:09.183 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=258] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 10:38:09.184 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=258] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:38:09.196 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:291, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:09.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:09.196 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:291, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:09.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:38:09.201 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=291] [conn=10] [job="ID:291, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:289, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:09.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:09.217 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=258] [neededSchemaVersion=259] ["elapsed time"=1.857098ms] [gotSchemaVersion=259] [phyTblIDs="[289]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:09.221 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=291] [version=259] [2025/04/04 10:38:09.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=259] ["take time"=9.434869ms] [job="ID:291, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:09.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:09.233 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=291] [conn=10] [job="ID:291, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:289, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:09.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:09.248 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=259] [neededSchemaVersion=260] ["elapsed time"=1.855909ms] [gotSchemaVersion=260] [phyTblIDs="[289]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:09.252 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=291] [version=260] [2025/04/04 10:38:09.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=260] ["take time"=9.023176ms] [job="ID:291, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:09.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:09.261 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=291] [conn=10] [job="ID:291, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:289, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:09.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:09.267 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 289, Old Table Name: _t)"] [2025/04/04 10:38:09.280 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=260] [neededSchemaVersion=261] ["elapsed time"=1.102248ms] [gotSchemaVersion=261] [phyTblIDs="[289]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:09.284 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=291] [version=261] [2025/04/04 10:38:09.285 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=261] ["take time"=8.162874ms] [job="ID:291, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:09.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:09.295 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=291] [tableIDs="[289]"] [comment="drop table: table ID"] [2025/04/04 10:38:09.302 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=291] [jobType="drop table"] [2025/04/04 10:38:09.303 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=291] [conn=10] [job="ID:291, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:09.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:09.320 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=291] [2025/04/04 10:38:09.331 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:292, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:09.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:09.331 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:292, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:09.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:38:09.336 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=292] [conn=10] [job="ID:292, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:285, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:09.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:09.351 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=261] [neededSchemaVersion=262] ["elapsed time"=1.909549ms] [gotSchemaVersion=262] [phyTblIDs="[285]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:09.355 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=262] [2025/04/04 10:38:09.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=262] ["take time"=9.075536ms] [job="ID:292, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:09.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:09.366 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=292] [conn=10] [job="ID:292, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:285, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:09.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:09.383 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=262] [neededSchemaVersion=263] ["elapsed time"=1.846189ms] [gotSchemaVersion=263] [phyTblIDs="[285]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:09.386 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=263] [2025/04/04 10:38:09.388 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=263] ["take time"=10.548471ms] [job="ID:292, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:09.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:09.397 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=292] [conn=10] [job="ID:292, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:285, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:09.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:09.403 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 285, Old Table Name: t)"] [2025/04/04 10:38:09.415 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=263] [neededSchemaVersion=264] ["elapsed time"=1.024741ms] [gotSchemaVersion=264] [phyTblIDs="[285]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:09.419 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=264] [2025/04/04 10:38:09.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=264] ["take time"=7.718665ms] [job="ID:292, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:09.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:09.429 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=292] [tableIDs="[285]"] [comment="drop table: table ID"] [2025/04/04 10:38:09.433 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=292] [jobType="drop table"] [2025/04/04 10:38:09.434 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=292] [conn=10] [job="ID:292, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:09.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:09.451 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=292] [2025/04/04 10:38:09.451 +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: 1743763089451594327 [2025/04/04 10:38:09.462 +00:00] [INFO] [set.go:172] ["set global var"] [conn=11] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:38:09.465 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=264] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 10:38:09.478 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:294, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:09.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:09.478 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:294, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:09.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:38:09.487 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=294] [conn=11] [job="ID:294, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:09.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:09.492 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 293, Table Name: t)"] [2025/04/04 10:38:09.506 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=264] [neededSchemaVersion=265] ["elapsed time"=1.621958ms] [gotSchemaVersion=265] [phyTblIDs="[293]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:09.509 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=294] [version=265] [2025/04/04 10:38:09.511 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=265] ["take time"=8.569699ms] [job="ID:294, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:09.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:09.522 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=294] [conn=11] [job="ID:294, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:09.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:09.532 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=294] [2025/04/04 10:38:09.533 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=265] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 10:38:09.546 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:296, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:09.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:09.546 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:296, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:09.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 10:38:09.551 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=296] [conn=11] [job="ID:296, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:295, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:09.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:09.556 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 295, Table Name: _t)"] [2025/04/04 10:38:09.570 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=265] [neededSchemaVersion=266] ["elapsed time"=1.443872ms] [gotSchemaVersion=266] [phyTblIDs="[295]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:09.574 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=296] [version=266] [2025/04/04 10:38:09.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=266] ["take time"=8.788285ms] [job="ID:296, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:09.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:09.587 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=296] [conn=11] [job="ID:296, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:295, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:09.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:09.598 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=296] [2025/04/04 10:38:09.598 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=266] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 10:38:09.601 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031355908103] [2025/04/04 10:38:09.605 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031355908107] [2025/04/04 10:38:09.608 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031355908110] [2025/04/04 10:38:09.613 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031355908113] [2025/04/04 10:38:09.616 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031355908116] [2025/04/04 10:38:09.620 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031355908119] [2025/04/04 10:38:09.624 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031355908123] [2025/04/04 10:38:09.628 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031355908128] [2025/04/04 10:38:09.632 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031355908132] [2025/04/04 10:38:09.635 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031355908135] [2025/04/04 10:38:09.639 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031369015299] [2025/04/04 10:38:09.643 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031369015303] [2025/04/04 10:38:09.647 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031369015307] [2025/04/04 10:38:09.651 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031369015310] [2025/04/04 10:38:09.655 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031369015313] [2025/04/04 10:38:09.659 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031369015316] [2025/04/04 10:38:09.662 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031369015319] [2025/04/04 10:38:09.666 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031369015322] [2025/04/04 10:38:09.670 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031369015325] [2025/04/04 10:38:09.674 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031369015328] [2025/04/04 10:38:09.678 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031369015332] [2025/04/04 10:38:09.683 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031369015335] [2025/04/04 10:38:09.686 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031382122498] [2025/04/04 10:38:09.690 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031382122501] [2025/04/04 10:38:09.695 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031382122504] [2025/04/04 10:38:09.699 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031382122507] [2025/04/04 10:38:09.702 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031382122510] [2025/04/04 10:38:09.706 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031382122513] [2025/04/04 10:38:09.710 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031382122516] [2025/04/04 10:38:09.714 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031382122519] [2025/04/04 10:38:09.718 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031382122522] [2025/04/04 10:38:09.722 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031382122525] [2025/04/04 10:38:09.726 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031382122528] [2025/04/04 10:38:09.730 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031382122532] [2025/04/04 10:38:09.735 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031382122535] [2025/04/04 10:38:09.739 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031395229699] [2025/04/04 10:38:09.743 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031395229702] [2025/04/04 10:38:09.747 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031395229705] [2025/04/04 10:38:09.751 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031395229708] [2025/04/04 10:38:09.755 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031395229711] [2025/04/04 10:38:09.758 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031395229714] [2025/04/04 10:38:09.762 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031395229717] [2025/04/04 10:38:09.766 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031395229720] [2025/04/04 10:38:09.771 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031395229724] [2025/04/04 10:38:09.775 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031395229727] [2025/04/04 10:38:09.780 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031395229731] [2025/04/04 10:38:09.784 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031395229734] [2025/04/04 10:38:09.788 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031408336899] [2025/04/04 10:38:09.792 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031408336902] [2025/04/04 10:38:09.795 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031408336905] [2025/04/04 10:38:09.799 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031408336908] [2025/04/04 10:38:09.804 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031408336911] [2025/04/04 10:38:09.807 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031408336914] [2025/04/04 10:38:09.811 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031408336917] [2025/04/04 10:38:09.815 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031408336920] [2025/04/04 10:38:09.818 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031408336923] [2025/04/04 10:38:09.822 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031408336926] [2025/04/04 10:38:09.826 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031408336929] [2025/04/04 10:38:09.831 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031408336933] [2025/04/04 10:38:09.835 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031408336936] [2025/04/04 10:38:09.838 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031421444099] [2025/04/04 10:38:09.847 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031421444102] [2025/04/04 10:38:09.851 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031421444105] [2025/04/04 10:38:09.855 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031421444108] [2025/04/04 10:38:09.859 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031421444111] [2025/04/04 10:38:09.863 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031421444114] [2025/04/04 10:38:09.866 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031421444117] [2025/04/04 10:38:09.870 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031421444120] [2025/04/04 10:38:09.874 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031421444124] [2025/04/04 10:38:09.879 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031421444130] [2025/04/04 10:38:09.882 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031421444133] [2025/04/04 10:38:09.886 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031434551298] [2025/04/04 10:38:09.890 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031434551301] [2025/04/04 10:38:09.894 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031434551304] [2025/04/04 10:38:09.898 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031434551307] [2025/04/04 10:38:09.902 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031434551310] [2025/04/04 10:38:09.906 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031434551313] [2025/04/04 10:38:09.910 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031434551316] [2025/04/04 10:38:09.914 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031434551319] [2025/04/04 10:38:09.918 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031434551322] [2025/04/04 10:38:09.921 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031434551325] [2025/04/04 10:38:09.925 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031434551328] [2025/04/04 10:38:09.929 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031434551332] [2025/04/04 10:38:09.933 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031434551335] [2025/04/04 10:38:09.937 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031447658498] [2025/04/04 10:38:09.941 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031447658501] [2025/04/04 10:38:09.945 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031447658504] [2025/04/04 10:38:09.949 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031447658507] [2025/04/04 10:38:09.953 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031447658510] [2025/04/04 10:38:09.957 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031447658513] [2025/04/04 10:38:09.961 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031447658516] [2025/04/04 10:38:09.965 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031447658519] [2025/04/04 10:38:09.969 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031447658522] [2025/04/04 10:38:09.972 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031447658525] [2025/04/04 10:38:09.976 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031447658528] [2025/04/04 10:38:09.980 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031447658532] [2025/04/04 10:38:09.984 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031447658535] [2025/04/04 10:38:09.988 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031460765699] [2025/04/04 10:38:09.991 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031460765702] [2025/04/04 10:38:09.996 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117031460765705] [2025/04/04 10:38:10.005 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117031460765709] [generation=1] [session=11] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.180088ms] [2025/04/04 10:38:10.005 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117031460765709] [generation=2] [session=11] [keys=0] [size=0B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=31.141µs] [2025/04/04 10:38:10.005 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.287541ms] [total_duration=2.040395ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=290B] [startTS=457117031460765709] [2025/04/04 10:38:10.006 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117031460765709] [commitTS=457117031460765710] [2025/04/04 10:38:10.006 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117031460765709] [startKey=7480000000000001275f728000000000000000] [endKey=7480000000000001275f728000000000000063] [concurrency=8] [2025/04/04 10:38:10.011 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117031460765709] [startKey=7480000000000001275f728000000000000000] [endKey=7480000000000001275f728000000000000063] ["cost time"=4.871364ms] ["completed regions"=1] [2025/04/04 10:38:10.011 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117031460765709] [commitTS=457117031460765710] [session=11] [2025/04/04 10:38:10.020 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117031460765711] [generation=1] [session=11] [keys=90] [size=2.61kB] ["flushed keys"=90] ["flushed size"=2.61kB] ["take time"=1.999517ms] [2025/04/04 10:38:10.020 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117031460765711] [generation=2] [session=11] [keys=0] [size=0B] ["flushed keys"=90] ["flushed size"=2.61kB] ["take time"=42.267µs] [2025/04/04 10:38:10.020 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=90] [flush_wait_duration=2.125898ms] [total_duration=12.21954ms] ["memdb traversal cache hit"=180] ["memdb traversal cache miss"=290] [size=2.61kB] [startTS=457117031460765711] [2025/04/04 10:38:10.022 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117031460765711] [commitTS=457117031460765712] [2025/04/04 10:38:10.022 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117031460765711] [startKey=7480000000000001275f728000000000000001] [endKey=7480000000000001275f728000000000000062] [concurrency=8] [2025/04/04 10:38:10.025 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117031460765711] [startKey=7480000000000001275f728000000000000001] [endKey=7480000000000001275f728000000000000062] ["cost time"=2.716247ms] ["completed regions"=1] [2025/04/04 10:38:10.025 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117031460765711] [commitTS=457117031460765712] [session=11] [2025/04/04 10:38:10.029 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [] [2025/04/04 10:38:10.029 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:38:10.029 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [2025/04/04 10:38:10.029 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:38:10.029 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:10.030 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:10.030 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=57.295µs] [2025/04/04 10:38:10.030 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=32.513µs] [2025/04/04 10:38:10.030 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=45.514µs] [2025/04/04 10:38:10.030 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=33.532µs] [2025/04/04 10:38:10.030 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [2025/04/04 10:38:10.030 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [2025/04/04 10:38:10.031 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:38:10.031 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:38:10.033 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=1917f39c-d2c6-4aad-a9ad-841a581fc78d] ["take time"=4.122325ms] [2025/04/04 10:38:10.033 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [2025/04/04 10:38:10.033 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:38:10.033 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/1cba1c17-8601-4ce1-925d-7f97c11ec593] [2025/04/04 10:38:10.033 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [ttl-worker=task-manager] [ttl-worker=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [originalCount=4] [newCount=0] [2025/04/04 10:38:10.033 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:10.033 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:10.033 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:10.033 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:10.033 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [ttl-worker=task-manager] [ttl-worker=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [originalCount=4] [newCount=0] [2025/04/04 10:38:10.036 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:10.036 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:10.036 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:10.036 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:10.039 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [2025/04/04 10:38:10.039 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=727] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:38:10.040 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:38:10.040 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:10.040 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:10.040 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:38:10.040 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:10.040 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:38:10.040 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:10.040 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=4eedbb30-3043-44c1-acda-84c06fccfc86] [] [2025/04/04 10:38:10.040 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:38:10.040 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:10.040 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:38:10.040 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:10.040 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:38:10.040 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:10.040 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:38:10.040 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:10.040 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:10.040 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:38:10.040 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:10.040 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:10.040 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:10.040 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:10.040 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:38:10.040 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:10.040 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=4eedbb30-3043-44c1-acda-84c06fccfc86] [2025/04/04 10:38:10.040 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:38:10.040 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=4eedbb30-3043-44c1-acda-84c06fccfc86] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:38:10.040 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:10.040 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:10.040 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=4eedbb30-3043-44c1-acda-84c06fccfc86] [2025/04/04 10:38:10.040 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:10.040 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:10.040 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:38:10.040 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:38:10.041 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:38:10.041 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:38:10.041 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:10.040 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:10.040 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:10.041 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:38:10.041 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:38:10.040 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:10.040 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:38:10.040 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [] [2025/04/04 10:38:10.041 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:10.041 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [2025/04/04 10:38:10.041 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [2025/04/04 10:38:10.041 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [2025/04/04 10:38:10.042 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:38:10.042 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:10.042 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:38:10.042 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:10.042 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=4eedbb30-3043-44c1-acda-84c06fccfc86] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:10.042 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:38:10.042 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:10.042 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:38:10.043 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [error="context canceled"] [2025/04/04 10:38:10.043 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:38:10.043 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:38:10.043 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:10.043 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [error="context canceled"] [2025/04/04 10:38:10.044 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [2025/04/04 10:38:10.062 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:38:10.062 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:10.103 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=1917f39c-d2c6-4aad-a9ad-841a581fc78d] [error="context canceled"] [2025/04/04 10:38:10.103 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:38:10.103 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:10.114 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.192178ms] [2025/04/04 10:38:10.958 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:38:15.013 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117031460765709 commit_ts:457117031460765710 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:15.013 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117031460765709 commit_ts:457117031460765710 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:15.013 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117031460765709 commit_ts:457117031460765710 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:15.026 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117031460765711 commit_ts:457117031460765712 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:15.026 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117031460765711 commit_ts:457117031460765712 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:15.026 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117031460765711 commit_ts:457117031460765712 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:15.026 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:38:15.026 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:38:15.026 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:38:15.026 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:38:15.026 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:38:15.026 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:38:15.026 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:38:15.026 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:38:15.026 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:38:15.026 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:15.027 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:38:15.027 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:38:15.028 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertIgnore (6.09s) === NAME === RUN TestPipelinedDMLInsertOnDuplicateKeyUpdate [2025/04/04 10:38:15.036 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:38:15.037 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:38:15.037 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347877260180] [2025/04/04 10:38:15.038 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:38:15.038 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:38:15.038 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:38:15.038 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:38:15.039 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:38:15.039 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:38:15.039 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:38:15.039 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:38:15.043 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:38:15.054 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:15.055 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:15.055 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:15.066 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404347877260180] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:38:15.077 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:38:15.112 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=676] ["lease id"=6f1896005d397d9e] [2025/04/04 10:38:15.114 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:38:15.202 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=266] ["elapsed time"=85.735672ms] [2025/04/04 10:38:15.202 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:38:15.205 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:38:15.211 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=3a21d4af-6400-4440-9fc7-369e418fdadf] [runWorker=true] [jobVersion=v2] [2025/04/04 10:38:15.211 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:38:15.213 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=3a21d4af-6400-4440-9fc7-369e418fdadf] [2025/04/04 10:38:15.214 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:38:15.214 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 142333267968/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:38:15.214 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:15.214 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:15.214 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:15.214 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:15.214 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:15.214 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:15.214 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:15.214 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:15.214 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:38:15.215 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:15.215 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:15.215 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:15.215 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=f8e5a7ea-3545-4d12-9633-6c256c297fcc] [2025/04/04 10:38:15.216 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d3976ba] [ownerID=3a21d4af-6400-4440-9fc7-369e418fdadf] [op=none] [2025/04/04 10:38:15.217 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=3a21d4af-6400-4440-9fc7-369e418fdadf] [2025/04/04 10:38:15.217 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=3a21d4af-6400-4440-9fc7-369e418fdadf] [ownerKey=/tidb/ddl/fg/owner/223196005d3976ba] [currRev=1340] [2025/04/04 10:38:15.218 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:15.218 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=f8e5a7ea-3545-4d12-9633-6c256c297fcc] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:15.218 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:38:15.218 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa96005d397217] [ownerID=f8e5a7ea-3545-4d12-9633-6c256c297fcc] [op=none] [2025/04/04 10:38:15.218 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=f8e5a7ea-3545-4d12-9633-6c256c297fcc] [2025/04/04 10:38:15.218 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=f8e5a7ea-3545-4d12-9633-6c256c297fcc] [ownerKey=/tidb/br-stream/owner/3eaa96005d397217] [currRev=1341] [2025/04/04 10:38:15.219 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d3976ba] [ownerID=3a21d4af-6400-4440-9fc7-369e418fdadf] [op=none] [2025/04/04 10:38:15.219 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=3a21d4af-6400-4440-9fc7-369e418fdadf] [op=none] [2025/04/04 10:38:15.219 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:38:15.229 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=3a21d4af-6400-4440-9fc7-369e418fdadf] [2025/04/04 10:38:15.230 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:15.231 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:38:15.240 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:15.247 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:15.252 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:15.252 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:15.252 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:15.252 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:15.252 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:38:15.252 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:38:15.252 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:38:15.252 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:38:15.252 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:38:15.253 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:15.253 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=3a21d4af-6400-4440-9fc7-369e418fdadf] [2025/04/04 10:38:15.254 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:15.254 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:15.254 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:15.254 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:15.254 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:15.254 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:38:15.254 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:15.254 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:38:15.255 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:15.255 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:15.255 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:38:15.255 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:15.255 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:15.255 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:15.255 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:15.256 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:38:15.257 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f1896005d397da9] [ownerID=3a21d4af-6400-4440-9fc7-369e418fdadf] [op=none] [2025/04/04 10:38:15.257 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=3a21d4af-6400-4440-9fc7-369e418fdadf] [2025/04/04 10:38:15.257 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=3a21d4af-6400-4440-9fc7-369e418fdadf] [ownerKey=/tidb/stats/owner/6f1896005d397da9] [currRev=1343] [2025/04/04 10:38:15.259 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/a8e11415-4473-48a9-9784-10c3bb89a51e] [2025/04/04 10:38:15.259 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:15.260 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=3a21d4af-6400-4440-9fc7-369e418fdadf] [ttl-worker=task-manager] [ttl-worker=3a21d4af-6400-4440-9fc7-369e418fdadf] [originalCount=0] [newCount=4] [2025/04/04 10:38:15.260 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:38:15.260 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=3a21d4af-6400-4440-9fc7-369e418fdadf] [ttl-worker=task-manager] [ttl-worker=3a21d4af-6400-4440-9fc7-369e418fdadf] [originalCount=0] [newCount=4] [2025/04/04 10:38:15.260 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/04 10:38:15.260 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] testkit.go:123: RefreshSession rand seed: 1743763095260262943 [2025/04/04 10:38:15.260 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=3a21d4af-6400-4440-9fc7-369e418fdadf] [2025/04/04 10:38:15.266 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:38:15.273 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.428179ms] [2025/04/04 10:38:15.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:15.273 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:38:15.275 +00:00] [INFO] [set.go:172] ["set global var"] [conn=12] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:38:15.278 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=266] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 10:38:15.279 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=266] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:38:15.292 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:297, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:15.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:15.292 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:297, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:15.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:38:15.297 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=297] [conn=12] [job="ID:297, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:295, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:15.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:15.313 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=266] [neededSchemaVersion=267] ["elapsed time"=1.80601ms] [gotSchemaVersion=267] [phyTblIDs="[295]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:15.317 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=297] [version=267] [2025/04/04 10:38:15.319 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=267] ["take time"=9.084426ms] [job="ID:297, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:15.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:15.329 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=297] [conn=12] [job="ID:297, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:295, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:15.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:15.344 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=267] [neededSchemaVersion=268] ["elapsed time"=1.884097ms] [gotSchemaVersion=268] [phyTblIDs="[295]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:15.347 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=297] [version=268] [2025/04/04 10:38:15.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=268] ["take time"=8.839533ms] [job="ID:297, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:15.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:15.357 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=297] [conn=12] [job="ID:297, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:295, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:15.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:15.363 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 295, Old Table Name: _t)"] [2025/04/04 10:38:15.375 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=268] [neededSchemaVersion=269] ["elapsed time"=1.033466ms] [gotSchemaVersion=269] [phyTblIDs="[295]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:15.379 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=297] [version=269] [2025/04/04 10:38:15.381 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=269] ["take time"=8.059678ms] [job="ID:297, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:15.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:15.390 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=297] [tableIDs="[295]"] [comment="drop table: table ID"] [2025/04/04 10:38:15.396 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=297] [jobType="drop table"] [2025/04/04 10:38:15.397 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=297] [conn=12] [job="ID:297, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:15.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:15.415 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=297] [2025/04/04 10:38:15.427 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:298, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:15.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:38:15.427 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:298, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:15.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:15.432 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=298] [conn=12] [job="ID:298, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:15.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:15.450 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=269] [neededSchemaVersion=270] ["elapsed time"=3.262055ms] [gotSchemaVersion=270] [phyTblIDs="[293]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:15.454 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=298] [version=270] [2025/04/04 10:38:15.456 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=270] ["take time"=11.284557ms] [job="ID:298, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:15.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:15.467 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=298] [conn=12] [job="ID:298, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:15.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:15.484 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=270] [neededSchemaVersion=271] ["elapsed time"=1.935882ms] [gotSchemaVersion=271] [phyTblIDs="[293]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:15.488 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=298] [version=271] [2025/04/04 10:38:15.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=271] ["take time"=9.380681ms] [job="ID:298, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:15.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:15.498 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=298] [conn=12] [job="ID:298, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:15.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:15.505 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 293, Old Table Name: t)"] [2025/04/04 10:38:15.519 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=271] [neededSchemaVersion=272] ["elapsed time"=939.802µs] [gotSchemaVersion=272] [phyTblIDs="[293]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:15.523 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=298] [version=272] [2025/04/04 10:38:15.526 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=272] ["take time"=9.207182ms] [job="ID:298, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:15.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:15.536 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=298] [tableIDs="[293]"] [comment="drop table: table ID"] [2025/04/04 10:38:15.540 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=298] [jobType="drop table"] [2025/04/04 10:38:15.541 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=298] [conn=12] [job="ID:298, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:15.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:15.565 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=298] [2025/04/04 10:38:15.565 +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: 1743763095566192850 [2025/04/04 10:38:15.570 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=272] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 10:38:15.584 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:300, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:15.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:15.584 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:300, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:15.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:38:15.590 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=300] [conn=13] [job="ID:300, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:299, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:15.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:15.594 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 299, Table Name: t)"] [2025/04/04 10:38:15.608 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=272] [neededSchemaVersion=273] ["elapsed time"=1.423281ms] [gotSchemaVersion=273] [phyTblIDs="[299]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:15.612 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=300] [version=273] [2025/04/04 10:38:15.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=273] ["take time"=8.879743ms] [job="ID:300, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:15.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:15.627 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=300] [conn=13] [job="ID:300, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:299, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:15.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:15.638 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=300] [2025/04/04 10:38:15.639 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=273] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 10:38:15.652 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:15.633 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 10:38:15.652 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:15.633 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:15.657 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=302] [conn=13] [job="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:15.633 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:15.661 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 301, Table Name: _t)"] [2025/04/04 10:38:15.675 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=273] [neededSchemaVersion=274] ["elapsed time"=1.409405ms] [gotSchemaVersion=274] [phyTblIDs="[301]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:15.679 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=302] [version=274] [2025/04/04 10:38:15.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=274] ["take time"=8.085304ms] [job="ID:302, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:15.633 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:15.691 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=302] [conn=13] [job="ID:302, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:15.633 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:15.702 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=302] [2025/04/04 10:38:15.703 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=274] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 10:38:15.706 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032954986504] [2025/04/04 10:38:15.710 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032954986507] [2025/04/04 10:38:15.714 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032954986510] [2025/04/04 10:38:15.724 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032954986517] [2025/04/04 10:38:15.728 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032954986520] [2025/04/04 10:38:15.732 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032954986523] [2025/04/04 10:38:15.736 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032968093698] [2025/04/04 10:38:15.741 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032968093701] [2025/04/04 10:38:15.745 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032968093704] [2025/04/04 10:38:15.749 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032968093707] [2025/04/04 10:38:15.753 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032968093710] [2025/04/04 10:38:15.757 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032968093713] [2025/04/04 10:38:15.761 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032968093716] [2025/04/04 10:38:15.764 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032968093719] [2025/04/04 10:38:15.768 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032968093722] [2025/04/04 10:38:15.772 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032968093726] [2025/04/04 10:38:15.776 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032968093729] [2025/04/04 10:38:15.780 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032968093732] [2025/04/04 10:38:15.784 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032968093735] [2025/04/04 10:38:15.788 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032981200899] [2025/04/04 10:38:15.791 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032981200902] [2025/04/04 10:38:15.795 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032981200905] [2025/04/04 10:38:15.799 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032981200908] [2025/04/04 10:38:15.802 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032981200911] [2025/04/04 10:38:15.806 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032981200914] [2025/04/04 10:38:15.810 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032981200917] [2025/04/04 10:38:15.813 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032981200920] [2025/04/04 10:38:15.817 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032981200923] [2025/04/04 10:38:15.821 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032981200926] [2025/04/04 10:38:15.824 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032981200930] [2025/04/04 10:38:15.828 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032981200933] [2025/04/04 10:38:15.832 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032981200936] [2025/04/04 10:38:15.836 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032994045954] [2025/04/04 10:38:15.839 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032994045957] [2025/04/04 10:38:15.843 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032994045960] [2025/04/04 10:38:15.847 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032994045963] [2025/04/04 10:38:15.850 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032994045966] [2025/04/04 10:38:15.854 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032994045969] [2025/04/04 10:38:15.858 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032994045972] [2025/04/04 10:38:15.861 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032994045975] [2025/04/04 10:38:15.865 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032994045979] [2025/04/04 10:38:15.869 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032994045982] [2025/04/04 10:38:15.873 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032994045986] [2025/04/04 10:38:15.877 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032994045989] [2025/04/04 10:38:15.880 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032994045992] [2025/04/04 10:38:15.884 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117032994045995] [2025/04/04 10:38:15.887 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033007153155] [2025/04/04 10:38:15.891 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033007153158] [2025/04/04 10:38:15.894 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033007153161] [2025/04/04 10:38:15.898 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033007153164] [2025/04/04 10:38:15.901 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033007153167] [2025/04/04 10:38:15.905 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033007153170] [2025/04/04 10:38:15.908 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033007153173] [2025/04/04 10:38:15.912 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033007153176] [2025/04/04 10:38:15.915 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033007153179] [2025/04/04 10:38:15.919 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033007153182] [2025/04/04 10:38:15.923 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033007153186] [2025/04/04 10:38:15.926 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033007153189] [2025/04/04 10:38:15.930 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033007153192] [2025/04/04 10:38:15.933 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033007153195] [2025/04/04 10:38:15.937 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033020260355] [2025/04/04 10:38:15.941 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033020260358] [2025/04/04 10:38:15.944 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033020260361] [2025/04/04 10:38:15.947 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033020260364] [2025/04/04 10:38:15.951 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033020260367] [2025/04/04 10:38:15.956 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033020260370] [2025/04/04 10:38:15.959 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033020260373] [2025/04/04 10:38:15.963 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033020260376] [2025/04/04 10:38:15.966 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033020260380] [2025/04/04 10:38:15.971 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033020260385] [2025/04/04 10:38:15.977 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033020260389] [2025/04/04 10:38:15.981 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033020260392] [2025/04/04 10:38:15.985 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033020260395] [2025/04/04 10:38:15.989 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033033629699] [2025/04/04 10:38:15.993 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033033629702] [2025/04/04 10:38:15.997 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033033629705] [2025/04/04 10:38:16.001 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033033629708] [2025/04/04 10:38:16.005 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033033629711] [2025/04/04 10:38:16.009 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033033629714] [2025/04/04 10:38:16.013 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033033629717] [2025/04/04 10:38:16.017 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033033629720] [2025/04/04 10:38:16.021 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033033629723] [2025/04/04 10:38:16.024 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033033629727] [2025/04/04 10:38:16.028 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033033629730] [2025/04/04 10:38:16.032 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033033629733] [2025/04/04 10:38:16.036 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033046736898] [2025/04/04 10:38:16.040 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033046736901] [2025/04/04 10:38:16.044 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033046736904] [2025/04/04 10:38:16.047 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033046736907] [2025/04/04 10:38:16.050 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033046736910] [2025/04/04 10:38:16.054 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033046736913] [2025/04/04 10:38:16.058 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033046736916] [2025/04/04 10:38:16.061 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033046736919] [2025/04/04 10:38:16.065 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033046736922] [2025/04/04 10:38:16.068 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033046736925] [2025/04/04 10:38:16.072 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033046736929] [2025/04/04 10:38:16.075 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033046736932] [2025/04/04 10:38:16.079 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033046736935] [2025/04/04 10:38:16.082 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033046736938] [2025/04/04 10:38:16.086 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033059844098] [2025/04/04 10:38:16.094 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117033059844101] [2025/04/04 10:38:16.113 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:38:16.114 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:38:16.114 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=3a21d4af-6400-4440-9fc7-369e418fdadf] [] [2025/04/04 10:38:16.114 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=3a21d4af-6400-4440-9fc7-369e418fdadf] [2025/04/04 10:38:16.114 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:16.114 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:16.114 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=164.525µs] [2025/04/04 10:38:16.114 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=143.122µs] [2025/04/04 10:38:16.115 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=124.69µs] [2025/04/04 10:38:16.115 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 21, tp general"] ["take time"=149.152µs] [2025/04/04 10:38:16.115 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=3a21d4af-6400-4440-9fc7-369e418fdadf] [2025/04/04 10:38:16.115 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=3a21d4af-6400-4440-9fc7-369e418fdadf] [2025/04/04 10:38:16.116 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:38:16.116 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:38:16.120 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=3a21d4af-6400-4440-9fc7-369e418fdadf] ["take time"=6.600343ms] [2025/04/04 10:38:16.120 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=3a21d4af-6400-4440-9fc7-369e418fdadf] [2025/04/04 10:38:16.120 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:38:16.120 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/a8e11415-4473-48a9-9784-10c3bb89a51e] [2025/04/04 10:38:16.120 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=3a21d4af-6400-4440-9fc7-369e418fdadf] [ttl-worker=task-manager] [ttl-worker=3a21d4af-6400-4440-9fc7-369e418fdadf] [originalCount=4] [newCount=0] [2025/04/04 10:38:16.120 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:16.121 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:16.121 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:16.121 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:16.121 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=3a21d4af-6400-4440-9fc7-369e418fdadf] [ttl-worker=task-manager] [ttl-worker=3a21d4af-6400-4440-9fc7-369e418fdadf] [originalCount=4] [newCount=0] [2025/04/04 10:38:16.123 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:16.123 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:16.123 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:16.123 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:16.126 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=3a21d4af-6400-4440-9fc7-369e418fdadf] [2025/04/04 10:38:16.126 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=676] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:38:16.127 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:16.127 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:16.127 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:16.127 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:38:16.127 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=f8e5a7ea-3545-4d12-9633-6c256c297fcc] [] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:38:16.127 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:16.127 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:38:16.127 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=f8e5a7ea-3545-4d12-9633-6c256c297fcc] [2025/04/04 10:38:16.127 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:16.127 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:38:16.127 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:16.127 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:38:16.127 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:38:16.127 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=f8e5a7ea-3545-4d12-9633-6c256c297fcc] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:38:16.127 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:16.127 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:16.127 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=f8e5a7ea-3545-4d12-9633-6c256c297fcc] [2025/04/04 10:38:16.127 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:38:16.128 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:16.127 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:38:16.128 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:16.128 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:38:16.128 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:38:16.127 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:38:16.128 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:38:16.128 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:38:16.128 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=3a21d4af-6400-4440-9fc7-369e418fdadf] [] [2025/04/04 10:38:16.128 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:16.128 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=3a21d4af-6400-4440-9fc7-369e418fdadf] [2025/04/04 10:38:16.128 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:38:16.127 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:38:16.128 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:16.128 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=3a21d4af-6400-4440-9fc7-369e418fdadf] [2025/04/04 10:38:16.128 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:38:16.128 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:16.128 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=3a21d4af-6400-4440-9fc7-369e418fdadf] [2025/04/04 10:38:16.127 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:38:16.128 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:16.128 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:16.127 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:16.127 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:38:16.128 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:16.127 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:16.127 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:38:16.128 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:16.127 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:16.127 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:16.128 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:16.129 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:38:16.129 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=f8e5a7ea-3545-4d12-9633-6c256c297fcc] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:16.129 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:38:16.129 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:16.129 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:16.129 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:16.129 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:38:16.129 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:38:16.129 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=3a21d4af-6400-4440-9fc7-369e418fdadf] [error="context canceled"] [2025/04/04 10:38:16.130 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:38:16.130 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:38:16.130 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:16.131 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=3a21d4af-6400-4440-9fc7-369e418fdadf] [error="context canceled"] [2025/04/04 10:38:16.131 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=3a21d4af-6400-4440-9fc7-369e418fdadf] [2025/04/04 10:38:16.148 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:38:16.148 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:16.195 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=3a21d4af-6400-4440-9fc7-369e418fdadf] [error="context canceled"] [2025/04/04 10:38:16.196 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:38:16.196 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:16.206 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=93.019811ms] [2025/04/04 10:38:16.209 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:38:16.209 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:38:16.209 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:38:16.209 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:38:16.209 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:38:16.209 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:38:16.209 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:38:16.210 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:38:16.209 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:16.210 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:38:16.210 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:38:16.210 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:38:16.211 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertOnDuplicateKeyUpdate (1.18s) === NAME === RUN TestPipelinedDMLInsertRPC [2025/04/04 10:38:16.217 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:38:16.218 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:38:16.218 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347877260180] [2025/04/04 10:38:16.219 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:38:16.219 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:38:16.219 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:38:16.219 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:38:16.219 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:38:16.219 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:38:16.220 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:38:16.220 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:38:16.224 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:38:16.229 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:16.230 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:16.231 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:16.240 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404347877260180] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:38:16.250 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:38:16.290 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1636] ["lease id"=223196005d3976d8] [2025/04/04 10:38:16.292 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:38:16.390 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=274] ["elapsed time"=94.598083ms] [2025/04/04 10:38:16.390 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:38:16.393 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:38:16.399 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=8b3331cf-274d-44cd-9893-6503d71f6541] [runWorker=true] [jobVersion=v2] [2025/04/04 10:38:16.399 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:38:16.401 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [2025/04/04 10:38:16.402 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:38:16.403 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 142333280256/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:38:16.403 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:16.403 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:16.403 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:16.403 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:16.403 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:16.403 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:16.403 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:16.403 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:16.403 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:38:16.403 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:16.403 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:16.403 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:16.403 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=1c133c34-82c4-4bab-bf1b-2ac35f2b6a26] [2025/04/04 10:38:16.405 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d397dc2] [ownerID=8b3331cf-274d-44cd-9893-6503d71f6541] [op=none] [2025/04/04 10:38:16.405 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [2025/04/04 10:38:16.405 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [ownerKey=/tidb/ddl/fg/owner/6f1896005d397dc2] [currRev=1381] [2025/04/04 10:38:16.406 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:16.406 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:38:16.406 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=1c133c34-82c4-4bab-bf1b-2ac35f2b6a26] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:16.407 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f1896005d397dc4] [ownerID=1c133c34-82c4-4bab-bf1b-2ac35f2b6a26] [op=none] [2025/04/04 10:38:16.407 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=1c133c34-82c4-4bab-bf1b-2ac35f2b6a26] [2025/04/04 10:38:16.407 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=1c133c34-82c4-4bab-bf1b-2ac35f2b6a26] [ownerKey=/tidb/br-stream/owner/6f1896005d397dc4] [currRev=1382] [2025/04/04 10:38:16.407 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d397dc2] [ownerID=8b3331cf-274d-44cd-9893-6503d71f6541] [op=none] [2025/04/04 10:38:16.407 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [op=none] [2025/04/04 10:38:16.407 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:38:16.417 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [2025/04/04 10:38:16.418 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:16.418 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:38:16.428 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:16.435 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:16.439 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:16.439 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:16.439 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:38:16.439 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:16.439 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:16.439 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:38:16.440 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:38:16.440 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:38:16.440 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:38:16.441 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:16.441 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [2025/04/04 10:38:16.442 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:16.442 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:16.442 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:16.442 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:16.442 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:16.442 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:16.442 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:38:16.442 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:38:16.442 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:16.442 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:16.442 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:38:16.442 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:16.442 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:16.442 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:16.442 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:16.444 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:38:16.444 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/223196005d3976e3] [ownerID=8b3331cf-274d-44cd-9893-6503d71f6541] [op=none] [2025/04/04 10:38:16.444 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [2025/04/04 10:38:16.444 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [ownerKey=/tidb/stats/owner/223196005d3976e3] [currRev=1384] [2025/04/04 10:38:16.447 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:38:16.447 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/9c4c0aa0-f5bb-43d5-8114-9e6745b1fed6] [2025/04/04 10:38:16.447 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:16.447 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=8b3331cf-274d-44cd-9893-6503d71f6541] [ttl-worker=task-manager] [ttl-worker=8b3331cf-274d-44cd-9893-6503d71f6541] [originalCount=0] [newCount=4] [2025/04/04 10:38:16.447 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=8b3331cf-274d-44cd-9893-6503d71f6541] [ttl-worker=task-manager] [ttl-worker=8b3331cf-274d-44cd-9893-6503d71f6541] [originalCount=0] [newCount=4] [2025/04/04 10:38:16.447 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:38:16.447 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/04 10:38:16.447 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=8b3331cf-274d-44cd-9893-6503d71f6541] testkit.go:123: RefreshSession rand seed: 1743763096447903513 [2025/04/04 10:38:16.452 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:38:16.458 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.598209ms] [2025/04/04 10:38:16.458 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:38:16.458 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:16.463 +00:00] [INFO] [set.go:172] ["set global var"] [conn=14] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:38:16.466 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=274] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 10:38:16.467 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=274] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:38:16.480 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:303, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:16.480 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:303, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:38:16.485 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=14] [job="ID:303, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:16.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:16.501 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=274] [neededSchemaVersion=275] ["elapsed time"=1.874073ms] [gotSchemaVersion=275] [phyTblIDs="[301]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:16.505 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=275] [2025/04/04 10:38:16.507 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=275] ["take time"=9.52163ms] [job="ID:303, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:16.517 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=14] [job="ID:303, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:16.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:16.532 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=275] [neededSchemaVersion=276] ["elapsed time"=1.78124ms] [gotSchemaVersion=276] [phyTblIDs="[301]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:16.535 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=276] [2025/04/04 10:38:16.537 +00:00] [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.867592ms] [job="ID:303, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:16.545 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=14] [job="ID:303, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:16.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:16.551 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 301, Old Table Name: _t)"] [2025/04/04 10:38:16.564 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=276] [neededSchemaVersion=277] ["elapsed time"=1.016898ms] [gotSchemaVersion=277] [phyTblIDs="[301]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:16.567 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=277] [2025/04/04 10:38:16.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=277] ["take time"=8.004181ms] [job="ID:303, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:16.578 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=303] [tableIDs="[301]"] [comment="drop table: table ID"] [2025/04/04 10:38:16.585 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=303] [jobType="drop table"] [2025/04/04 10:38:16.586 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=303] [conn=14] [job="ID:303, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:16.604 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=303] [2025/04/04 10:38:16.614 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:304, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:38:16.614 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:304, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:16.620 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=304] [conn=14] [job="ID:304, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:299, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:16.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:16.635 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=277] [neededSchemaVersion=278] ["elapsed time"=1.786504ms] [gotSchemaVersion=278] [phyTblIDs="[299]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:16.639 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=304] [version=278] [2025/04/04 10:38:16.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=278] ["take time"=8.605714ms] [job="ID:304, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:16.649 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=304] [conn=14] [job="ID:304, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:299, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:16.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:16.664 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=278] [neededSchemaVersion=279] ["elapsed time"=1.890659ms] [gotSchemaVersion=279] [phyTblIDs="[299]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:16.668 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=304] [version=279] [2025/04/04 10:38:16.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=279] ["take time"=8.924834ms] [job="ID:304, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:16.677 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=304] [conn=14] [job="ID:304, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:299, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:16.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:16.683 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 299, Old Table Name: t)"] [2025/04/04 10:38:16.696 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=279] [neededSchemaVersion=280] ["elapsed time"=1.039045ms] [gotSchemaVersion=280] [phyTblIDs="[299]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:16.700 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=304] [version=280] [2025/04/04 10:38:16.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=280] ["take time"=8.100036ms] [job="ID:304, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:16.711 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=304] [tableIDs="[299]"] [comment="drop table: table ID"] [2025/04/04 10:38:16.715 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=304] [jobType="drop table"] [2025/04/04 10:38:16.716 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=304] [conn=14] [job="ID:304, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:16.733 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=304] [2025/04/04 10:38:16.733 +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: 1743763096734161682 [2025/04/04 10:38:16.738 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=280] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 10:38:16.750 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:306, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/04 10:38:16.750 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:306, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:16.756 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=306] [conn=15] [job="ID:306, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:16.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:16.762 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 305, Table Name: t1)"] [2025/04/04 10:38:16.777 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=280] [neededSchemaVersion=281] ["elapsed time"=1.498359ms] [gotSchemaVersion=281] [phyTblIDs="[305]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:16.780 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=306] [version=281] [2025/04/04 10:38:16.782 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=281] ["take time"=9.023351ms] [job="ID:306, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:16.875 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=306] [conn=15] [job="ID:306, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:16.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:16.887 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=306] [2025/04/04 10:38:16.887 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=281] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/04 10:38:16.913 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:308, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:16.914 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:308, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int)"] [2025/04/04 10:38:16.925 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=308] [conn=15] [job="ID:308, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:16.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:16.930 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 307, Table Name: _t1)"] [2025/04/04 10:38:16.947 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=281] [neededSchemaVersion=282] ["elapsed time"=1.546145ms] [gotSchemaVersion=282] [phyTblIDs="[307]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:16.951 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=308] [version=282] [2025/04/04 10:38:16.953 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=282] ["take time"=9.395314ms] [job="ID:308, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:16.965 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=308] [conn=15] [job="ID:308, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:307, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:16.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:16.977 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=308] [2025/04/04 10:38:16.978 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=282] [cur_db=test] [sql="create table _t1 (a int, b int)"] [user=] [2025/04/04 10:38:17.005 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:310, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:17.005 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:310, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:38:17.011 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=310] [conn=15] [job="ID:310, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:16.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.020 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 309, Table Name: _t1, Old Table ID: 307, Old Table Name: _t1)"] [2025/04/04 10:38:17.036 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=282] [neededSchemaVersion=283] ["elapsed time"=1.571101ms] [gotSchemaVersion=283] [phyTblIDs="[307,309]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:38:17.040 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=310] [version=283] [2025/04/04 10:38:17.042 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=283] ["take time"=9.118002ms] [job="ID:310, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.052 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=310] [tableIDs="[307]"] [comment="truncate table: table ID"] [2025/04/04 10:38:17.057 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=310] [jobType="truncate table"] [2025/04/04 10:38:17.058 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=310] [conn=15] [job="ID:310, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:16.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.077 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=310] [2025/04/04 10:38:17.077 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=283] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:38:17.084 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033308880913] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.080095ms] [2025/04/04 10:38:17.084 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.214314ms] [total_duration=5.586913ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117033308880913] [2025/04/04 10:38:17.085 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033308880913] [commitTS=457117033321988097] [2025/04/04 10:38:17.086 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033308880913] [startKey=7480000000000001355f728000000000000001] [endKey=7480000000000001355f728000000000000005] [concurrency=8] [2025/04/04 10:38:17.090 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033308880913] [startKey=7480000000000001355f728000000000000001] [endKey=7480000000000001355f728000000000000005] ["cost time"=4.447582ms] ["completed regions"=1] [2025/04/04 10:38:17.090 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033308880913] [commitTS=457117033321988097] [session=15] [2025/04/04 10:38:17.100 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:312, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:309, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:17.100 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:312, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:309, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:38:17.106 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=312] [conn=15] [job="ID:312, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:309, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:17.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.113 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 311, Table Name: _t1, Old Table ID: 309, Old Table Name: _t1)"] [2025/04/04 10:38:17.128 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=283] [neededSchemaVersion=284] ["elapsed time"=1.519275ms] [gotSchemaVersion=284] [phyTblIDs="[309,311]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:38:17.131 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=312] [version=284] [2025/04/04 10:38:17.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=284] ["take time"=8.63668ms] [job="ID:312, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:309, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.144 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=312] [tableIDs="[309]"] [comment="truncate table: table ID"] [2025/04/04 10:38:17.148 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=312] [jobType="truncate table"] [2025/04/04 10:38:17.149 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=312] [conn=15] [job="ID:312, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:309, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.167 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=312] [2025/04/04 10:38:17.167 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=284] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:38:17.174 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033335095313] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=975.731µs] [2025/04/04 10:38:17.174 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.078261ms] [total_duration=5.275864ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457117033335095313] [2025/04/04 10:38:17.175 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033335095313] [commitTS=457117033335095316] [2025/04/04 10:38:17.175 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033335095313] [startKey=7480000000000001375f728000000000000001] [endKey=7480000000000001375f728000000000000005] [concurrency=8] [2025/04/04 10:38:17.177 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033335095313] [startKey=7480000000000001375f728000000000000001] [endKey=7480000000000001375f728000000000000005] ["cost time"=2.224273ms] ["completed regions"=1] [2025/04/04 10:38:17.178 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033335095313] [commitTS=457117033335095316] [session=15] [2025/04/04 10:38:17.183 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033335095317] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=988.877µs] [2025/04/04 10:38:17.183 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.072341ms] [total_duration=2.639413ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457117033335095317] [2025/04/04 10:38:17.185 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033335095317] [commitTS=457117033348202497] [2025/04/04 10:38:17.185 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033335095317] [startKey=7480000000000001375f728000000000000006] [endKey=7480000000000001375f72800000000000000a] [concurrency=8] [2025/04/04 10:38:17.187 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033335095317] [startKey=7480000000000001375f728000000000000006] [endKey=7480000000000001375f72800000000000000a] ["cost time"=2.131225ms] ["completed regions"=1] [2025/04/04 10:38:17.187 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033335095317] [commitTS=457117033348202497] [session=15] [2025/04/04 10:38:17.191 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033348202498] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.058083ms] [2025/04/04 10:38:17.191 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.148203ms] [total_duration=2.63073ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117033348202498] [2025/04/04 10:38:17.192 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033348202498] [commitTS=457117033348202499] [2025/04/04 10:38:17.193 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033348202498] [startKey=7480000000000001375f72800000000000000b] [endKey=7480000000000001375f72800000000000000f] [concurrency=8] [2025/04/04 10:38:17.195 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033348202498] [startKey=7480000000000001375f72800000000000000b] [endKey=7480000000000001375f72800000000000000f] ["cost time"=1.862791ms] ["completed regions"=1] [2025/04/04 10:38:17.195 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033348202498] [commitTS=457117033348202499] [session=15] [2025/04/04 10:38:17.199 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033348202500] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=938.319µs] [2025/04/04 10:38:17.199 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.029708ms] [total_duration=2.559847ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117033348202500] [2025/04/04 10:38:17.200 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033348202500] [commitTS=457117033348202501] [2025/04/04 10:38:17.200 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033348202500] [startKey=7480000000000001375f728000000000000010] [endKey=7480000000000001375f728000000000000014] [concurrency=8] [2025/04/04 10:38:17.202 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033348202500] [startKey=7480000000000001375f728000000000000010] [endKey=7480000000000001375f728000000000000014] ["cost time"=1.961147ms] ["completed regions"=1] [2025/04/04 10:38:17.202 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033348202500] [commitTS=457117033348202501] [session=15] [2025/04/04 10:38:17.214 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:313, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:38:17.214 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:313, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:17.220 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=313] [conn=15] [job="ID:313, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:17.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.236 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=284] [neededSchemaVersion=285] ["elapsed time"=2.001047ms] [gotSchemaVersion=285] [phyTblIDs="[305]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:17.239 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=285] [2025/04/04 10:38: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=285] ["take time"=9.181889ms] [job="ID:313, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.250 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=313] [conn=15] [job="ID:313, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:17.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.266 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=285] [neededSchemaVersion=286] ["elapsed time"=1.84302ms] [gotSchemaVersion=286] [phyTblIDs="[305]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:17.269 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=286] [2025/04/04 10:38:17.271 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=286] ["take time"=8.91307ms] [job="ID:313, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.279 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=313] [conn=15] [job="ID:313, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:17.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.285 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 305, Old Table Name: t1)"] [2025/04/04 10:38:17.298 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=286] [neededSchemaVersion=287] ["elapsed time"=1.028702ms] [gotSchemaVersion=287] [phyTblIDs="[305]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:17.301 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=287] [2025/04/04 10:38:17.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=287] ["take time"=8.067801ms] [job="ID:313, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.312 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=313] [tableIDs="[305]"] [comment="drop table: table ID"] [2025/04/04 10:38:17.316 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=313] [jobType="drop table"] [2025/04/04 10:38:17.317 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=313] [conn=15] [job="ID:313, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.341 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=313] [2025/04/04 10:38:17.352 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:314, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:38:17.352 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:314, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:17.358 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=314] [conn=15] [job="ID:314, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:311, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:17.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.374 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=287] [neededSchemaVersion=288] ["elapsed time"=1.842772ms] [gotSchemaVersion=288] [phyTblIDs="[311]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:17.378 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=314] [version=288] [2025/04/04 10:38:17.379 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=288] ["take time"=9.240807ms] [job="ID:314, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.390 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=314] [conn=15] [job="ID:314, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:311, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:17.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.405 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=288] [neededSchemaVersion=289] ["elapsed time"=2.120331ms] [gotSchemaVersion=289] [phyTblIDs="[311]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:17.409 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=314] [version=289] [2025/04/04 10:38:17.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=289] ["take time"=9.817713ms] [job="ID:314, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.411 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:38:17.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:38:17.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:38:17.411 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:17.420 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=314] [conn=15] [job="ID:314, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:311, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:17.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.426 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 311, Old Table Name: _t1)"] [2025/04/04 10:38:17.439 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=289] [neededSchemaVersion=290] ["elapsed time"=1.048934ms] [gotSchemaVersion=290] [phyTblIDs="[311]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:17.442 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=314] [version=290] [2025/04/04 10:38:17.445 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=290] ["take time"=9.3497ms] [job="ID:314, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.447 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:38:17.447 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:38:17.447 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/9c4c0aa0-f5bb-43d5-8114-9e6745b1fed6] [watcherID=57c6089d-dc05-4bea-9d20-3eb4f481425e] [2025/04/04 10:38:17.447 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:38:17.453 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:38:17.453 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:38:17.453 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:38:17.453 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:38:17.457 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=314] [tableIDs="[311]"] [comment="drop table: table ID"] [2025/04/04 10:38:17.462 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=314] [jobType="drop table"] [2025/04/04 10:38:17.463 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=314] [conn=15] [job="ID:314, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.481 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=314] [2025/04/04 10:38:17.481 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=290] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 10:38:17.494 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:316, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:17.494 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:316, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int)"] [2025/04/04 10:38:17.500 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=316] [conn=15] [job="ID:316, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:17.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.504 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 315, Table Name: _t1)"] [2025/04/04 10:38:17.519 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=290] [neededSchemaVersion=291] ["elapsed time"=1.429723ms] [gotSchemaVersion=291] [phyTblIDs="[315]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:17.522 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=291] [2025/04/04 10:38:17.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=291] ["take time"=8.287693ms] [job="ID:316, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.534 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=316] [conn=15] [job="ID:316, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:315, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:17.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.545 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=316] [2025/04/04 10:38:17.545 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=291] [cur_db=test] [sql="create table _t1 (a int, b int)"] [user=] [2025/04/04 10:38:17.566 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:318, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:17.566 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:318, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:38:17.572 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=318] [conn=15] [job="ID:318, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:17.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.579 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 317, Table Name: _t1, Old Table ID: 315, Old Table Name: _t1)"] [2025/04/04 10:38:17.594 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=291] [neededSchemaVersion=292] ["elapsed time"=1.495834ms] [gotSchemaVersion=292] [phyTblIDs="[315,317]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:38:17.597 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=318] [version=292] [2025/04/04 10:38:17.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=292] ["take time"=8.54555ms] [job="ID:318, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.609 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=318] [tableIDs="[315]"] [comment="truncate table: table ID"] [2025/04/04 10:38:17.613 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=318] [jobType="truncate table"] [2025/04/04 10:38:17.614 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=318] [conn=15] [job="ID:318, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.631 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=318] [2025/04/04 10:38:17.631 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=292] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:38:17.637 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033453060114] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=922.019µs] [2025/04/04 10:38:17.637 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.040233ms] [total_duration=4.430768ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117033453060114] [2025/04/04 10:38:17.638 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033453060114] [commitTS=457117033466167298] [2025/04/04 10:38:17.639 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033453060114] [startKey=74800000000000013d5f728000000000000001] [endKey=74800000000000013d5f728000000000000005] [concurrency=8] [2025/04/04 10:38:17.641 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033453060114] [startKey=74800000000000013d5f728000000000000001] [endKey=74800000000000013d5f728000000000000005] ["cost time"=2.122404ms] ["completed regions"=1] [2025/04/04 10:38:17.641 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033453060114] [commitTS=457117033466167298] [session=15] [2025/04/04 10:38:17.652 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:320, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:38:17.652 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:320, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:17.658 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=320] [conn=15] [job="ID:320, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:317, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:17.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.666 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 319, Table Name: _t1, Old Table ID: 317, Old Table Name: _t1)"] [2025/04/04 10:38:17.681 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=292] [neededSchemaVersion=293] ["elapsed time"=1.489909ms] [gotSchemaVersion=293] [phyTblIDs="[317,319]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:38:17.684 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=320] [version=293] [2025/04/04 10:38:17.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=293] ["take time"=8.277179ms] [job="ID:320, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.696 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=320] [tableIDs="[317]"] [comment="truncate table: table ID"] [2025/04/04 10:38:17.700 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=320] [jobType="truncate table"] [2025/04/04 10:38:17.701 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=320] [conn=15] [job="ID:320, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.718 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=320] [2025/04/04 10:38:17.719 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=293] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:38:17.724 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033479274510] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=898.665µs] [2025/04/04 10:38:17.724 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=983.93µs] [total_duration=4.369543ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457117033479274510] [2025/04/04 10:38:17.725 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033479274510] [commitTS=457117033479274513] [2025/04/04 10:38:17.725 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033479274510] [startKey=74800000000000013f5f728000000000000001] [endKey=74800000000000013f5f728000000000000005] [concurrency=8] [2025/04/04 10:38:17.728 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033479274510] [startKey=74800000000000013f5f728000000000000001] [endKey=74800000000000013f5f728000000000000005] ["cost time"=2.335513ms] ["completed regions"=1] [2025/04/04 10:38:17.728 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033479274510] [commitTS=457117033479274513] [session=15] [2025/04/04 10:38:17.731 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033479274514] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=924.727µs] [2025/04/04 10:38:17.731 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.021354ms] [total_duration=1.588089ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457117033479274514] [2025/04/04 10:38:17.732 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033479274514] [commitTS=457117033479274515] [2025/04/04 10:38:17.733 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033479274514] [startKey=74800000000000013f5f728000000000000006] [endKey=74800000000000013f5f72800000000000000a] [concurrency=8] [2025/04/04 10:38:17.735 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033479274514] [startKey=74800000000000013f5f728000000000000006] [endKey=74800000000000013f5f72800000000000000a] ["cost time"=1.963351ms] ["completed regions"=1] [2025/04/04 10:38:17.735 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033479274514] [commitTS=457117033479274515] [session=15] [2025/04/04 10:38:17.736 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033492381697] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=894.754µs] [2025/04/04 10:38:17.737 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=993.806µs] [total_duration=1.604049ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117033492381697] [2025/04/04 10:38:17.738 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033492381697] [commitTS=457117033492381698] [2025/04/04 10:38:17.738 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033492381697] [startKey=74800000000000013f5f72800000000000000b] [endKey=74800000000000013f5f72800000000000000f] [concurrency=8] [2025/04/04 10:38:17.740 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033492381697] [startKey=74800000000000013f5f72800000000000000b] [endKey=74800000000000013f5f72800000000000000f] ["cost time"=1.849286ms] ["completed regions"=1] [2025/04/04 10:38:17.740 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033492381697] [commitTS=457117033492381698] [session=15] [2025/04/04 10:38:17.742 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033492381699] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=994.4µs] [2025/04/04 10:38:17.742 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.078784ms] [total_duration=1.680365ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117033492381699] [2025/04/04 10:38:17.743 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033492381699] [commitTS=457117033492381700] [2025/04/04 10:38:17.743 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033492381699] [startKey=74800000000000013f5f728000000000000010] [endKey=74800000000000013f5f728000000000000014] [concurrency=8] [2025/04/04 10:38:17.745 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033492381699] [startKey=74800000000000013f5f728000000000000010] [endKey=74800000000000013f5f728000000000000014] ["cost time"=1.64656ms] ["completed regions"=1] [2025/04/04 10:38:17.745 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033492381699] [commitTS=457117033492381700] [session=15] [2025/04/04 10:38:17.760 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:321, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:17.760 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:321, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:38:17.768 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=15] [job="ID:321, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:319, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:17.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.784 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=293] [neededSchemaVersion=294] ["elapsed time"=1.943831ms] [gotSchemaVersion=294] [phyTblIDs="[319]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:17.788 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=294] [2025/04/04 10:38:17.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=294] ["take time"=10.030765ms] [job="ID:321, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.799 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=15] [job="ID:321, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:319, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:17.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.815 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=294] [neededSchemaVersion=295] ["elapsed time"=1.901563ms] [gotSchemaVersion=295] [phyTblIDs="[319]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:17.818 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=295] [2025/04/04 10:38:17.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=295] ["take time"=8.914377ms] [job="ID:321, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.828 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=15] [job="ID:321, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:319, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:17.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.834 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 319, Old Table Name: _t1)"] [2025/04/04 10:38:17.847 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=295] [neededSchemaVersion=296] ["elapsed time"=1.054742ms] [gotSchemaVersion=296] [phyTblIDs="[319]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:17.850 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=296] [2025/04/04 10:38:17.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=296] ["take time"=7.961779ms] [job="ID:321, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.861 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=321] [tableIDs="[319]"] [comment="drop table: table ID"] [2025/04/04 10:38:17.865 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=321] [jobType="drop table"] [2025/04/04 10:38:17.866 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=321] [conn=15] [job="ID:321, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.884 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=321] [2025/04/04 10:38:17.884 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=296] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 10:38:17.897 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:323, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:17.897 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:323, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/04 10:38:17.903 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=323] [conn=15] [job="ID:323, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:322, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:17.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.907 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 322, Table Name: t1)"] [2025/04/04 10:38:17.923 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=296] [neededSchemaVersion=297] ["elapsed time"=1.525645ms] [gotSchemaVersion=297] [phyTblIDs="[322]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:17.926 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=323] [version=297] [2025/04/04 10:38:17.928 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=297] ["take time"=8.399599ms] [job="ID:323, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.939 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=323] [conn=15] [job="ID:323, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:322, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:17.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.950 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=323] [2025/04/04 10:38:17.951 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=297] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/04 10:38:17.957 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033544810503] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=917.102µs] [2025/04/04 10:38:17.957 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.022578ms] [total_duration=4.985793ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117033544810503] [2025/04/04 10:38:17.958 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033544810503] [commitTS=457117033544810507] [2025/04/04 10:38:17.958 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033544810503] [startKey=7480000000000001425f728000000000000001] [endKey=7480000000000001425f728000000000000005] [concurrency=8] [2025/04/04 10:38:17.961 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033544810503] [startKey=7480000000000001425f728000000000000001] [endKey=7480000000000001425f728000000000000005] ["cost time"=2.624768ms] ["completed regions"=1] [2025/04/04 10:38:17.962 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033544810503] [commitTS=457117033544810507] [session=15] [2025/04/04 10:38:17.971 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:17.972 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int)"] [2025/04/04 10:38:17.977 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=325] [conn=15] [job="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:17.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:17.982 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 324, Table Name: _t1)"] [2025/04/04 10:38:17.996 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=297] [neededSchemaVersion=298] ["elapsed time"=1.500519ms] [gotSchemaVersion=298] [phyTblIDs="[324]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:18.000 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=325] [version=298] [2025/04/04 10:38:18.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=298] ["take time"=8.775519ms] [job="ID:325, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:17.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.013 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=325] [conn=15] [job="ID:325, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:324, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:17.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.024 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=325] [2025/04/04 10:38:18.024 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=298] [cur_db=test] [sql="create table _t1 (a int primary key, b int)"] [user=] [2025/04/04 10:38:18.045 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:327, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:18.045 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:327, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:38:18.051 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=327] [conn=15] [job="ID:327, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:18.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.058 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 326, Table Name: _t1, Old Table ID: 324, Old Table Name: _t1)"] [2025/04/04 10:38:18.073 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=298] [neededSchemaVersion=299] ["elapsed time"=1.481167ms] [gotSchemaVersion=299] [phyTblIDs="[324,326]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:38:18.076 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=327] [version=299] [2025/04/04 10:38:18.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=299] ["take time"=8.835847ms] [job="ID:327, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.089 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=327] [tableIDs="[324]"] [comment="truncate table: table ID"] [2025/04/04 10:38:18.093 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=327] [jobType="truncate table"] [2025/04/04 10:38:18.094 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=327] [conn=15] [job="ID:327, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.112 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=327] [2025/04/04 10:38:18.112 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=299] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:38:18.116 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033584132108] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=962.283µs] [2025/04/04 10:38:18.116 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.073827ms] [total_duration=2.688653ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=145B] [startTS=457117033584132108] [2025/04/04 10:38:18.118 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033584132108] [commitTS=457117033584132109] [2025/04/04 10:38:18.118 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033584132108] [startKey=7480000000000001465f728000000000000001] [endKey=7480000000000001465f728000000000000005] [concurrency=8] [2025/04/04 10:38:18.120 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033584132108] [startKey=7480000000000001465f728000000000000001] [endKey=7480000000000001465f728000000000000005] ["cost time"=2.253067ms] ["completed regions"=1] [2025/04/04 10:38:18.120 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033584132108] [commitTS=457117033584132109] [session=15] [2025/04/04 10:38:18.131 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:329, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:18.131 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:329, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:38:18.136 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=329] [conn=15] [job="ID:329, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:326, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:18.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.143 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 328, Table Name: _t1, Old Table ID: 326, Old Table Name: _t1)"] [2025/04/04 10:38:18.156 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=299] [neededSchemaVersion=300] ["elapsed time"=1.573318ms] [gotSchemaVersion=300] [phyTblIDs="[326,328]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:38:18.160 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=329] [version=300] [2025/04/04 10:38:18.162 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=300] ["take time"=8.023889ms] [job="ID:329, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.173 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=329] [tableIDs="[326]"] [comment="truncate table: table ID"] [2025/04/04 10:38:18.177 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=329] [jobType="truncate table"] [2025/04/04 10:38:18.178 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=329] [conn=15] [job="ID:329, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.196 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=329] [2025/04/04 10:38:18.196 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=300] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:38:18.201 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033610084358] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=972.215µs] [2025/04/04 10:38:18.201 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.102473ms] [total_duration=3.818778ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=15] [size=145B] [startTS=457117033610084358] [2025/04/04 10:38:18.202 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033610084358] [commitTS=457117033610084359] [2025/04/04 10:38:18.203 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033610084358] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f728000000000000005] [concurrency=8] [2025/04/04 10:38:18.205 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033610084358] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f728000000000000005] ["cost time"=2.259127ms] ["completed regions"=1] [2025/04/04 10:38:18.205 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033610084358] [commitTS=457117033610084359] [session=15] [2025/04/04 10:38:18.220 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033610084362] [generation=1] [session=15] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=978.57µs] [2025/04/04 10:38:18.220 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.081007ms] [total_duration=4.106049ms] ["memdb traversal cache hit"=15] ["memdb traversal cache miss"=30] [size=240B] [startTS=457117033610084362] [2025/04/04 10:38:18.221 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033610084362] [commitTS=457117033610084363] [2025/04/04 10:38:18.221 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033610084362] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f72800000000000000a] [concurrency=8] [2025/04/04 10:38:18.223 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033610084362] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f72800000000000000a] ["cost time"=2.019073ms] ["completed regions"=1] [2025/04/04 10:38:18.224 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033610084362] [commitTS=457117033610084363] [session=15] [2025/04/04 10:38:18.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 10:38:18.231 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033610084365] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=955.192µs] [2025/04/04 10:38:18.231 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.081225ms] [total_duration=3.7634ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=20] [size=145B] [startTS=457117033610084365] [2025/04/04 10:38:18.232 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033610084365] [commitTS=457117033610084366] [2025/04/04 10:38:18.232 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033610084365] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f728000000000000005] [concurrency=8] [2025/04/04 10:38:18.234 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033610084365] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f728000000000000005] ["cost time"=1.967631ms] ["completed regions"=1] [2025/04/04 10:38:18.235 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033610084365] [commitTS=457117033610084366] [session=15] [2025/04/04 10:38:18.247 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:330, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:18.247 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:330, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:38:18.253 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=330] [conn=15] [job="ID:330, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:322, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:18.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.269 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=300] [neededSchemaVersion=301] ["elapsed time"=1.853307ms] [gotSchemaVersion=301] [phyTblIDs="[322]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:18.273 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=330] [version=301] [2025/04/04 10:38:18.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=301] ["take time"=9.204617ms] [job="ID:330, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.284 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=330] [conn=15] [job="ID:330, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:322, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:18.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.299 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=301] [neededSchemaVersion=302] ["elapsed time"=1.945343ms] [gotSchemaVersion=302] [phyTblIDs="[322]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:18.303 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=330] [version=302] [2025/04/04 10:38:18.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=302] ["take time"=9.17798ms] [job="ID:330, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.313 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=330] [conn=15] [job="ID:330, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:322, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:18.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.321 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 322, Old Table Name: t1)"] [2025/04/04 10:38:18.336 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=302] [neededSchemaVersion=303] ["elapsed time"=1.104268ms] [gotSchemaVersion=303] [phyTblIDs="[322]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:18.340 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=330] [version=303] [2025/04/04 10:38:18.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=303] ["take time"=8.794463ms] [job="ID:330, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.351 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=330] [tableIDs="[322]"] [comment="drop table: table ID"] [2025/04/04 10:38:18.355 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=330] [jobType="drop table"] [2025/04/04 10:38:18.356 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=330] [conn=15] [job="ID:330, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.375 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=330] [2025/04/04 10:38:18.386 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:331, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:18.386 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:331, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:38:18.392 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=331] [conn=15] [job="ID:331, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:328, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:18.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.403 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:38:18.407 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=303] [neededSchemaVersion=304] ["elapsed time"=2.117737ms] [gotSchemaVersion=304] [phyTblIDs="[328]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:18.411 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=304] [2025/04/04 10:38:18.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=304] ["take time"=9.233248ms] [job="ID:331, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.423 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=331] [conn=15] [job="ID:331, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:328, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:18.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.439 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=304] [neededSchemaVersion=305] ["elapsed time"=1.731846ms] [gotSchemaVersion=305] [phyTblIDs="[328]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:18.442 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=305] [2025/04/04 10:38:18.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=305] ["take time"=8.888312ms] [job="ID:331, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.453 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=331] [conn=15] [job="ID:331, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:328, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:18.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.460 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 328, Old Table Name: _t1)"] [2025/04/04 10:38:18.473 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=305] [neededSchemaVersion=306] ["elapsed time"=1.034138ms] [gotSchemaVersion=306] [phyTblIDs="[328]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:18.476 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=306] [2025/04/04 10:38:18.478 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=306] ["take time"=8.050777ms] [job="ID:331, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.488 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=331] [tableIDs="[328]"] [comment="drop table: table ID"] [2025/04/04 10:38:18.492 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=331] [jobType="drop table"] [2025/04/04 10:38:18.493 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=331] [conn=15] [job="ID:331, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.511 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=331] [2025/04/04 10:38:18.511 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=306] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 10:38:18.525 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int)"] [2025/04/04 10:38:18.525 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:18.530 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=333] [conn=15] [job="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:18.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.535 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 332, Table Name: _t1)"] [2025/04/04 10:38:18.549 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=306] [neededSchemaVersion=307] ["elapsed time"=1.523936ms] [gotSchemaVersion=307] [phyTblIDs="[332]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:18.553 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=333] [version=307] [2025/04/04 10:38:18.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=307] ["take time"=9.319585ms] [job="ID:333, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.567 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=333] [conn=15] [job="ID:333, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:18.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.579 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=333] [2025/04/04 10:38:18.579 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=307] [cur_db=test] [sql="create table _t1 (a int primary key, b int)"] [user=] [2025/04/04 10:38:18.596 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:335, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:18.596 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:335, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:38:18.602 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=335] [conn=15] [job="ID:335, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:18.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.608 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 334, Table Name: _t1, Old Table ID: 332, Old Table Name: _t1)"] [2025/04/04 10:38:18.623 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=307] [neededSchemaVersion=308] ["elapsed time"=1.43ms] [gotSchemaVersion=308] [phyTblIDs="[332,334]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:38:18.627 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=335] [version=308] [2025/04/04 10:38:18.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=308] ["take time"=8.720686ms] [job="ID:335, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.639 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=335] [tableIDs="[332]"] [comment="truncate table: table ID"] [2025/04/04 10:38:18.644 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=335] [jobType="truncate table"] [2025/04/04 10:38:18.645 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=335] [conn=15] [job="ID:335, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.663 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=335] [2025/04/04 10:38:18.663 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=308] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:38:18.666 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033728311311] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=957.863µs] [2025/04/04 10:38:18.666 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.08248ms] [total_duration=1.663927ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=145B] [startTS=457117033728311311] [2025/04/04 10:38:18.667 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033728311311] [commitTS=457117033728311312] [2025/04/04 10:38:18.667 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033728311311] [startKey=74800000000000014e5f728000000000000001] [endKey=74800000000000014e5f728000000000000005] [concurrency=8] [2025/04/04 10:38:18.670 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033728311311] [startKey=74800000000000014e5f728000000000000001] [endKey=74800000000000014e5f728000000000000005] ["cost time"=2.480233ms] ["completed regions"=1] [2025/04/04 10:38:18.670 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033728311311] [commitTS=457117033728311312] [session=15] [2025/04/04 10:38:18.679 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:337, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:18.679 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:337, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:38:18.685 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=337] [conn=15] [job="ID:337, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:334, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:18.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.692 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 336, Table Name: _t1, Old Table ID: 334, Old Table Name: _t1)"] [2025/04/04 10:38:18.707 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=308] [neededSchemaVersion=309] ["elapsed time"=1.581286ms] [gotSchemaVersion=309] [phyTblIDs="[334,336]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:38:18.711 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=337] [version=309] [2025/04/04 10:38:18.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=309] ["take time"=9.616271ms] [job="ID:337, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.724 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=337] [tableIDs="[334]"] [comment="truncate table: table ID"] [2025/04/04 10:38:18.728 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=337] [jobType="truncate table"] [2025/04/04 10:38:18.729 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=337] [conn=15] [job="ID:337, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.747 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=337] [2025/04/04 10:38:18.747 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=309] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:38:18.751 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033754263559] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=1.107937ms] [2025/04/04 10:38:18.751 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.220439ms] [total_duration=3.004121ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=15] [size=145B] [startTS=457117033754263559] [2025/04/04 10:38:18.753 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033754263559] [commitTS=457117033754263560] [2025/04/04 10:38:18.753 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033754263559] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f728000000000000005] [concurrency=8] [2025/04/04 10:38:18.755 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033754263559] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f728000000000000005] ["cost time"=2.204887ms] ["completed regions"=1] [2025/04/04 10:38:18.755 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033754263559] [commitTS=457117033754263560] [session=15] [2025/04/04 10:38:18.764 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033754263563] [generation=1] [session=15] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=1.080871ms] [2025/04/04 10:38:18.764 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.180393ms] [total_duration=3.360154ms] ["memdb traversal cache hit"=15] ["memdb traversal cache miss"=30] [size=240B] [startTS=457117033754263563] [2025/04/04 10:38:18.765 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033754263563] [commitTS=457117033754263564] [2025/04/04 10:38:18.765 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033754263563] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f72800000000000000a] [concurrency=8] [2025/04/04 10:38:18.768 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033754263563] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f72800000000000000a] ["cost time"=2.076087ms] ["completed regions"=1] [2025/04/04 10:38:18.768 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033754263563] [commitTS=457117033754263564] [session=15] [2025/04/04 10:38:18.771 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033754263565] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=941.311µs] [2025/04/04 10:38:18.772 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.026526ms] [total_duration=2.911994ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=20] [size=145B] [startTS=457117033754263565] [2025/04/04 10:38:18.773 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033754263565] [commitTS=457117033754263566] [2025/04/04 10:38:18.773 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033754263565] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f728000000000000005] [concurrency=8] [2025/04/04 10:38:18.775 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033754263565] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f728000000000000005] ["cost time"=1.878003ms] ["completed regions"=1] [2025/04/04 10:38:18.775 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033754263565] [commitTS=457117033754263566] [session=15] [2025/04/04 10:38:18.786 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:338, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:38:18.786 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:338, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:18.792 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=338] [conn=15] [job="ID:338, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:336, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:18.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.810 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=309] [neededSchemaVersion=310] ["elapsed time"=1.898023ms] [gotSchemaVersion=310] [phyTblIDs="[336]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:18.814 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=338] [version=310] [2025/04/04 10:38:18.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=310] ["take time"=9.837941ms] [job="ID:338, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.826 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=338] [conn=15] [job="ID:338, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:336, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:18.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.841 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=310] [neededSchemaVersion=311] ["elapsed time"=1.822557ms] [gotSchemaVersion=311] [phyTblIDs="[336]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:18.845 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=338] [version=311] [2025/04/04 10:38:18.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=311] ["take time"=9.211944ms] [job="ID:338, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.856 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=338] [conn=15] [job="ID:338, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:336, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:18.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.863 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 336, Old Table Name: _t1)"] [2025/04/04 10:38:18.876 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=311] [neededSchemaVersion=312] ["elapsed time"=1.020021ms] [gotSchemaVersion=312] [phyTblIDs="[336]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:18.880 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=338] [version=312] [2025/04/04 10:38: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=312] ["take time"=8.468573ms] [job="ID:338, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.892 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=338] [tableIDs="[336]"] [comment="drop table: table ID"] [2025/04/04 10:38:18.896 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=338] [jobType="drop table"] [2025/04/04 10:38:18.897 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=338] [conn=15] [job="ID:338, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.916 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=338] [2025/04/04 10:38:18.916 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=312] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 10:38:18.929 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:18.929 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/04 10:38:18.935 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=340] [conn=15] [job="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:18.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.939 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 339, Table Name: t1)"] [2025/04/04 10:38:18.954 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=312] [neededSchemaVersion=313] ["elapsed time"=1.54432ms] [gotSchemaVersion=313] [phyTblIDs="[339]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:18.957 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=340] [version=313] [2025/04/04 10:38:18.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=313] ["take time"=9.026095ms] [job="ID:340, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.971 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=340] [conn=15] [job="ID:340, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:18.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:18.982 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=340] [2025/04/04 10:38:18.982 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=313] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/04 10:38:18.988 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033806954511] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=924.888µs] [2025/04/04 10:38:18.988 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.018583ms] [total_duration=4.705475ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117033806954511] [2025/04/04 10:38:18.989 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033806954511] [commitTS=457117033819799556] [2025/04/04 10:38:18.990 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033806954511] [startKey=7480000000000001535f728000000000000001] [endKey=7480000000000001535f728000000000000005] [concurrency=8] [2025/04/04 10:38:18.992 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033806954511] [startKey=7480000000000001535f728000000000000001] [endKey=7480000000000001535f728000000000000005] ["cost time"=2.40067ms] ["completed regions"=1] [2025/04/04 10:38:18.992 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033806954511] [commitTS=457117033819799556] [session=15] [2025/04/04 10:38:19.003 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:19.003 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int, unique index idx(b))"] [2025/04/04 10:38:19.008 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=342] [conn=15] [job="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:18.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.013 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 341, Table Name: _t1)"] [2025/04/04 10:38:19.027 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=313] [neededSchemaVersion=314] ["elapsed time"=1.489034ms] [gotSchemaVersion=314] [phyTblIDs="[341]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:19.030 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=342] [version=314] [2025/04/04 10:38:19.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=314] ["take time"=8.349329ms] [job="ID:342, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:18.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.042 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=342] [conn=15] [job="ID:342, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:18.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.054 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=342] [2025/04/04 10:38:19.054 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=314] [cur_db=test] [sql="create table _t1 (a int, b int, unique index idx(b))"] [user=] [2025/04/04 10:38:19.079 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:344, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:38:19.079 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:344, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:19.084 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=344] [conn=15] [job="ID:344, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:19.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.091 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 343, Table Name: _t1, Old Table ID: 341, Old Table Name: _t1)"] [2025/04/04 10:38:19.106 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=314] [neededSchemaVersion=315] ["elapsed time"=1.636295ms] [gotSchemaVersion=315] [phyTblIDs="[341,343]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:38:19.110 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=344] [version=315] [2025/04/04 10:38:19.112 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=315] ["take time"=9.219808ms] [job="ID:344, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.123 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=344] [tableIDs="[341]"] [comment="truncate table: table ID"] [2025/04/04 10:38:19.127 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=344] [jobType="truncate table"] [2025/04/04 10:38:19.128 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=344] [conn=15] [job="ID:344, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.146 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=344] [2025/04/04 10:38:19.146 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=315] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:38:19.153 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033859121158] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.103264ms] [2025/04/04 10:38:19.154 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.200951ms] [total_duration=5.942473ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457117033859121158] [2025/04/04 10:38:19.155 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033859121158] [commitTS=457117033859121163] [2025/04/04 10:38:19.155 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033859121158] [startKey=7480000000000001575f698000000000000001038000000000000001] [endKey=7480000000000001575f728000000000000005] [concurrency=8] [2025/04/04 10:38:19.157 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033859121158] [startKey=7480000000000001575f698000000000000001038000000000000001] [endKey=7480000000000001575f728000000000000005] ["cost time"=2.336407ms] ["completed regions"=1] [2025/04/04 10:38:19.157 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033859121158] [commitTS=457117033859121163] [session=15] [2025/04/04 10:38:19.170 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:346, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:343, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:19.170 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:346, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:343, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:38:19.176 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=346] [conn=15] [job="ID:346, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:343, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:19.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.184 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 345, Table Name: _t1, Old Table ID: 343, Old Table Name: _t1)"] [2025/04/04 10:38:19.199 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=315] [neededSchemaVersion=316] ["elapsed time"=1.667177ms] [gotSchemaVersion=316] [phyTblIDs="[343,345]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:38:19.203 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=346] [version=316] [2025/04/04 10:38:19.205 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=316] ["take time"=9.442554ms] [job="ID:346, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:343, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.217 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=346] [tableIDs="[343]"] [comment="truncate table: table ID"] [2025/04/04 10:38:19.221 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=346] [jobType="truncate table"] [2025/04/04 10:38:19.222 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=346] [conn=15] [job="ID:346, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:343, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.240 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=346] [2025/04/04 10:38:19.241 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=316] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:38:19.249 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033885597699] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.043888ms] [2025/04/04 10:38:19.249 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.148333ms] [total_duration=6.724546ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457117033885597699] [2025/04/04 10:38:19.250 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033885597699] [commitTS=457117033885597702] [2025/04/04 10:38:19.250 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033885597699] [startKey=7480000000000001595f698000000000000001038000000000000001] [endKey=7480000000000001595f728000000000000005] [concurrency=8] [2025/04/04 10:38:19.253 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033885597699] [startKey=7480000000000001595f698000000000000001038000000000000001] [endKey=7480000000000001595f728000000000000005] ["cost time"=2.353286ms] ["completed regions"=1] [2025/04/04 10:38:19.253 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033885597699] [commitTS=457117033885597702] [session=15] [2025/04/04 10:38:19.270 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033885597705] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=897.766µs] [2025/04/04 10:38:19.271 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=978.788µs] [total_duration=4.763266ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=25] [size=165B] [startTS=457117033885597705] [2025/04/04 10:38:19.272 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033885597705] [commitTS=457117033885597706] [2025/04/04 10:38:19.272 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033885597705] [startKey=7480000000000001595f728000000000000001] [endKey=7480000000000001595f728000000000000005] [concurrency=8] [2025/04/04 10:38:19.274 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033885597705] [startKey=7480000000000001595f728000000000000001] [endKey=7480000000000001595f728000000000000005] ["cost time"=2.070585ms] ["completed regions"=1] [2025/04/04 10:38:19.274 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033885597705] [commitTS=457117033885597706] [session=15] [2025/04/04 10:38:19.285 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117033885597708] [generation=1] [session=15] [keys=15] [size=440B] ["flushed keys"=15] ["flushed size"=440B] ["take time"=1.108003ms] [2025/04/04 10:38:19.285 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.217481ms] [total_duration=7.303628ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=50] [size=440B] [startTS=457117033885597708] [2025/04/04 10:38:19.286 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117033885597708] [commitTS=457117033898704897] [2025/04/04 10:38:19.286 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117033885597708] [startKey=7480000000000001595f698000000000000001038000000000000001] [endKey=7480000000000001595f72800000000000000a] [concurrency=8] [2025/04/04 10:38:19.289 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117033885597708] [startKey=7480000000000001595f698000000000000001038000000000000001] [endKey=7480000000000001595f72800000000000000a] ["cost time"=2.733215ms] ["completed regions"=1] [2025/04/04 10:38:19.289 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117033885597708] [commitTS=457117033898704897] [session=15] [2025/04/04 10:38:19.302 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:347, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:38:19.302 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:347, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:19.308 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=347] [conn=15] [job="ID:347, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:19.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.324 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=316] [neededSchemaVersion=317] ["elapsed time"=1.877928ms] [gotSchemaVersion=317] [phyTblIDs="[339]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:19.328 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=347] [version=317] [2025/04/04 10:38:19.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=317] ["take time"=9.744906ms] [job="ID:347, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.339 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=347] [conn=15] [job="ID:347, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:19.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.354 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=317] [neededSchemaVersion=318] ["elapsed time"=1.934006ms] [gotSchemaVersion=318] [phyTblIDs="[339]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:19.358 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=347] [version=318] [2025/04/04 10:38:19.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=318] ["take time"=9.229243ms] [job="ID:347, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.368 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=347] [conn=15] [job="ID:347, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:19.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.374 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 339, Old Table Name: t1)"] [2025/04/04 10:38:19.387 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=318] [neededSchemaVersion=319] ["elapsed time"=979.714µs] [gotSchemaVersion=319] [phyTblIDs="[339]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:19.391 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=347] [version=319] [2025/04/04 10:38:19.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=319] ["take time"=7.877669ms] [job="ID:347, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.401 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=347] [tableIDs="[339]"] [comment="drop table: table ID"] [2025/04/04 10:38:19.406 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=347] [jobType="drop table"] [2025/04/04 10:38:19.407 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=347] [conn=15] [job="ID:347, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.425 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=347] [2025/04/04 10:38:19.436 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:348, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:38:19.436 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:348, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:19.441 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=348] [conn=15] [job="ID:348, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:345, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:19.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.458 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=319] [neededSchemaVersion=320] ["elapsed time"=2.187725ms] [gotSchemaVersion=320] [phyTblIDs="[345]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:19.462 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=348] [version=320] [2025/04/04 10:38:19.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=320] ["take time"=9.807517ms] [job="ID:348, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.473 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=348] [conn=15] [job="ID:348, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:345, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:19.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.489 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=320] [neededSchemaVersion=321] ["elapsed time"=2.012636ms] [gotSchemaVersion=321] [phyTblIDs="[345]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:19.493 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=348] [version=321] [2025/04/04 10:38:19.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=321] ["take time"=9.057419ms] [job="ID:348, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.503 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=348] [conn=15] [job="ID:348, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:345, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:19.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.509 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 345, Old Table Name: _t1)"] [2025/04/04 10:38:19.522 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=321] [neededSchemaVersion=322] ["elapsed time"=1.112806ms] [gotSchemaVersion=322] [phyTblIDs="[345]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:19.526 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=348] [version=322] [2025/04/04 10:38:19.528 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=322] ["take time"=8.452261ms] [job="ID:348, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.538 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=348] [tableIDs="[345]"] [comment="drop table: table ID"] [2025/04/04 10:38:19.542 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=348] [jobType="drop table"] [2025/04/04 10:38:19.543 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=348] [conn=15] [job="ID:348, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.561 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=348] [2025/04/04 10:38:19.562 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=322] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 10:38:19.574 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:350, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:19.574 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:350, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int, unique index idx(b))"] [2025/04/04 10:38:19.580 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=350] [conn=15] [job="ID:350, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:19.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.585 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 349, Table Name: _t1)"] [2025/04/04 10:38:19.600 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=322] [neededSchemaVersion=323] ["elapsed time"=1.660185ms] [gotSchemaVersion=323] [phyTblIDs="[349]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:19.604 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=350] [version=323] [2025/04/04 10:38:19.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=323] ["take time"=9.330186ms] [job="ID:350, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.618 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=350] [conn=15] [job="ID:350, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:349, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:19.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.652 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=350] [2025/04/04 10:38:19.653 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=323] [cur_db=test] [sql="create table _t1 (a int, b int, unique index idx(b))"] [user=] [2025/04/04 10:38:19.675 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:352, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:19.675 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:352, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:38:19.681 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=352] [conn=15] [job="ID:352, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:19.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.689 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 351, Table Name: _t1, Old Table ID: 349, Old Table Name: _t1)"] [2025/04/04 10:38:19.705 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=323] [neededSchemaVersion=324] ["elapsed time"=1.889536ms] [gotSchemaVersion=324] [phyTblIDs="[349,351]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:38:19.709 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=352] [version=324] [2025/04/04 10:38:19.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=324] ["take time"=9.942323ms] [job="ID:352, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.722 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=352] [tableIDs="[349]"] [comment="truncate table: table ID"] [2025/04/04 10:38:19.726 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=352] [jobType="truncate table"] [2025/04/04 10:38:19.727 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=352] [conn=15] [job="ID:352, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.745 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=352] [2025/04/04 10:38:19.746 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=324] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:38:19.752 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117034016669701] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.100589ms] [2025/04/04 10:38:19.752 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.204291ms] [total_duration=5.102954ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457117034016669701] [2025/04/04 10:38:19.753 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117034016669701] [commitTS=457117034016669705] [2025/04/04 10:38:19.753 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117034016669701] [startKey=74800000000000015f5f698000000000000001038000000000000001] [endKey=74800000000000015f5f728000000000000005] [concurrency=8] [2025/04/04 10:38:19.756 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117034016669701] [startKey=74800000000000015f5f698000000000000001038000000000000001] [endKey=74800000000000015f5f728000000000000005] ["cost time"=2.588135ms] ["completed regions"=1] [2025/04/04 10:38:19.756 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117034016669701] [commitTS=457117034016669705] [session=15] [2025/04/04 10:38:19.767 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:354, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:351, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:19.767 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:354, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:351, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:38:19.773 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=354] [conn=15] [job="ID:354, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:351, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:19.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.780 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 353, Table Name: _t1, Old Table ID: 351, Old Table Name: _t1)"] [2025/04/04 10:38:19.794 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=324] [neededSchemaVersion=325] ["elapsed time"=1.443344ms] [gotSchemaVersion=325] [phyTblIDs="[351,353]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:38:19.798 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=354] [version=325] [2025/04/04 10:38:19.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=325] ["take time"=8.473078ms] [job="ID:354, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:351, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.811 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=354] [tableIDs="[351]"] [comment="truncate table: table ID"] [2025/04/04 10:38:19.815 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=354] [jobType="truncate table"] [2025/04/04 10:38:19.816 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=354] [conn=15] [job="ID:354, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:351, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.835 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=354] [2025/04/04 10:38:19.835 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=325] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:38:19.843 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117034042884097] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.137681ms] [2025/04/04 10:38:19.843 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.249193ms] [total_duration=6.302179ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457117034042884097] [2025/04/04 10:38:19.844 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117034042884097] [commitTS=457117034042884100] [2025/04/04 10:38:19.844 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117034042884097] [startKey=7480000000000001615f698000000000000001038000000000000001] [endKey=7480000000000001615f728000000000000005] [concurrency=8] [2025/04/04 10:38:19.847 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117034042884097] [startKey=7480000000000001615f698000000000000001038000000000000001] [endKey=7480000000000001615f728000000000000005] ["cost time"=2.435418ms] ["completed regions"=1] [2025/04/04 10:38:19.847 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117034042884097] [commitTS=457117034042884100] [session=15] [2025/04/04 10:38:19.858 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117034042884102] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.093068ms] [2025/04/04 10:38:19.858 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.230533ms] [total_duration=4.473726ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=25] [size=165B] [startTS=457117034042884102] [2025/04/04 10:38:19.859 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117034042884102] [commitTS=457117034042884103] [2025/04/04 10:38:19.859 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117034042884102] [startKey=7480000000000001615f728000000000000001] [endKey=7480000000000001615f728000000000000005] [concurrency=8] [2025/04/04 10:38:19.862 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117034042884102] [startKey=7480000000000001615f728000000000000001] [endKey=7480000000000001615f728000000000000005] ["cost time"=2.091666ms] ["completed regions"=1] [2025/04/04 10:38:19.862 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117034042884102] [commitTS=457117034042884103] [session=15] [2025/04/04 10:38:19.867 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117034042884105] [generation=1] [session=15] [keys=15] [size=440B] ["flushed keys"=15] ["flushed size"=440B] ["take time"=1.265826ms] [2025/04/04 10:38:19.867 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.369667ms] [total_duration=4.666221ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=50] [size=440B] [startTS=457117034042884105] [2025/04/04 10:38:19.868 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117034042884105] [commitTS=457117034042884106] [2025/04/04 10:38:19.868 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117034042884105] [startKey=7480000000000001615f698000000000000001038000000000000001] [endKey=7480000000000001615f72800000000000000a] [concurrency=8] [2025/04/04 10:38:19.871 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117034042884105] [startKey=7480000000000001615f698000000000000001038000000000000001] [endKey=7480000000000001615f72800000000000000a] ["cost time"=2.035021ms] ["completed regions"=1] [2025/04/04 10:38:19.871 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117034042884105] [commitTS=457117034042884106] [session=15] [2025/04/04 10:38:19.881 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:355, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:19.881 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:355, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:38:19.887 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=15] [job="ID:355, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:19.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.904 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=325] [neededSchemaVersion=326] ["elapsed time"=2.115481ms] [gotSchemaVersion=326] [phyTblIDs="[353]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:19.908 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=326] [2025/04/04 10:38:19.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=326] ["take time"=9.901364ms] [job="ID:355, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.920 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=15] [job="ID:355, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:19.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.936 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=326] [neededSchemaVersion=327] ["elapsed time"=2.113272ms] [gotSchemaVersion=327] [phyTblIDs="[353]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:19.940 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=327] [2025/04/04 10:38:19.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=327] ["take time"=9.675052ms] [job="ID:355, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.951 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=15] [job="ID:355, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:19.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.957 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 353, Old Table Name: _t1)"] [2025/04/04 10:38:19.970 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=327] [neededSchemaVersion=328] ["elapsed time"=975.268µs] [gotSchemaVersion=328] [phyTblIDs="[353]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:19.974 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=328] [2025/04/04 10:38:19.976 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=328] ["take time"=8.416498ms] [job="ID:355, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:19.985 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=355] [tableIDs="[353]"] [comment="drop table: table ID"] [2025/04/04 10:38:19.990 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=355] [jobType="drop table"] [2025/04/04 10:38:19.991 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=355] [conn=15] [job="ID:355, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.008 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=355] [2025/04/04 10:38:20.008 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=328] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 10:38:20.021 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:357, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:20.021 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:357, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/04 10:38:20.027 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=357] [conn=15] [job="ID:357, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:19.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.031 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 356, Table Name: t1)"] [2025/04/04 10:38:20.045 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=328] [neededSchemaVersion=329] ["elapsed time"=1.451639ms] [gotSchemaVersion=329] [phyTblIDs="[356]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:20.049 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=357] [version=329] [2025/04/04 10:38:20.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=329] ["take time"=8.960813ms] [job="ID:357, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:19.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.063 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=357] [conn=15] [job="ID:357, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:19.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.074 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=357] [2025/04/04 10:38:20.074 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=329] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/04 10:38:20.080 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117034095050766] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=850.026µs] [2025/04/04 10:38:20.080 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=936.537µs] [total_duration=4.48358ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117034095050766] [2025/04/04 10:38:20.081 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117034095050766] [commitTS=457117034095050770] [2025/04/04 10:38:20.081 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117034095050766] [startKey=7480000000000001645f728000000000000001] [endKey=7480000000000001645f728000000000000005] [concurrency=8] [2025/04/04 10:38:20.084 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117034095050766] [startKey=7480000000000001645f728000000000000001] [endKey=7480000000000001645f728000000000000005] ["cost time"=2.343602ms] ["completed regions"=1] [2025/04/04 10:38:20.084 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117034095050766] [commitTS=457117034095050770] [session=15] [2025/04/04 10:38:20.094 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:359, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int, unique index idx(b))"] [2025/04/04 10:38:20.094 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:359, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:20.100 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=359] [conn=15] [job="ID:359, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:20.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.104 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 358, Table Name: _t1)"] [2025/04/04 10:38:20.119 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=329] [neededSchemaVersion=330] ["elapsed time"=1.555301ms] [gotSchemaVersion=330] [phyTblIDs="[358]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:20.123 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=359] [version=330] [2025/04/04 10:38:20.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=330] ["take time"=8.448667ms] [job="ID:359, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.136 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=359] [conn=15] [job="ID:359, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:358, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:20.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.147 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=359] [2025/04/04 10:38:20.147 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=330] [cur_db=test] [sql="create table _t1 (a int primary key, b int, unique index idx(b))"] [user=] [2025/04/04 10:38:20.169 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:361, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:20.169 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:361, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:38:20.174 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=361] [conn=15] [job="ID:361, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:20.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.182 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 360, Table Name: _t1, Old Table ID: 358, Old Table Name: _t1)"] [2025/04/04 10:38:20.201 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=330] [neededSchemaVersion=331] ["elapsed time"=1.952461ms] [gotSchemaVersion=331] [phyTblIDs="[358,360]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:38:20.206 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=361] [version=331] [2025/04/04 10:38:20.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=331] ["take time"=14.23483ms] [job="ID:361, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.220 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=361] [tableIDs="[358]"] [comment="truncate table: table ID"] [2025/04/04 10:38:20.224 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=361] [jobType="truncate table"] [2025/04/04 10:38:20.225 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=361] [conn=15] [job="ID:361, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.244 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=361] [2025/04/04 10:38:20.244 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=331] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:38:20.249 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117034147741701] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.136424ms] [2025/04/04 10:38:20.249 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.247712ms] [total_duration=2.994273ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=325B] [startTS=457117034147741701] [2025/04/04 10:38:20.250 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117034147741701] [commitTS=457117034147741702] [2025/04/04 10:38:20.250 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117034147741701] [startKey=7480000000000001685f698000000000000001038000000000000001] [endKey=7480000000000001685f728000000000000005] [concurrency=8] [2025/04/04 10:38:20.253 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117034147741701] [startKey=7480000000000001685f698000000000000001038000000000000001] [endKey=7480000000000001685f728000000000000005] ["cost time"=2.387538ms] ["completed regions"=1] [2025/04/04 10:38:20.253 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117034147741701] [commitTS=457117034147741702] [session=15] [2025/04/04 10:38:20.263 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:363, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:360, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:38:20.263 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:363, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:360, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:20.268 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=363] [conn=15] [job="ID:363, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:360, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:20.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.275 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 362, Table Name: _t1, Old Table ID: 360, Old Table Name: _t1)"] [2025/04/04 10:38:20.290 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=331] [neededSchemaVersion=332] ["elapsed time"=1.469476ms] [gotSchemaVersion=332] [phyTblIDs="[360,362]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:38:20.293 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=363] [version=332] [2025/04/04 10:38:20.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=332] ["take time"=9.083579ms] [job="ID:363, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:360, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.306 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=363] [tableIDs="[360]"] [comment="truncate table: table ID"] [2025/04/04 10:38:20.310 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=363] [jobType="truncate table"] [2025/04/04 10:38:20.311 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=363] [conn=15] [job="ID:363, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:360, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.328 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=363] [2025/04/04 10:38:20.328 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=332] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:38:20.333 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117034160848914] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.039709ms] [2025/04/04 10:38:20.333 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.128945ms] [total_duration=3.978775ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=30] [size=325B] [startTS=457117034160848914] [2025/04/04 10:38:20.335 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117034160848914] [commitTS=457117034160848915] [2025/04/04 10:38:20.335 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117034160848914] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f728000000000000005] [concurrency=8] [2025/04/04 10:38:20.337 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117034160848914] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f728000000000000005] ["cost time"=2.338565ms] ["completed regions"=1] [2025/04/04 10:38:20.337 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117034160848914] [commitTS=457117034160848915] [session=15] [2025/04/04 10:38:20.354 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117034173956098] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.230734ms] [2025/04/04 10:38:20.354 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.32774ms] [total_duration=5.621662ms] ["memdb traversal cache hit"=35] ["memdb traversal cache miss"=50] [size=420B] [startTS=457117034173956098] [2025/04/04 10:38:20.355 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117034173956098] [commitTS=457117034173956100] [2025/04/04 10:38:20.355 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117034173956098] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f72800000000000000a] [concurrency=8] [2025/04/04 10:38:20.358 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117034173956098] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f72800000000000000a] ["cost time"=2.166872ms] ["completed regions"=1] [2025/04/04 10:38:20.358 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117034173956098] [commitTS=457117034173956100] [session=15] [2025/04/04 10:38:20.367 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117034173956102] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.165396ms] [2025/04/04 10:38:20.367 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.260339ms] [total_duration=5.637038ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=60] [size=420B] [startTS=457117034173956102] [2025/04/04 10:38:20.369 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117034173956102] [commitTS=457117034173956103] [2025/04/04 10:38:20.369 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117034173956102] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f72800000000000000a] [concurrency=8] [2025/04/04 10:38:20.371 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117034173956102] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f72800000000000000a] ["cost time"=2.12792ms] ["completed regions"=1] [2025/04/04 10:38:20.371 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117034173956102] [commitTS=457117034173956103] [session=15] [2025/04/04 10:38:20.383 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:364, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:38:20.384 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:364, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:20.389 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=364] [conn=15] [job="ID:364, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:20.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.405 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=332] [neededSchemaVersion=333] ["elapsed time"=1.941345ms] [gotSchemaVersion=333] [phyTblIDs="[356]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:20.409 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=364] [version=333] [2025/04/04 10:38:20.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=333] ["take time"=9.389676ms] [job="ID:364, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.420 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=364] [conn=15] [job="ID:364, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:20.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.435 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=333] [neededSchemaVersion=334] ["elapsed time"=1.805617ms] [gotSchemaVersion=334] [phyTblIDs="[356]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:20.439 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=364] [version=334] [2025/04/04 10:38:20.440 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=334] ["take time"=8.83496ms] [job="ID:364, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.449 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=364] [conn=15] [job="ID:364, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:20.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.458 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 356, Old Table Name: t1)"] [2025/04/04 10:38:20.471 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=334] [neededSchemaVersion=335] ["elapsed time"=959.959µs] [gotSchemaVersion=335] [phyTblIDs="[356]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:20.474 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=364] [version=335] [2025/04/04 10:38:20.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=335] ["take time"=7.710492ms] [job="ID:364, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.485 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=364] [tableIDs="[356]"] [comment="drop table: table ID"] [2025/04/04 10:38:20.489 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=364] [jobType="drop table"] [2025/04/04 10:38:20.490 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=364] [conn=15] [job="ID:364, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.509 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=364] [2025/04/04 10:38:20.520 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:365, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:20.520 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:365, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:38:20.525 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=365] [conn=15] [job="ID:365, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:20.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.542 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=335] [neededSchemaVersion=336] ["elapsed time"=2.062288ms] [gotSchemaVersion=336] [phyTblIDs="[362]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:20.546 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=365] [version=336] [2025/04/04 10:38:20.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=336] ["take time"=9.665914ms] [job="ID:365, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.557 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=365] [conn=15] [job="ID:365, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:20.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.573 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=336] [neededSchemaVersion=337] ["elapsed time"=2.082986ms] [gotSchemaVersion=337] [phyTblIDs="[362]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:20.576 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=365] [version=337] [2025/04/04 10:38:20.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=337] ["take time"=9.295769ms] [job="ID:365, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.586 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=365] [conn=15] [job="ID:365, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:20.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.592 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 362, Old Table Name: _t1)"] [2025/04/04 10:38:20.605 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=337] [neededSchemaVersion=338] ["elapsed time"=1.057208ms] [gotSchemaVersion=338] [phyTblIDs="[362]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:20.609 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=365] [version=338] [2025/04/04 10:38:20.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=338] ["take time"=7.83602ms] [job="ID:365, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.620 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=365] [tableIDs="[362]"] [comment="drop table: table ID"] [2025/04/04 10:38:20.624 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=365] [jobType="drop table"] [2025/04/04 10:38:20.625 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=365] [conn=15] [job="ID:365, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.642 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=365] [2025/04/04 10:38:20.642 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=338] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 10:38:20.656 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:367, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:20.656 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:367, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int, unique index idx(b))"] [2025/04/04 10:38:20.662 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=367] [conn=15] [job="ID:367, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:20.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.667 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 366, Table Name: _t1)"] [2025/04/04 10:38:20.681 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=338] [neededSchemaVersion=339] ["elapsed time"=1.501795ms] [gotSchemaVersion=339] [phyTblIDs="[366]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:20.685 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=367] [version=339] [2025/04/04 10:38:20.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=339] ["take time"=8.201459ms] [job="ID:367, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.697 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=367] [conn=15] [job="ID:367, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:366, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:20.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.709 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=367] [2025/04/04 10:38:20.709 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=339] [cur_db=test] [sql="create table _t1 (a int primary key, b int, unique index idx(b))"] [user=] [2025/04/04 10:38:20.726 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:369, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:38:20.726 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:369, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:20.732 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=369] [conn=15] [job="ID:369, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:20.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.739 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 368, Table Name: _t1, Old Table ID: 366, Old Table Name: _t1)"] [2025/04/04 10:38:20.754 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=339] [neededSchemaVersion=340] ["elapsed time"=1.604782ms] [gotSchemaVersion=340] [phyTblIDs="[366,368]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:38:20.758 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=369] [version=340] [2025/04/04 10:38:20.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=340] ["take time"=8.921053ms] [job="ID:369, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.770 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=369] [tableIDs="[366]"] [comment="truncate table: table ID"] [2025/04/04 10:38:20.775 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=369] [jobType="truncate table"] [2025/04/04 10:38:20.776 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=369] [conn=15] [job="ID:369, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.794 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=369] [2025/04/04 10:38:20.794 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=340] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:38:20.797 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117034291920901] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.080064ms] [2025/04/04 10:38:20.797 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.181658ms] [total_duration=2.017469ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=325B] [startTS=457117034291920901] [2025/04/04 10:38:20.798 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117034291920901] [commitTS=457117034291920902] [2025/04/04 10:38:20.799 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117034291920901] [startKey=7480000000000001705f698000000000000001038000000000000001] [endKey=7480000000000001705f728000000000000005] [concurrency=8] [2025/04/04 10:38:20.801 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117034291920901] [startKey=7480000000000001705f698000000000000001038000000000000001] [endKey=7480000000000001705f728000000000000005] ["cost time"=2.59533ms] ["completed regions"=1] [2025/04/04 10:38:20.801 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117034291920901] [commitTS=457117034291920902] [session=15] [2025/04/04 10:38:20.811 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:371, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:20.811 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:371, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:38:20.818 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=371] [conn=15] [job="ID:371, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:368, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:20.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.825 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 370, Table Name: _t1, Old Table ID: 368, Old Table Name: _t1)"] [2025/04/04 10:38:20.840 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=340] [neededSchemaVersion=341] ["elapsed time"=1.532356ms] [gotSchemaVersion=341] [phyTblIDs="[368,370]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:38:20.844 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=371] [version=341] [2025/04/04 10:38:20.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=341] ["take time"=8.705218ms] [job="ID:371, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.856 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=371] [tableIDs="[368]"] [comment="truncate table: table ID"] [2025/04/04 10:38:20.860 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=371] [jobType="truncate table"] [2025/04/04 10:38:20.861 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=371] [conn=15] [job="ID:371, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:20.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:20.879 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=371] [2025/04/04 10:38:20.879 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=341] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:38:20.883 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117034305028114] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.078206ms] [2025/04/04 10:38:20.884 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.168544ms] [total_duration=3.0473ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=30] [size=325B] [startTS=457117034305028114] [2025/04/04 10:38:20.885 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117034305028114] [commitTS=457117034318135297] [2025/04/04 10:38:20.885 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117034305028114] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f728000000000000005] [concurrency=8] [2025/04/04 10:38:20.887 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117034305028114] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f728000000000000005] ["cost time"=2.440125ms] ["completed regions"=1] [2025/04/04 10:38:20.888 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117034305028114] [commitTS=457117034318135297] [session=15] [2025/04/04 10:38:20.897 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117034318135299] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.093002ms] [2025/04/04 10:38:20.898 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.178431ms] [total_duration=4.639714ms] ["memdb traversal cache hit"=35] ["memdb traversal cache miss"=50] [size=420B] [startTS=457117034318135299] [2025/04/04 10:38:20.899 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117034318135299] [commitTS=457117034318135300] [2025/04/04 10:38:20.899 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117034318135299] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f72800000000000000a] [concurrency=8] [2025/04/04 10:38:20.901 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117034318135299] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f72800000000000000a] ["cost time"=2.148405ms] ["completed regions"=1] [2025/04/04 10:38:20.901 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117034318135299] [commitTS=457117034318135300] [session=15] [2025/04/04 10:38:20.907 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117034318135301] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.114361ms] [2025/04/04 10:38:20.907 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.196633ms] [total_duration=4.72711ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=60] [size=420B] [startTS=457117034318135301] [2025/04/04 10:38:20.908 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117034318135301] [commitTS=457117034318135305] [2025/04/04 10:38:20.908 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117034318135301] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f72800000000000000a] [concurrency=8] [2025/04/04 10:38:20.910 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:38:20.910 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [] [2025/04/04 10:38:20.910 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [2025/04/04 10:38:20.911 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117034318135301] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f72800000000000000a] ["cost time"=2.224102ms] ["completed regions"=1] [2025/04/04 10:38:20.911 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117034318135301] [commitTS=457117034318135305] [session=15] [2025/04/04 10:38:20.911 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:38:20.911 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:20.911 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:20.911 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 23, tp general"] ["take time"=66.907µs] [2025/04/04 10:38:20.911 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 24, tp general"] ["take time"=49.212µs] [2025/04/04 10:38:20.912 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 25, tp general"] ["take time"=52.256µs] [2025/04/04 10:38:20.912 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 26, tp general"] ["take time"=31.274µs] [2025/04/04 10:38:20.912 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 27, tp general"] ["take time"=27.089µs] [2025/04/04 10:38:20.912 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 28, tp general"] ["take time"=33.91µs] [2025/04/04 10:38:20.912 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 29, tp general"] ["take time"=41.563µs] [2025/04/04 10:38:20.912 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 30, tp general"] ["take time"=30.207µs] [2025/04/04 10:38:20.912 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 31, tp general"] ["take time"=28.849µs] [2025/04/04 10:38:20.912 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 22, tp general"] ["take time"=31.237µs] [2025/04/04 10:38:20.912 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [2025/04/04 10:38:20.912 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [2025/04/04 10:38:20.913 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:38:20.913 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:38:20.934 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=8b3331cf-274d-44cd-9893-6503d71f6541] ["take time"=23.842431ms] [2025/04/04 10:38:20.934 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=8b3331cf-274d-44cd-9893-6503d71f6541] [2025/04/04 10:38:20.934 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:38:20.934 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:38:20.934 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/9c4c0aa0-f5bb-43d5-8114-9e6745b1fed6] [watcherID=57c6089d-dc05-4bea-9d20-3eb4f481425e] [2025/04/04 10:38:20.934 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/9c4c0aa0-f5bb-43d5-8114-9e6745b1fed6] [2025/04/04 10:38:20.934 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=8b3331cf-274d-44cd-9893-6503d71f6541] [ttl-worker=task-manager] [ttl-worker=8b3331cf-274d-44cd-9893-6503d71f6541] [originalCount=4] [newCount=0] [2025/04/04 10:38:20.934 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:20.934 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:20.934 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:20.934 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:20.935 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=8b3331cf-274d-44cd-9893-6503d71f6541] [ttl-worker=task-manager] [ttl-worker=8b3331cf-274d-44cd-9893-6503d71f6541] [originalCount=4] [newCount=0] [2025/04/04 10:38:20.938 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:20.938 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:20.938 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:20.938 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:20.941 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=8b3331cf-274d-44cd-9893-6503d71f6541] [2025/04/04 10:38:20.941 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1636] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:38:20.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:38:20.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:20.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:38:20.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:20.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:38:20.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:38:20.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:20.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:20.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:20.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:38:20.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:20.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [2025/04/04 10:38:20.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:20.942 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:38:20.942 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:38:20.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:20.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:20.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:20.942 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=1c133c34-82c4-4bab-bf1b-2ac35f2b6a26] [] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:38:20.942 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:20.942 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:38:20.942 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:38:20.942 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=1c133c34-82c4-4bab-bf1b-2ac35f2b6a26] [2025/04/04 10:38:20.942 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:20.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:20.942 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:20.943 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=1c133c34-82c4-4bab-bf1b-2ac35f2b6a26] [2025/04/04 10:38:20.943 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:20.943 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=1c133c34-82c4-4bab-bf1b-2ac35f2b6a26] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:38:20.943 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:20.943 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:38:20.942 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:20.943 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [] [2025/04/04 10:38:20.943 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:20.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:38:20.942 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:20.943 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:20.942 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:20.942 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:38:20.942 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:38:20.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:20.942 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:38:20.943 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:20.942 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:20.943 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:20.943 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [2025/04/04 10:38:20.943 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [2025/04/04 10:38:20.943 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:20.943 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:38:20.943 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [2025/04/04 10:38:20.943 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [2025/04/04 10:38:20.943 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:38:20.943 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:38:20.943 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:38:20.943 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:20.944 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:38:20.944 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=1c133c34-82c4-4bab-bf1b-2ac35f2b6a26] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:20.945 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:38:20.945 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:38:20.945 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:20.945 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:20.945 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:20.945 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:38:20.945 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [error="context canceled"] [2025/04/04 10:38:20.945 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:38:20.945 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:38:20.945 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:20.946 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [error="context canceled"] [2025/04/04 10:38:20.946 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [2025/04/04 10:38:20.966 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:38:20.966 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:21.010 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=8b3331cf-274d-44cd-9893-6503d71f6541] [error="context canceled"] [2025/04/04 10:38:21.010 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:38:21.010 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:21.022 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=112.314549ms] [2025/04/04 10:38:22.091 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033308880913 commit_ts:457117033321988097 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:22.091 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033308880913 commit_ts:457117033321988097 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:22.091 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033308880913 commit_ts:457117033321988097 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:22.178 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033335095313 commit_ts:457117033335095316 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:22.178 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033335095313 commit_ts:457117033335095316 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:22.178 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033335095313 commit_ts:457117033335095316 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:22.188 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033335095317 commit_ts:457117033348202497 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:22.188 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033335095317 commit_ts:457117033348202497 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:22.188 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033335095317 commit_ts:457117033348202497 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:22.195 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033348202498 commit_ts:457117033348202499 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:22.195 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033348202498 commit_ts:457117033348202499 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:22.195 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033348202498 commit_ts:457117033348202499 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:22.203 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033348202500 commit_ts:457117033348202501 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:22.203 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033348202500 commit_ts:457117033348202501 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:22.203 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033348202500 commit_ts:457117033348202501 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:22.642 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033453060114 commit_ts:457117033466167298 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:22.642 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033453060114 commit_ts:457117033466167298 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:22.642 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033453060114 commit_ts:457117033466167298 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:22.728 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033479274510 commit_ts:457117033479274513 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:22.728 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033479274510 commit_ts:457117033479274513 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:22.728 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033479274510 commit_ts:457117033479274513 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:22.735 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033479274514 commit_ts:457117033479274515 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:22.736 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033479274514 commit_ts:457117033479274515 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:22.736 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033479274514 commit_ts:457117033479274515 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:22.741 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033492381697 commit_ts:457117033492381698 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:22.741 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033492381697 commit_ts:457117033492381698 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:22.741 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033492381697 commit_ts:457117033492381698 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:22.746 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033492381699 commit_ts:457117033492381700 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:22.746 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033492381699 commit_ts:457117033492381700 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:22.746 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033492381699 commit_ts:457117033492381700 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:22.962 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033544810503 commit_ts:457117033544810507 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:22.962 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033544810503 commit_ts:457117033544810507 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:22.962 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033544810503 commit_ts:457117033544810507 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:23.121 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033584132108 commit_ts:457117033584132109 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:23.121 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033584132108 commit_ts:457117033584132109 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:23.121 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033584132108 commit_ts:457117033584132109 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:23.206 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033610084358 commit_ts:457117033610084359 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:23.206 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033610084358 commit_ts:457117033610084359 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:23.206 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033610084358 commit_ts:457117033610084359 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:23.225 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033610084362 commit_ts:457117033610084363 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:23.225 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033610084362 commit_ts:457117033610084363 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:23.225 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033610084362 commit_ts:457117033610084363 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:23.235 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033610084365 commit_ts:457117033610084366 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:23.235 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033610084365 commit_ts:457117033610084366 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:23.235 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033610084365 commit_ts:457117033610084366 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:23.671 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033728311311 commit_ts:457117033728311312 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:23.671 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033728311311 commit_ts:457117033728311312 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:23.671 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033728311311 commit_ts:457117033728311312 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:23.756 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033754263559 commit_ts:457117033754263560 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:23.756 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033754263559 commit_ts:457117033754263560 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:23.756 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033754263559 commit_ts:457117033754263560 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:23.769 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033754263563 commit_ts:457117033754263564 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:23.769 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033754263563 commit_ts:457117033754263564 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:23.769 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033754263563 commit_ts:457117033754263564 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:23.776 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033754263565 commit_ts:457117033754263566 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [Pipeline] } [2025/04/04 10:38:23.776 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033754263565 commit_ts:457117033754263566 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:23.776 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033754263565 commit_ts:457117033754263566 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:23.993 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033806954511 commit_ts:457117033819799556 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:23.993 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033806954511 commit_ts:457117033819799556 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:23.993 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033806954511 commit_ts:457117033819799556 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:24.158 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033859121158 commit_ts:457117033859121163 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:24.158 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033859121158 commit_ts:457117033859121163 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:24.158 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033859121158 commit_ts:457117033859121163 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:24.253 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033885597699 commit_ts:457117033885597702 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:24.253 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033885597699 commit_ts:457117033885597702 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:24.253 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033885597699 commit_ts:457117033885597702 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:24.275 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033885597705 commit_ts:457117033885597706 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:24.275 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033885597705 commit_ts:457117033885597706 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:24.275 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033885597705 commit_ts:457117033885597706 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:24.291 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117033885597708 commit_ts:457117033898704897 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:24.291 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117033885597708 commit_ts:457117033898704897 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:24.291 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117033885597708 commit_ts:457117033898704897 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:24.757 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117034016669701 commit_ts:457117034016669705 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:24.757 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117034016669701 commit_ts:457117034016669705 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:24.757 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117034016669701 commit_ts:457117034016669705 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:24.847 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117034042884097 commit_ts:457117034042884100 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:24.847 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117034042884097 commit_ts:457117034042884100 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:24.847 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117034042884097 commit_ts:457117034042884100 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:24.862 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117034042884102 commit_ts:457117034042884103 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:24.863 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117034042884102 commit_ts:457117034042884103 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:24.863 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117034042884102 commit_ts:457117034042884103 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:24.872 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117034042884105 commit_ts:457117034042884106 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:24.872 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117034042884105 commit_ts:457117034042884106 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:24.872 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117034042884105 commit_ts:457117034042884106 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:25.084 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117034095050766 commit_ts:457117034095050770 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:25.084 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117034095050766 commit_ts:457117034095050770 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:25.084 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117034095050766 commit_ts:457117034095050770 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:25.254 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117034147741701 commit_ts:457117034147741702 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:25.254 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117034147741701 commit_ts:457117034147741702 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:25.254 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117034147741701 commit_ts:457117034147741702 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:25.338 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117034160848914 commit_ts:457117034160848915 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:25.338 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117034160848914 commit_ts:457117034160848915 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:25.338 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117034160848914 commit_ts:457117034160848915 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:25.358 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117034173956098 commit_ts:457117034173956100 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:25.358 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117034173956098 commit_ts:457117034173956100 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:25.358 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117034173956098 commit_ts:457117034173956100 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:25.372 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117034173956102 commit_ts:457117034173956103 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:25.372 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117034173956102 commit_ts:457117034173956103 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:25.372 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117034173956102 commit_ts:457117034173956103 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:25.803 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117034291920901 commit_ts:457117034291920902 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:25.803 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117034291920901 commit_ts:457117034291920902 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:25.803 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117034291920901 commit_ts:457117034291920902 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:25.888 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117034305028114 commit_ts:457117034318135297 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:25.888 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117034305028114 commit_ts:457117034318135297 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:25.888 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117034305028114 commit_ts:457117034318135297 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:25.902 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117034318135299 commit_ts:457117034318135300 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:25.902 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117034318135299 commit_ts:457117034318135300 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:25.902 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117034318135299 commit_ts:457117034318135300 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:25.911 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117034318135301 commit_ts:457117034318135305 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:25.911 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117034318135301 commit_ts:457117034318135305 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:25.911 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117034318135301 commit_ts:457117034318135305 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:25.912 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:38:25.912 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:38:25.912 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:38:25.912 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:38:25.912 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:38:25.912 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:38:25.912 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:38:25.912 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:38:25.912 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:38:25.912 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:38:25.912 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:25.912 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:38:25.913 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertRPC (9.71s) === NAME === RUN TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn [2025/04/04 10:38:25.923 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:38:25.924 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:38:25.925 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347877260180] [2025/04/04 10:38:25.926 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:38:25.926 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:38:25.926 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:38:25.926 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:38:25.926 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:38:25.926 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:38:25.927 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:38:25.927 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:38:25.931 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:38:25.937 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:25.938 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:25.939 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:25.950 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404347877260180] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:38:25.961 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:38:26.000 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1290] ["lease id"=6f1896005d397e4b] [2025/04/04 10:38:26.002 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:38:26.094 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=341] ["elapsed time"=90.027871ms] [2025/04/04 10:38:26.095 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:38:26.098 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:38:26.103 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [runWorker=true] [jobVersion=v2] [2025/04/04 10:38:26.104 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:38:26.106 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [2025/04/04 10:38:26.107 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:38:26.107 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 142339661824/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:38:26.107 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:26.107 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:26.107 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:26.107 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:26.108 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:26.108 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:26.108 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:26.108 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:26.108 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:38:26.108 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:26.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:26.108 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:26.108 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=ad6b7197-8615-46cd-9676-ea85cf785834] [2025/04/04 10:38:26.110 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d397770] [ownerID=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [op=none] [2025/04/04 10:38:26.110 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [2025/04/04 10:38:26.110 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [ownerKey=/tidb/ddl/fg/owner/223196005d397770] [currRev=1580] [2025/04/04 10:38:26.110 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:26.110 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=ad6b7197-8615-46cd-9676-ea85cf785834] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:26.111 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa96005d3972df] [ownerID=ad6b7197-8615-46cd-9676-ea85cf785834] [op=none] [2025/04/04 10:38:26.111 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=ad6b7197-8615-46cd-9676-ea85cf785834] [2025/04/04 10:38:26.111 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:38:26.111 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=ad6b7197-8615-46cd-9676-ea85cf785834] [ownerKey=/tidb/br-stream/owner/3eaa96005d3972df] [currRev=1580] [2025/04/04 10:38:26.112 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d397770] [ownerID=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [op=none] [2025/04/04 10:38:26.112 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [op=none] [2025/04/04 10:38:26.112 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:38:26.117 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:537\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:26.118 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:537\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:26.119 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:537\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:26.119 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [2025/04/04 10:38:26.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:26.121 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:38:26.130 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:26.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:26.142 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:26.142 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:26.142 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:38:26.142 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:26.142 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:26.142 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:38:26.142 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:38:26.142 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:38:26.143 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:38:26.144 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:26.144 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [2025/04/04 10:38:26.145 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:26.145 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:26.145 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:26.145 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:26.145 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:26.145 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:38:26.145 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:26.145 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:38:26.145 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:26.146 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:26.146 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:38:26.146 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:26.146 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:26.146 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:26.146 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:26.148 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:38:26.149 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f1896005d397e55] [ownerID=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [op=none] [2025/04/04 10:38:26.149 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [2025/04/04 10:38:26.149 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [ownerKey=/tidb/stats/owner/6f1896005d397e55] [currRev=1582] [2025/04/04 10:38:26.150 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/b651ac78-dd6d-4616-8d0e-2f236341968e] [2025/04/04 10:38:26.151 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [ttl-worker=task-manager] [ttl-worker=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [originalCount=0] [newCount=4] [2025/04/04 10:38:26.151 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [ttl-worker=task-manager] [ttl-worker=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [originalCount=0] [newCount=4] [2025/04/04 10:38:26.151 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [2025/04/04 10:38:26.151 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:26.151 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:38:26.151 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763106151592689 [2025/04/04 10:38:26.151 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:38:26.157 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:38:26.164 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.914237ms] [2025/04/04 10:38:26.164 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:26.164 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:38:26.165 +00:00] [INFO] [set.go:172] ["set global var"] [conn=16] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:38:26.178 +00:00] [INFO] [set.go:172] ["set global var"] [conn=16] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:38:26.181 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=341] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/04 10:38:26.194 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:372, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:26.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:26.194 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:372, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:26.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`"] [2025/04/04 10:38:26.200 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=372] [conn=16] [job="ID:372, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:370, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:26.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:26.216 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=341] [neededSchemaVersion=342] ["elapsed time"=2.114878ms] [gotSchemaVersion=342] [phyTblIDs="[370]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:26.220 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=342] [2025/04/04 10:38:26.221 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=342] ["take time"=9.481858ms] [job="ID:372, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:26.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:26.231 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=372] [conn=16] [job="ID:372, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:370, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:26.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:26.246 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=342] [neededSchemaVersion=343] ["elapsed time"=2.0723ms] [gotSchemaVersion=343] [phyTblIDs="[370]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:26.250 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=343] [2025/04/04 10:38:26.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=343] ["take time"=9.444583ms] [job="ID:372, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:26.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:26.260 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=372] [conn=16] [job="ID:372, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:370, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:26.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:26.267 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 370, Old Table Name: _t1)"] [2025/04/04 10:38:26.279 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=343] [neededSchemaVersion=344] ["elapsed time"=1.012399ms] [gotSchemaVersion=344] [phyTblIDs="[370]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:26.283 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=344] [2025/04/04 10:38:26.285 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=344] ["take time"=7.839974ms] [job="ID:372, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:26.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:26.294 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=372] [tableIDs="[370]"] [comment="drop table: table ID"] [2025/04/04 10:38:26.300 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=372] [jobType="drop table"] [2025/04/04 10:38:26.301 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=372] [conn=16] [job="ID:372, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:26.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:26.320 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=372] [2025/04/04 10:38:26.320 +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: 1743763106321076602 [2025/04/04 10:38:26.324 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=344] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/04 10:38:26.338 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:374, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:26.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:26.338 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:374, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:26.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int, c varchar(128), unique index idx(b))"] [2025/04/04 10:38:26.344 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=374] [conn=17] [job="ID:374, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:26.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:26.348 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 373, Table Name: t1)"] [2025/04/04 10:38:26.368 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=344] [neededSchemaVersion=345] ["elapsed time"=1.66062ms] [gotSchemaVersion=345] [phyTblIDs="[373]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:26.372 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=374] [version=345] [2025/04/04 10:38:26.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=345] ["take time"=13.137716ms] [job="ID:374, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:26.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:26.386 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=374] [conn=17] [job="ID:374, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:26.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:26.398 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=374] [2025/04/04 10:38:26.398 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=345] [cur_db=test] [sql="create table t1 (a int, b int, c varchar(128), unique index idx(b))"] [user=] [2025/04/04 10:38:26.643 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:38:26.962 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117035851677699] [generation=1] [session=17] [keys=3998] [size=253.6kB] ["flushed keys"=3998] ["flushed size"=253.6kB] ["take time"=25.311448ms] [2025/04/04 10:38:26.962 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117035851677699] [generation=2] [session=17] [keys=0] [size=0B] ["flushed keys"=3998] ["flushed size"=253.6kB] ["take time"=30.382µs] [2025/04/04 10:38:26.962 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=3998] [flush_wait_duration=25.431694ms] [total_duration=186.566868ms] ["memdb traversal cache hit"=7996] ["memdb traversal cache miss"=7998] [size=253.6kB] [startTS=457117035851677699] [2025/04/04 10:38:26.963 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117035851677699] [commitTS=457117035904106497] [2025/04/04 10:38:26.964 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117035851677699] [startKey=7480000000000001755f698000000000000001038000000000000000] [endKey=7480000000000001755f728000000000000f9f] [concurrency=8] [2025/04/04 10:38:26.965 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457117035851677699\n# Conn_ID: 17\n# Query_time: 0.313395662\n# Parse_time: 0.046504518\n# Compile_time: 0.078102191\n# Rewrite_time: 0.010343498\n# Optimize_time: 0.000983681\n# Wait_TS: 0.000401583\n# Commit_primary_rpc_detail: {total:0.001s, region_id: 14, store: 127.0.0.1:20162, time_detail: {total_process_time: 59.6µs, total_suspend_time: 340.1µs, tikv_grpc_process_time: 11.4µs, tikv_grpc_wait_time: 16µs, tikv_wall_time: 434.7µs}, scan_detail: {get_snapshot_time: 14.8µs, rocksdb: {block: {}}}, write_detail: {store_batch_wait: 14.1µs, propose_send_wait: 0s, persist_log: {total: 72µs, write_leader_wait: 32ns, sync_log: 32.9µs, write_memtable: 2.56µs}, commit_log: 207.8µs, apply_batch_wait: 19.8µs, apply: {total:65.5µs, mutex_lock: 0s, write_leader_wait: 0s, write_wal: 11.1µs, write_memtable: 12.9µs}, scheduler: {process: 357.1µs, latch_wait: 2.43µ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('xgnwdTAJMjdfMQkwCTAJTi9BCTAJdGltZToxNjAuOG1zLCBvcGVuOjcuNjfCtXMsIGNsb3NlOjE4LjfCtXMsIGxvb3BzOjEsIHByZXBhcmU6IDE4LjFtcywgY2hlY2tfaW5zZXJ0OiB7dG90YWxfdGltZTogMTQyLjcBWwxtZW1fCSIRGgwyNS4zARo0cHJlZmV0Y2g6IDE3LjQBEghma18FUww6IDEwARBgcnBjOntCdWZmZXJCYXRjaEdldDp7bnVtXwEZDDEsIHQZcRw0LjczbXN9LH4oAAg2LjYBJwAgIQAkX2RldGFpbDogewlJGHByb2Nlc3MNqAg2bnMRYixrdl9yZWFkX3dhbGwNHgA4CbIgdGlrdl9ncnBjOj0AEDQzMy45JT4ZIgh3YWkxBAwyMi4zGR4dVww1LjE4BaAMc2Nhbj6gAFhrZXlzOiAyMDAwLCBnZXRfc25hcHNobxVVCDUuMgVVSHJvY2tzZGI6IHtibG9jazoge30BARQsIGNvbW0BhBB4bjogexUPGHByaW1hcnklVS0LbDogMC4wMDFzLCByZWdpb25faWQ6IDE0LCBzdG9FATQyNy4wLjAuMToyMDE2Mo5PAQw1OS42BZ4pbBhzdXNwZW5kLU4QMzQwLjEJHlpRAQwxMS40OiEAPVAAMQ1bAT09Tgg0MzRFxAR9LDpQAUo+AQwxNC44BWFSPgEULCB3cml0XTIlCQRfYkGWBYkhHw3DIHByb3Bvc2VfcwHgAaVAOiAwcywgcGVyc2lzdF9sb2c5ZwA3KbIJXRRsZWFkZXINMwQzMkGADHN5bmMJMgQzMk1RCSwwbWVtdGFibGU6IDIuNQH+Od8FYQgyMDcN0BBhcHBseTaqAAA5LhsAFY0MNjUuNSUCFG11dGV4X0k7AboJcjKeABkXDHdhbDohnim/CSsZnQAxCbYlgShoZWR1bGVyOiB7cGlpEDogMzU3DTkAbD1KCDIuNGEeQbQ0CTUyNS40IEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('0gnwZQrNCQoISW5zZXJ0XzE4AUABUgNOL0FaMnRpbWU6MTYwLjhtcywgb3Blbjo3LjY3wrVzLCBjbG9zZToxOC43wrVzLCBsb29wczoxYr8DcHJlcGFyZTogMTguMW1zLCBjaGVja19pbgFfIDoge3RvdGFsXwVbOCAxNDIuN21zLCBtZW1faQmBDRoMMjUuMwEaNHByZWZldGNoOiAxNy40ARIMZmtfYwFTDDogMTABEGBycGM6e0J1ZmZlckJhdGNoR2V0OntudW1fARkIMSwgHXEcNC43M21zfSx+KAAINi42AScAIAGMHF9kZXRhaWw6EboYcHJvY2Vzcw2oCDZucxFiKGt2X3JlYWRfd2FsEeAAOAmyIHRpa3ZfZ3JwYzo9ABA0MzMuOSVOGSIMd2FpdA1cDDIyLjMZHh1XDDUuMTgFoAxzY2FuPqAAWGtleXM6IDIwMDAsIGdldF9zbmFwc2hvFVUINS4yBVVIcm9ja3NkYjoge2Jsb2NrOiB7fQEBGGKyBWNvbW0BhRh4bjogeywgDQ8YcHJpbWFyeSVWLQxIOiAwLjAwMXMsIHJlZ2lvbl9pZCHUFCwgc3RvckECNDI3LjAuMC4xOjIwMTYyjlABDDU5LjYFnym2GHN1c3BlbmQtERAzNDAuMQkeWlIBDDExLjQ6IQA9UQAxDVsBPT1PDDQzNC5BxgR9LDpRAUo/AQwxNC44BWFSPwEULCB3cml0XTMlCQRfYkGXBYkhHw3DIHByb3Bvc2VfcwHgAaVAOiAwcywgcGVyc2lzdF9sb2c5ZwA3KbMJXRRsZWFkZXINMwQzMkGBDHN5bmMJMgQzMk1SCSwwbWVtdGFibGU6IDIuNQH+AH010AVhCDIwNw3QEGFwcGx5NqoAADkuGwAVjQw2NS41JQIUbXV0ZXhfSTwBuglyMp4AGRcMd2FsOiGeKb8JKxmdADEJtiWBKGhlZHVsZXI6IHtwaWoQOiAzNTcNOQBsPUoIMi40YR9BtUBwkOsgeP///////////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 10:38:26.980 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [] [2025/04/04 10:38:26.980 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [2025/04/04 10:38:26.980 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:38:26.980 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:38:26.980 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:26.980 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:26.980 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 32, tp general"] ["take time"=44.521µs] [2025/04/04 10:38:26.981 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 33, tp general"] ["take time"=39.605µs] [2025/04/04 10:38:26.981 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [2025/04/04 10:38:26.981 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [2025/04/04 10:38:26.982 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:38:26.982 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:38:26.983 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] ["take time"=2.707372ms] [2025/04/04 10:38:26.983 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [2025/04/04 10:38:26.983 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:38:26.983 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/b651ac78-dd6d-4616-8d0e-2f236341968e] [2025/04/04 10:38:26.983 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [ttl-worker=task-manager] [ttl-worker=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [originalCount=4] [newCount=0] [2025/04/04 10:38:26.983 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:26.983 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:26.983 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:26.983 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:26.983 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [ttl-worker=task-manager] [ttl-worker=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [originalCount=4] [newCount=0] [2025/04/04 10:38:26.986 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:26.986 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:26.986 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:26.986 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:26.988 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [2025/04/04 10:38:26.988 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:38:26.989 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1290] [2025/04/04 10:38:26.989 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:38:26.989 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:38:26.989 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:26.989 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:38:26.989 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:26.989 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:26.989 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:38:26.989 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:38:26.990 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:38:26.990 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:26.989 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:38:26.990 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:26.990 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:38:26.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:26.990 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:38:26.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:26.990 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:26.990 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:38:26.990 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:38:26.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:26.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:26.990 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:38:26.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:26.990 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:38:26.990 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:38:26.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:26.990 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:26.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:26.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:26.990 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:38:26.990 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [] [2025/04/04 10:38:26.990 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:26.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:26.989 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:38:26.990 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [2025/04/04 10:38:26.990 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:38:26.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:26.990 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:26.990 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:38:26.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:26.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:26.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:26.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:26.989 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:26.990 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:26.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:26.990 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:38:26.990 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:26.990 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:38:26.990 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:38:26.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:26.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:26.990 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:38:26.990 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:38:26.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:26.990 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=ad6b7197-8615-46cd-9676-ea85cf785834] [] [2025/04/04 10:38:26.990 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:38:26.990 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=ad6b7197-8615-46cd-9676-ea85cf785834] [2025/04/04 10:38:26.990 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:38:26.990 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:38:26.990 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=ad6b7197-8615-46cd-9676-ea85cf785834] [2025/04/04 10:38:26.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:26.990 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [2025/04/04 10:38:26.990 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:38:26.990 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=ad6b7197-8615-46cd-9676-ea85cf785834] [2025/04/04 10:38:26.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:26.990 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:26.990 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [2025/04/04 10:38:26.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:26.990 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [Pipeline] } [2025/04/04 10:38:26.992 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=ad6b7197-8615-46cd-9676-ea85cf785834] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:26.992 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:38:26.992 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:38:26.992 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:26.992 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:26.992 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:26.992 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:38:26.992 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:38:26.993 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:38:26.993 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:26.993 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:38:26.993 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [error="context canceled"] [2025/04/04 10:38:26.994 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [2025/04/04 10:38:27.001 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117035851677699] [startKey=7480000000000001755f698000000000000001038000000000000000] [endKey=7480000000000001755f728000000000000f9f] ["cost time"=36.992612ms] ["completed regions"=1] [2025/04/04 10:38:27.001 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117035851677699] [commitTS=457117035904106497] [session=17] [2025/04/04 10:38:27.009 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:38:27.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:27.053 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=64cc6b7c-90be-4ad5-89e5-1d6f2c43451c] [error="context canceled"] [2025/04/04 10:38:27.053 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:38:27.053 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:27.063 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.200631ms] [2025/04/04 10:38:27.932 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:38:32.001 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117035851677699 commit_ts:457117035904106497 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:32.001 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117035851677699 commit_ts:457117035904106497 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:32.001 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117035851677699 commit_ts:457117035904106497 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:32.002 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:38:32.002 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:38:32.002 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:38:32.002 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:38:32.002 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:38:32.002 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:38:32.002 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:38:32.002 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:38:32.002 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:38:32.002 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:32.002 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:38:32.002 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:38:32.003 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn (6.09s) === NAME === RUN TestPipelinedDMLDelete [2025/04/04 10:38:32.011 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:38:32.011 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:38:32.012 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347877260180] [2025/04/04 10:38:32.013 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:38:32.013 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:38:32.013 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:38:32.013 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:38:32.013 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:38:32.013 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:38:32.014 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:38:32.014 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:38:32.017 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:38:32.022 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:32.023 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:32.023 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:32.033 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404347877260180] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:38:32.043 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:38:32.078 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1198] ["lease id"=223196005d397790] [2025/04/04 10:38:32.080 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:38:32.165 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=345] ["elapsed time"=82.737759ms] [2025/04/04 10:38:32.165 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:38:32.167 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:38:32.173 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [runWorker=true] [jobVersion=v2] [2025/04/04 10:38:32.173 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:38:32.175 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [2025/04/04 10:38:32.176 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:38:32.177 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 142339674112/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:38:32.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:32.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:32.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:32.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:32.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:32.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:32.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:32.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:32.178 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:38:32.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:32.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:32.178 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:32.178 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=b9567afb-4d0d-4aef-a10f-379596266efd] [2025/04/04 10:38:32.178 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d397795] [ownerID=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [op=none] [2025/04/04 10:38:32.178 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [2025/04/04 10:38:32.178 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [ownerKey=/tidb/ddl/fg/owner/223196005d397795] [currRev=1611] [2025/04/04 10:38:32.180 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:38:32.180 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:32.180 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=b9567afb-4d0d-4aef-a10f-379596266efd] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:32.180 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d397795] [ownerID=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [op=none] [2025/04/04 10:38:32.181 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [op=none] [2025/04/04 10:38:32.181 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:38:32.181 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f1896005d397e75] [ownerID=b9567afb-4d0d-4aef-a10f-379596266efd] [op=none] [2025/04/04 10:38:32.181 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=b9567afb-4d0d-4aef-a10f-379596266efd] [2025/04/04 10:38:32.181 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=b9567afb-4d0d-4aef-a10f-379596266efd] [ownerKey=/tidb/br-stream/owner/6f1896005d397e75] [currRev=1612] [2025/04/04 10:38:32.185 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLDelete\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:580\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:32.186 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLDelete\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:580\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:32.187 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLDelete\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:580\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:32.187 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [2025/04/04 10:38:32.188 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:32.189 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:38:32.197 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:32.203 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:32.208 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:32.208 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:32.208 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:32.208 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:32.208 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:38:32.208 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:38:32.208 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:38:32.208 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:38:32.208 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:38:32.209 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:32.209 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [2025/04/04 10:38:32.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:32.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:32.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:32.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:32.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:32.210 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:38:32.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:32.210 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:38:32.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:32.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:32.210 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:38:32.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:32.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:32.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:32.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:32.212 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:38:32.213 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/223196005d39779c] [ownerID=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [op=none] [2025/04/04 10:38:32.213 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [2025/04/04 10:38:32.213 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [ownerKey=/tidb/stats/owner/223196005d39779c] [currRev=1614] [2025/04/04 10:38:32.215 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:38:32.215 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/da72ed38-3953-4864-a50a-38b678331fe6] [2025/04/04 10:38:32.215 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [ttl-worker=task-manager] [ttl-worker=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [originalCount=0] [newCount=4] [2025/04/04 10:38:32.216 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [ttl-worker=task-manager] [ttl-worker=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [originalCount=0] [newCount=4] [2025/04/04 10:38:32.216 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [2025/04/04 10:38:32.216 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:32.216 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:38:32.216 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763112216848372 [2025/04/04 10:38:32.220 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:38:32.229 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.268385ms] [2025/04/04 10:38:32.229 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:38:32.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:32.231 +00:00] [INFO] [set.go:172] ["set global var"] [conn=18] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:38:32.233 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=18] [schemaVersion=345] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 10:38:32.246 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:375, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:32.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:32.246 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:375, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:32.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/04 10:38:32.252 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=375] [conn=18] [job="ID:375, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:32.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:32.267 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=345] [neededSchemaVersion=346] ["elapsed time"=2.308332ms] [gotSchemaVersion=346] [phyTblIDs="[373]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:32.272 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=375] [version=346] [2025/04/04 10:38:32.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=346] ["take time"=10.177903ms] [job="ID:375, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:32.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:32.283 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=375] [conn=18] [job="ID:375, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:32.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:32.299 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=346] [neededSchemaVersion=347] ["elapsed time"=2.249559ms] [gotSchemaVersion=347] [phyTblIDs="[373]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:32.303 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=375] [version=347] [2025/04/04 10:38:32.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=347] ["take time"=9.723629ms] [job="ID:375, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:32.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:32.313 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=375] [conn=18] [job="ID:375, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:32.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:32.320 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 373, Old Table Name: t1)"] [2025/04/04 10:38:32.333 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=347] [neededSchemaVersion=348] ["elapsed time"=1.065465ms] [gotSchemaVersion=348] [phyTblIDs="[373]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:32.337 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=375] [version=348] [2025/04/04 10:38:32.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=348] ["take time"=8.778934ms] [job="ID:375, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:32.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:32.348 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=375] [tableIDs="[373]"] [comment="drop table: table ID"] [2025/04/04 10:38:32.355 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=375] [jobType="drop table"] [2025/04/04 10:38:32.356 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=375] [conn=18] [job="ID:375, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:32.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:32.374 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=375] [2025/04/04 10:38:32.375 +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: 1743763112375485772 [2025/04/04 10:38:32.378 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=348] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 10:38:32.391 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:377, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:32.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:38:32.391 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:377, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:32.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:32.396 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=377] [conn=19] [job="ID:377, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:32.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:32.400 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 376, Table Name: t)"] [2025/04/04 10:38:32.414 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=348] [neededSchemaVersion=349] ["elapsed time"=1.402534ms] [gotSchemaVersion=349] [phyTblIDs="[376]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:32.417 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=377] [version=349] [2025/04/04 10:38:32.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=349] ["take time"=8.178126ms] [job="ID:377, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:32.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:32.429 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=377] [conn=19] [job="ID:377, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:32.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:32.440 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=377] [2025/04/04 10:38:32.440 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=349] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 10:38:32.453 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:379, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:32.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:32.453 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:379, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:32.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 10:38:32.459 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=379] [conn=19] [job="ID:379, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:378, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:32.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:32.463 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 378, Table Name: _t)"] [2025/04/04 10:38:32.477 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=349] [neededSchemaVersion=350] ["elapsed time"=1.52994ms] [gotSchemaVersion=350] [phyTblIDs="[378]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:32.481 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=379] [version=350] [2025/04/04 10:38:32.483 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=350] ["take time"=8.613756ms] [job="ID:379, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:32.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:32.493 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=379] [conn=19] [job="ID:379, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:378, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:32.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:32.504 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=379] [2025/04/04 10:38:32.505 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=350] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 10:38:32.507 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037358743560] [2025/04/04 10:38:32.511 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037358743564] [2025/04/04 10:38:32.515 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037358743567] [2025/04/04 10:38:32.518 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037358743570] [2025/04/04 10:38:32.523 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037358743574] [2025/04/04 10:38:32.527 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037358743577] [2025/04/04 10:38:32.531 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037358743580] [2025/04/04 10:38:32.534 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037358743584] [2025/04/04 10:38:32.538 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037372112899] [2025/04/04 10:38:32.542 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037372112902] [2025/04/04 10:38:32.545 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037372112905] [2025/04/04 10:38:32.549 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037372112908] [2025/04/04 10:38:32.552 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037372112911] [2025/04/04 10:38:32.556 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037372112914] [2025/04/04 10:38:32.560 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037372112917] [2025/04/04 10:38:32.563 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037372112920] [2025/04/04 10:38:32.567 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037372112923] [2025/04/04 10:38:32.570 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037372112926] [2025/04/04 10:38:32.574 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037372112929] [2025/04/04 10:38:32.577 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037372112932] [2025/04/04 10:38:32.581 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037372112935] [2025/04/04 10:38:32.585 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037372112939] [2025/04/04 10:38:32.588 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037385220099] [2025/04/04 10:38:32.592 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037385220102] [2025/04/04 10:38:32.596 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037385220105] [2025/04/04 10:38:32.600 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037385220108] [2025/04/04 10:38:32.604 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037385220111] [2025/04/04 10:38:32.607 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037385220114] [2025/04/04 10:38:32.613 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037385220117] [2025/04/04 10:38:32.617 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037385220120] [2025/04/04 10:38:32.621 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037385220123] [2025/04/04 10:38:32.625 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037385220126] [2025/04/04 10:38:32.629 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037385220129] [2025/04/04 10:38:32.633 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037385220133] [2025/04/04 10:38:32.637 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037398065154] [2025/04/04 10:38:32.641 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037398065157] [2025/04/04 10:38:32.645 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037398065160] [2025/04/04 10:38:32.649 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037398065163] [2025/04/04 10:38:32.653 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037398065166] [2025/04/04 10:38:32.656 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037398065169] [2025/04/04 10:38:32.660 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037398065172] [2025/04/04 10:38:32.664 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037398065175] [2025/04/04 10:38:32.668 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037398065178] [2025/04/04 10:38:32.671 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037398065181] [2025/04/04 10:38:32.675 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037398065184] [2025/04/04 10:38:32.679 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037398065187] [2025/04/04 10:38:32.683 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037398065193] [2025/04/04 10:38:32.686 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037411434498] [2025/04/04 10:38:32.690 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037411434501] [2025/04/04 10:38:32.699 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037411434504] [2025/04/04 10:38:32.703 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037411434507] [2025/04/04 10:38:32.706 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037411434510] [2025/04/04 10:38:32.710 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037411434513] [2025/04/04 10:38:32.713 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037411434516] [2025/04/04 10:38:32.717 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037411434519] [2025/04/04 10:38:32.721 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037411434522] [2025/04/04 10:38:32.724 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037411434525] [2025/04/04 10:38:32.727 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037411434528] [2025/04/04 10:38:32.731 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037411434531] [2025/04/04 10:38:32.735 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037411434535] [2025/04/04 10:38:32.739 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037424541699] [2025/04/04 10:38:32.743 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037424541702] [2025/04/04 10:38:32.747 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037424541705] [2025/04/04 10:38:32.751 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037424541708] [2025/04/04 10:38:32.754 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037424541711] [2025/04/04 10:38:32.758 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037424541714] [2025/04/04 10:38:32.762 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037424541717] [2025/04/04 10:38:32.766 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037424541720] [2025/04/04 10:38:32.770 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037424541723] [2025/04/04 10:38:32.774 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037424541726] [2025/04/04 10:38:32.777 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037424541729] [2025/04/04 10:38:32.781 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037424541732] [2025/04/04 10:38:32.785 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037437386753] [2025/04/04 10:38:32.789 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037437386756] [2025/04/04 10:38:32.793 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037437386759] [2025/04/04 10:38:32.797 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037437386762] [2025/04/04 10:38:32.800 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037437386765] [2025/04/04 10:38:32.804 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037437386768] [2025/04/04 10:38:32.808 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037437386771] [2025/04/04 10:38:32.812 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037437386774] [2025/04/04 10:38:32.815 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037437386777] [2025/04/04 10:38:32.819 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037437386781] [2025/04/04 10:38:32.823 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037437386784] [2025/04/04 10:38:32.827 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037437386787] [2025/04/04 10:38:32.832 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037437386790] [2025/04/04 10:38:32.836 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037450493953] [2025/04/04 10:38:32.840 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037450493956] [2025/04/04 10:38:32.843 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037450493959] [2025/04/04 10:38:32.847 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037450493962] [2025/04/04 10:38:32.851 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037450493965] [2025/04/04 10:38:32.855 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037450493968] [2025/04/04 10:38:32.859 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037450493971] [2025/04/04 10:38:32.863 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037450493974] [2025/04/04 10:38:32.867 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037450493977] [2025/04/04 10:38:32.870 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037450493980] [2025/04/04 10:38:32.874 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037450493983] [2025/04/04 10:38:32.878 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037450493986] [2025/04/04 10:38:32.882 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037450493989] [2025/04/04 10:38:32.886 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037463601153] [2025/04/04 10:38:32.890 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117037463601156] [2025/04/04 10:38:32.901 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117037463601160] [generation=1] [session=19] [keys=50] [size=950B] ["flushed keys"=50] ["flushed size"=950B] ["take time"=1.616125ms] [2025/04/04 10:38:32.901 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=50] [flush_wait_duration=1.722229ms] [total_duration=4.136747ms] ["memdb traversal cache hit"=50] ["memdb traversal cache miss"=100] [size=950B] [startTS=457117037463601160] [2025/04/04 10:38:32.902 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117037463601160] [commitTS=457117037463601161] [2025/04/04 10:38:32.902 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117037463601160] [startKey=7480000000000001785f728000000000000000] [endKey=7480000000000001785f728000000000000062] [concurrency=8] [2025/04/04 10:38:32.908 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117037463601160] [startKey=7480000000000001785f728000000000000000] [endKey=7480000000000001785f728000000000000062] ["cost time"=6.064633ms] ["completed regions"=1] [2025/04/04 10:38:32.909 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117037463601160] [commitTS=457117037463601161] [session=19] [2025/04/04 10:38:32.920 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117037463601163] [generation=1] [session=19] [keys=100] [size=2.4kB] ["flushed keys"=100] ["flushed size"=2.4kB] ["take time"=2.171281ms] [2025/04/04 10:38:32.920 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.28138ms] [total_duration=7.732061ms] ["memdb traversal cache hit"=150] ["memdb traversal cache miss"=200] [size=2.4kB] [startTS=457117037463601163] [2025/04/04 10:38:32.921 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117037463601163] [commitTS=457117037463601164] [2025/04/04 10:38:32.921 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117037463601163] [startKey=7480000000000001785f728000000000000001] [endKey=7480000000000001785f72800000000000270f] [concurrency=8] [2025/04/04 10:38:32.922 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=9] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=7480000000000001785f7280000000000003e8] [2025/04/04 10:38:32.925 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=7480000000000001785f7280000000000003e8] ["first new region left"="{Id:172 StartKey:7480000000000001ff215f728000000000ff0023280000000000fa EndKey:7480000000000001ff785f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:173 store_id:2 id:174 store_id:7 id:175 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/04 10:38:32.925 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=172] [2025/04/04 10:38:32.941 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117037463601163] [startKey=7480000000000001785f728000000000000001] [endKey=7480000000000001785f72800000000000270f] ["cost time"=19.689815ms] ["completed regions"=10] [2025/04/04 10:38:32.941 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457117037463601163] [commitTS=457117037463601164] [session=19] [2025/04/04 10:38:33.026 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f7280000000000003e8] ["new region left"="{Id:172 StartKey:7480000000000001ff215f728000000000ff0023280000000000fa EndKey:7480000000000001ff785f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:173 store_id:2 id:174 store_id:7 id:175 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:33.026 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=176] [2025/04/04 10:38:33.027 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f7280000000000007d0] ["new region left"="{Id:176 StartKey:7480000000000001ff785f728000000000ff0003e80000000000fa EndKey:7480000000000001ff785f728000000000ff0007d00000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:177 store_id:2 id:178 store_id:7 id:179 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:33.027 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=180] [2025/04/04 10:38:33.028 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f728000000000000bb8] ["new region left"="{Id:180 StartKey:7480000000000001ff785f728000000000ff0007d00000000000fa EndKey:7480000000000001ff785f728000000000ff000bb80000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:181 store_id:2 id:182 store_id:7 id:183 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:33.029 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=184] [2025/04/04 10:38:33.029 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f728000000000000fa0] ["new region left"="{Id:184 StartKey:7480000000000001ff785f728000000000ff000bb80000000000fa EndKey:7480000000000001ff785f728000000000ff000fa00000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:185 store_id:2 id:186 store_id:7 id:187 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:33.029 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=188] [2025/04/04 10:38:33.030 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f728000000000001388] ["new region left"="{Id:188 StartKey:7480000000000001ff785f728000000000ff000fa00000000000fa EndKey:7480000000000001ff785f728000000000ff0013880000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:189 store_id:2 id:190 store_id:7 id:191 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:33.030 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=192] [2025/04/04 10:38:33.031 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f728000000000001770] ["new region left"="{Id:192 StartKey:7480000000000001ff785f728000000000ff0013880000000000fa EndKey:7480000000000001ff785f728000000000ff0017700000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:193 store_id:2 id:194 store_id:7 id:195 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:33.031 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=196] [2025/04/04 10:38:33.032 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f728000000000001b58] ["new region left"="{Id:196 StartKey:7480000000000001ff785f728000000000ff0017700000000000fa EndKey:7480000000000001ff785f728000000000ff001b580000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:197 store_id:2 id:198 store_id:7 id:199 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:33.032 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=200] [2025/04/04 10:38:33.033 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f728000000000001f40] ["new region left"="{Id:200 StartKey:7480000000000001ff785f728000000000ff001b580000000000fa EndKey:7480000000000001ff785f728000000000ff001f400000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:201 store_id:2 id:202 store_id:7 id:203 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:33.033 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=204] [2025/04/04 10:38:33.033 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f728000000000002328] ["new region left"="{Id:204 StartKey:7480000000000001ff785f728000000000ff001f400000000000fa EndKey:7480000000000001ff785f728000000000ff0023280000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:205 store_id:2 id:206 store_id:7 id:207 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:33.034 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=9] ["region IDs"="[172,176,180,184,188,192,196,200,204]"] [2025/04/04 10:38:33.034 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=172] [backoff(ms)=299888] [2025/04/04 10:38:33.034 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=172] [2025/04/04 10:38:33.034 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=176] [backoff(ms)=299887] [2025/04/04 10:38:33.035 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=176] [2025/04/04 10:38:33.035 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=180] [backoff(ms)=299887] [2025/04/04 10:38:33.035 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=180] [2025/04/04 10:38:33.035 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=184] [backoff(ms)=299886] [2025/04/04 10:38:33.036 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=184] [2025/04/04 10:38:33.036 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=188] [backoff(ms)=299886] [2025/04/04 10:38:33.036 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=188] [2025/04/04 10:38:33.036 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=192] [backoff(ms)=299885] [2025/04/04 10:38:33.037 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=192] [2025/04/04 10:38:33.037 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=196] [backoff(ms)=299885] [2025/04/04 10:38:33.037 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=196] [2025/04/04 10:38:33.037 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=200] [backoff(ms)=299885] [2025/04/04 10:38:33.037 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=200] [2025/04/04 10:38:33.037 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=204] [backoff(ms)=299884] [2025/04/04 10:38:33.038 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=204] [2025/04/04 10:38:33.047 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117037502922754] [generation=1] [session=19] [keys=50] [size=950B] ["flushed keys"=50] ["flushed size"=950B] ["take time"=2.297826ms] [2025/04/04 10:38:33.047 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=50] [flush_wait_duration=2.399053ms] [total_duration=7.169201ms] ["memdb traversal cache hit"=50] ["memdb traversal cache miss"=100] [size=950B] [startTS=457117037502922754] [2025/04/04 10:38:33.048 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117037502922754] [commitTS=457117037502922755] [2025/04/04 10:38:33.048 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117037502922754] [startKey=7480000000000001785f728000000000000065] [endKey=7480000000000001785f72800000000000270f] [concurrency=8] [2025/04/04 10:38:33.059 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117037502922754] [startKey=7480000000000001785f728000000000000065] [endKey=7480000000000001785f72800000000000270f] ["cost time"=10.362692ms] ["completed regions"=10] [2025/04/04 10:38:33.059 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457117037502922754] [commitTS=457117037502922755] [session=19] [2025/04/04 10:38:33.059 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:38:33.059 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [] [2025/04/04 10:38:33.059 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:38:33.059 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [2025/04/04 10:38:33.059 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:33.059 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:33.059 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 34, tp general"] ["take time"=69.43µs] [2025/04/04 10:38:33.060 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 35, tp general"] ["take time"=33.092µs] [2025/04/04 10:38:33.060 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 36, tp general"] ["take time"=29.547µs] [2025/04/04 10:38:33.060 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [2025/04/04 10:38:33.060 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [2025/04/04 10:38:33.061 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:38:33.061 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:38:33.062 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] ["take time"=3.322751ms] [2025/04/04 10:38:33.062 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [2025/04/04 10:38:33.063 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:38:33.063 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/da72ed38-3953-4864-a50a-38b678331fe6] [2025/04/04 10:38:33.063 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [ttl-worker=task-manager] [ttl-worker=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [originalCount=4] [newCount=0] [2025/04/04 10:38:33.063 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:33.063 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:33.063 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:33.063 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:33.063 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [ttl-worker=task-manager] [ttl-worker=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [originalCount=4] [newCount=0] [2025/04/04 10:38:33.066 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:33.066 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:33.066 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:33.066 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:33.068 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [2025/04/04 10:38:33.068 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:38:33.069 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1198] [2025/04/04 10:38:33.069 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:38:33.069 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:38:33.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:33.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:33.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:33.069 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:38:33.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:33.069 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:38:33.069 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:33.069 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:38:33.070 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:38:33.070 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:38:33.070 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:38:33.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:33.070 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=b9567afb-4d0d-4aef-a10f-379596266efd] [] [2025/04/04 10:38:33.070 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:38:33.070 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:38:33.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:33.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:33.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:33.070 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:38:33.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:33.070 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:33.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:33.070 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [] [2025/04/04 10:38:33.070 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:33.069 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:38:33.070 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [2025/04/04 10:38:33.070 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:33.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:33.069 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:38:33.069 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:38:33.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:33.070 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [2025/04/04 10:38:33.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:33.070 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [2025/04/04 10:38:33.070 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:33.069 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:38:33.070 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:38:33.070 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:38:33.070 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:33.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:33.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:33.070 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:33.070 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:38:33.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:33.070 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:38:33.070 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:38:33.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:33.070 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:38:33.070 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:38:33.070 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:38:33.070 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:38:33.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:33.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:33.070 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=b9567afb-4d0d-4aef-a10f-379596266efd] [2025/04/04 10:38:33.070 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:33.071 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=b9567afb-4d0d-4aef-a10f-379596266efd] [2025/04/04 10:38:33.071 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:33.069 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:38:33.071 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=b9567afb-4d0d-4aef-a10f-379596266efd] [2025/04/04 10:38:33.070 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:33.070 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:38:33.069 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:33.071 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:33.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:33.070 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:38:33.071 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:33.071 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:33.071 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:33.072 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:38:33.072 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:38:33.072 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:33.072 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=b9567afb-4d0d-4aef-a10f-379596266efd] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:33.072 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:33.072 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:38:33.072 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:38:33.072 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:38:33.072 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:33.072 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:33.072 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:38:33.073 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [error="context canceled"] [2025/04/04 10:38:33.073 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [2025/04/04 10:38:33.073 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [error="context canceled"] [2025/04/04 10:38:33.073 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=a4cb587a-48d5-4f24-a3aa-cdfab5f8363c] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:33.091 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:38:33.091 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:33.134 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:38:33.134 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:33.145 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.533371ms] [2025/04/04 10:38:34.018 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:38:37.910 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117037463601160 commit_ts:457117037463601161 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:37.910 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117037463601160 commit_ts:457117037463601161 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:37.910 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117037463601160 commit_ts:457117037463601161 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:37.942 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117037463601163 commit_ts:457117037463601164 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:37.942 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117037463601163 commit_ts:457117037463601164 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:37.942 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117037463601163 commit_ts:457117037463601164 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:38.059 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117037502922754 commit_ts:457117037502922755 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:38.059 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117037502922754 commit_ts:457117037502922755 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:38.059 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117037502922754 commit_ts:457117037502922755 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:38.060 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:38:38.060 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:38:38.060 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:38:38.060 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:38:38.060 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:38:38.060 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:38:38.060 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:38:38.060 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:38:38.060 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:38:38.060 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:38.060 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:38:38.060 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:38:38.062 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLDelete (6.06s) === NAME === RUN TestPipelinedDMLUpdate [2025/04/04 10:38:38.073 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:38:38.074 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:38:38.075 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347877260180] [2025/04/04 10:38:38.075 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:38:38.076 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:38:38.076 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:38:38.076 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:38:38.076 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:38:38.076 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:38:38.076 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:38:38.077 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:38:38.081 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:38:38.087 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:38.088 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:38.088 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:38.101 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404347877260180] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:38:38.111 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:38:38.146 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1749] ["lease id"=3eaa96005d39733a] [2025/04/04 10:38:38.148 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:38:38.241 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=350] ["elapsed time"=90.298612ms] [2025/04/04 10:38:38.241 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:38:38.244 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:38:38.254 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=82973317-0fc6-4fea-9bf1-347934821279] [runWorker=true] [jobVersion=v2] [2025/04/04 10:38:38.254 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:38:38.256 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [2025/04/04 10:38:38.257 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:38:38.257 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 142339686400/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:38:38.257 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:38.257 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:38.257 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:38.257 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:38.257 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:38.257 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:38.257 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:38.257 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:38.257 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:38:38.257 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:38.257 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:38.257 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:38.257 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=ce4a1a96-ced8-4666-8ed5-04f2968e3216] [2025/04/04 10:38:38.259 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d397ea0] [ownerID=82973317-0fc6-4fea-9bf1-347934821279] [op=none] [2025/04/04 10:38:38.259 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [2025/04/04 10:38:38.260 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [ownerKey=/tidb/ddl/fg/owner/6f1896005d397ea0] [currRev=1646] [2025/04/04 10:38:38.260 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:38.260 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=ce4a1a96-ced8-4666-8ed5-04f2968e3216] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:38.261 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/223196005d3977bc] [ownerID=ce4a1a96-ced8-4666-8ed5-04f2968e3216] [op=none] [2025/04/04 10:38:38.261 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=ce4a1a96-ced8-4666-8ed5-04f2968e3216] [2025/04/04 10:38:38.261 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:38:38.261 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=ce4a1a96-ced8-4666-8ed5-04f2968e3216] [ownerKey=/tidb/br-stream/owner/223196005d3977bc] [currRev=1647] [2025/04/04 10:38:38.261 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d397ea0] [ownerID=82973317-0fc6-4fea-9bf1-347934821279] [op=none] [2025/04/04 10:38:38.261 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [op=none] [2025/04/04 10:38:38.262 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:38:38.270 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [2025/04/04 10:38:38.271 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:38.271 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:38:38.280 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:38.287 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:38.292 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:38.292 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:38.292 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:38:38.292 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:38.292 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:38:38.292 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:38.292 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:38:38.292 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:38:38.292 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:38:38.293 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:38.293 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [2025/04/04 10:38:38.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:38.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:38.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:38.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:38.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:38.294 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:38:38.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:38.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:38.294 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:38:38.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:38.294 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:38:38.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:38.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:38.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:38.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:38.296 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:38:38.296 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa96005d397347] [ownerID=82973317-0fc6-4fea-9bf1-347934821279] [op=none] [2025/04/04 10:38:38.296 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [2025/04/04 10:38:38.297 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [ownerKey=/tidb/stats/owner/3eaa96005d397347] [currRev=1649] [2025/04/04 10:38:38.299 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/4baf08be-0347-4265-970a-db1a283eaf4d] [2025/04/04 10:38:38.299 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:38.299 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:38:38.299 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/04 10:38:38.299 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=82973317-0fc6-4fea-9bf1-347934821279] [ttl-worker=task-manager] [ttl-worker=82973317-0fc6-4fea-9bf1-347934821279] [originalCount=0] [newCount=4] testkit.go:123: RefreshSession rand seed: 1743763118299778443 [2025/04/04 10:38:38.299 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=82973317-0fc6-4fea-9bf1-347934821279] [ttl-worker=task-manager] [ttl-worker=82973317-0fc6-4fea-9bf1-347934821279] [originalCount=0] [newCount=4] [2025/04/04 10:38:38.299 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=82973317-0fc6-4fea-9bf1-347934821279] [2025/04/04 10:38:38.300 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:38:38.305 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:38:38.313 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.6775ms] [2025/04/04 10:38:38.313 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:38:38.313 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:38.313 +00:00] [INFO] [set.go:172] ["set global var"] [conn=20] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:38:38.327 +00:00] [INFO] [set.go:172] ["set global var"] [conn=20] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:38:38.330 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=350] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 10:38:38.331 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=350] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:38:38.345 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:380, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:38.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:38.345 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:380, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:38.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:38:38.351 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=380] [conn=20] [job="ID:380, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:378, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:38.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:38.367 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=350] [neededSchemaVersion=351] ["elapsed time"=1.961186ms] [gotSchemaVersion=351] [phyTblIDs="[378]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:38.371 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=380] [version=351] [2025/04/04 10:38:38.373 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=351] ["take time"=9.95724ms] [job="ID:380, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:38.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:38.384 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=380] [conn=20] [job="ID:380, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:378, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:38.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:38.401 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=351] [neededSchemaVersion=352] ["elapsed time"=1.954881ms] [gotSchemaVersion=352] [phyTblIDs="[378]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:38.405 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=380] [version=352] [2025/04/04 10:38:38.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=352] ["take time"=9.558956ms] [job="ID:380, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:38.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:38.415 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=380] [conn=20] [job="ID:380, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:378, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:38.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:38.422 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 378, Old Table Name: _t)"] [2025/04/04 10:38:38.435 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=352] [neededSchemaVersion=353] ["elapsed time"=1.141993ms] [gotSchemaVersion=353] [phyTblIDs="[378]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:38.438 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=380] [version=353] [2025/04/04 10:38:38.440 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=353] ["take time"=8.624081ms] [job="ID:380, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:38.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:38.453 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=380] [tableIDs="[378]"] [comment="drop table: table ID"] [2025/04/04 10:38:38.461 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=380] [jobType="drop table"] [2025/04/04 10:38:38.462 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=380] [conn=20] [job="ID:380, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:38.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:38.482 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=380] [2025/04/04 10:38:38.494 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:381, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:38.483 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:38.494 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:381, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:38.483 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:38:38.499 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=381] [conn=20] [job="ID:381, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:38.483 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:38.518 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=353] [neededSchemaVersion=354] ["elapsed time"=1.841629ms] [gotSchemaVersion=354] [phyTblIDs="[376]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:38.521 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=381] [version=354] [2025/04/04 10:38:38.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=354] ["take time"=11.346135ms] [job="ID:381, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:38.483 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:38.533 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=381] [conn=20] [job="ID:381, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:38.483 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:38.548 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=354] [neededSchemaVersion=355] ["elapsed time"=1.845257ms] [gotSchemaVersion=355] [phyTblIDs="[376]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:38.552 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=381] [version=355] [2025/04/04 10:38:38.554 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=355] ["take time"=9.465062ms] [job="ID:381, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:38.483 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:38.562 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=381] [conn=20] [job="ID:381, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:38.483 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:38.569 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 376, Old Table Name: t)"] [2025/04/04 10:38:38.581 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=355] [neededSchemaVersion=356] ["elapsed time"=1.116555ms] [gotSchemaVersion=356] [phyTblIDs="[376]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:38.586 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=381] [version=356] [2025/04/04 10:38:38.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=356] ["take time"=9.007285ms] [job="ID:381, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:38.483 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:38.597 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=381] [tableIDs="[376]"] [comment="drop table: table ID"] [2025/04/04 10:38:38.602 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=381] [jobType="drop table"] [2025/04/04 10:38:38.603 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=381] [conn=20] [job="ID:381, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:38.483 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:38.621 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=381] [2025/04/04 10:38:38.621 +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: 1743763118622217794 [2025/04/04 10:38:38.626 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=356] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 10:38:38.640 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:383, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:38.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:38.640 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:383, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:38.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:38:38.646 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=383] [conn=21] [job="ID:383, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:38.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:38.650 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 382, Table Name: t)"] [2025/04/04 10:38:38.665 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=356] [neededSchemaVersion=357] ["elapsed time"=1.542794ms] [gotSchemaVersion=357] [phyTblIDs="[382]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:38.669 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=383] [version=357] [2025/04/04 10:38:38.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=357] ["take time"=9.173508ms] [job="ID:383, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:38.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:38.682 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=383] [conn=21] [job="ID:383, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:38.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:38.693 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=383] [2025/04/04 10:38:38.693 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=357] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 10:38:38.706 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:385, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:38.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:38.706 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:385, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:38.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 10:38:38.712 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=385] [conn=21] [job="ID:385, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:38.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:38.716 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 384, Table Name: _t)"] [2025/04/04 10:38:38.731 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=357] [neededSchemaVersion=358] ["elapsed time"=1.472351ms] [gotSchemaVersion=358] [phyTblIDs="[384]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:38.734 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=385] [version=358] [2025/04/04 10:38:38.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=358] ["take time"=8.901143ms] [job="ID:385, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:38.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:38.747 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=385] [conn=21] [job="ID:385, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:38.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:38.759 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=385] [2025/04/04 10:38:38.759 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=358] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 10:38:38.762 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117038997405707] [2025/04/04 10:38:38.766 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117038997405713] [2025/04/04 10:38:38.770 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117038997405716] [2025/04/04 10:38:38.774 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117038997405719] [2025/04/04 10:38:38.778 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117038997405722] [2025/04/04 10:38:38.782 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117038997405725] [2025/04/04 10:38:38.786 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039010250754] [2025/04/04 10:38:38.790 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039010250757] [2025/04/04 10:38:38.794 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039010250760] [2025/04/04 10:38:38.797 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039010250763] [2025/04/04 10:38:38.801 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039010250766] [2025/04/04 10:38:38.805 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039010250769] [2025/04/04 10:38:38.809 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039010250772] [2025/04/04 10:38:38.813 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039010250775] [2025/04/04 10:38:38.817 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039010250779] [2025/04/04 10:38:38.821 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039010250782] [2025/04/04 10:38:38.825 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039010250785] [2025/04/04 10:38:38.828 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039010250788] [2025/04/04 10:38:38.832 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039010250791] [2025/04/04 10:38:38.836 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039023357954] [2025/04/04 10:38:38.840 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039023357957] [2025/04/04 10:38:38.844 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039023357960] [2025/04/04 10:38:38.847 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039023357963] [2025/04/04 10:38:38.851 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039023357966] [2025/04/04 10:38:38.855 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039023357969] [2025/04/04 10:38:38.859 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039023357972] [2025/04/04 10:38:38.863 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039023357975] [2025/04/04 10:38:38.867 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039023357979] [2025/04/04 10:38:38.871 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039023357982] [2025/04/04 10:38:38.875 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039023357985] [2025/04/04 10:38:38.879 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039023357988] [2025/04/04 10:38:38.883 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039023357991] [2025/04/04 10:38:38.887 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039036465154] [2025/04/04 10:38:38.891 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039036465157] [2025/04/04 10:38:38.895 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039036465160] [2025/04/04 10:38:38.898 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039036465163] [2025/04/04 10:38:38.902 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039036465167] [2025/04/04 10:38:38.906 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039036465170] [2025/04/04 10:38:38.910 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039036465173] [2025/04/04 10:38:38.914 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039036465177] [2025/04/04 10:38:38.918 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039036465180] [2025/04/04 10:38:38.921 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039036465183] [2025/04/04 10:38:38.925 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039036465186] [2025/04/04 10:38:38.929 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039036465189] [2025/04/04 10:38:38.933 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039036465192] [2025/04/04 10:38:38.936 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039049834498] [2025/04/04 10:38:38.940 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039049834501] [2025/04/04 10:38:38.944 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039049834504] [2025/04/04 10:38:38.948 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039049834507] [2025/04/04 10:38:38.952 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039049834510] [2025/04/04 10:38:38.956 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039049834513] [2025/04/04 10:38:38.959 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039049834516] [2025/04/04 10:38:38.963 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039049834519] [2025/04/04 10:38:38.967 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039049834523] [2025/04/04 10:38:38.971 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039049834526] [2025/04/04 10:38:38.974 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039049834529] [2025/04/04 10:38:38.978 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039049834532] [2025/04/04 10:38:38.982 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039049834535] [2025/04/04 10:38:38.986 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039062679553] [2025/04/04 10:38:38.989 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039062679556] [2025/04/04 10:38:38.993 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039062679559] [2025/04/04 10:38:38.997 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039062679562] [2025/04/04 10:38:39.001 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039062679565] [2025/04/04 10:38:39.005 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039062679568] [2025/04/04 10:38:39.008 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039062679571] [2025/04/04 10:38:39.012 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039062679577] [2025/04/04 10:38:39.016 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039062679581] [2025/04/04 10:38:39.020 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039062679584] [2025/04/04 10:38:39.024 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039062679587] [2025/04/04 10:38:39.028 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039062679590] [2025/04/04 10:38:39.032 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039062679593] [2025/04/04 10:38:39.036 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039076048897] [2025/04/04 10:38:39.040 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039076048900] [2025/04/04 10:38:39.044 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039076048903] [2025/04/04 10:38:39.048 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039076048906] [2025/04/04 10:38:39.052 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039076048909] [2025/04/04 10:38:39.056 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039076048912] [2025/04/04 10:38:39.059 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039076048915] [2025/04/04 10:38:39.063 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039076048918] [2025/04/04 10:38:39.067 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039076048922] [2025/04/04 10:38:39.071 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039076048925] [2025/04/04 10:38:39.075 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039076048928] [2025/04/04 10:38:39.079 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039076048931] [2025/04/04 10:38:39.082 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039076048934] [2025/04/04 10:38:39.086 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039089156098] [2025/04/04 10:38:39.090 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039089156101] [2025/04/04 10:38:39.094 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039089156104] [2025/04/04 10:38:39.097 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039089156107] [2025/04/04 10:38:39.103 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039089156110] [2025/04/04 10:38:39.107 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039089156113] [2025/04/04 10:38:39.111 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039089156116] [2025/04/04 10:38:39.115 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039089156120] [2025/04/04 10:38:39.119 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039089156123] [2025/04/04 10:38:39.123 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039089156126] [2025/04/04 10:38:39.127 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039089156129] [2025/04/04 10:38:39.130 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039089156132] [2025/04/04 10:38:39.134 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039089156135] [2025/04/04 10:38:39.138 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039102263299] [2025/04/04 10:38:39.142 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039102263302] [2025/04/04 10:38:39.146 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117039102263305] [2025/04/04 10:38:39.159 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117039102263310] [generation=1] [session=21] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.311203ms] [2025/04/04 10:38:39.161 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117039102263310] [generation=2] [session=21] [keys=28] [size=812B] ["flushed keys"=38] ["flushed size"=1.102kB] ["take time"=1.350278ms] [2025/04/04 10:38:39.162 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117039102263310] [generation=3] [session=21] [keys=31] [size=899B] ["flushed keys"=69] ["flushed size"=2.001kB] ["take time"=1.258534ms] [2025/04/04 10:38:39.164 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117039102263310] [generation=4] [session=21] [keys=27] [size=783B] ["flushed keys"=96] ["flushed size"=2.784kB] ["take time"=1.270746ms] [2025/04/04 10:38:39.165 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117039102263310] [generation=5] [session=21] [keys=4] [size=116B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=826.644µs] [2025/04/04 10:38:39.165 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=1.841174ms] [total_duration=8.824602ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=100] [size=2.9kB] [startTS=457117039102263310] [2025/04/04 10:38:39.166 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117039102263310] [commitTS=457117039102263312] [2025/04/04 10:38:39.166 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117039102263310] [startKey=74800000000000017e5f728000000000000000] [endKey=74800000000000017e5f728000000000000063] [concurrency=8] [2025/04/04 10:38:39.172 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117039102263310] [startKey=74800000000000017e5f728000000000000000] [endKey=74800000000000017e5f728000000000000063] ["cost time"=5.214455ms] ["completed regions"=1] [2025/04/04 10:38:39.172 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117039102263310] [commitTS=457117039102263312] [session=21] [2025/04/04 10:38:39.176 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117039102263314] [generation=1] [session=21] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=1.066196ms] [2025/04/04 10:38:39.177 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117039102263314] [generation=2] [session=21] [keys=28] [size=672B] ["flushed keys"=38] ["flushed size"=912B] ["take time"=1.181051ms] [2025/04/04 10:38:39.179 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117039102263314] [generation=3] [session=21] [keys=28] [size=672B] ["flushed keys"=66] ["flushed size"=1.584kB] ["take time"=1.128538ms] [2025/04/04 10:38:39.180 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117039102263314] [generation=4] [session=21] [keys=28] [size=672B] ["flushed keys"=94] ["flushed size"=2.256kB] ["take time"=1.312917ms] [2025/04/04 10:38:39.182 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117039102263314] [generation=5] [session=21] [keys=32] [size=768B] ["flushed keys"=126] ["flushed size"=3.024kB] ["take time"=1.29519ms] [2025/04/04 10:38:39.183 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117039102263314] [generation=6] [session=21] [keys=30] [size=720B] ["flushed keys"=156] ["flushed size"=3.744kB] ["take time"=1.296589ms] [2025/04/04 10:38:39.185 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117039102263314] [generation=7] [session=21] [keys=32] [size=768B] ["flushed keys"=188] ["flushed size"=4.512kB] ["take time"=1.25451ms] [2025/04/04 10:38:39.186 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117039102263314] [generation=8] [session=21] [keys=10] [size=240B] ["flushed keys"=198] ["flushed size"=4.752kB] ["take time"=895.94µs] [2025/04/04 10:38:39.186 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=198] [flush_wait_duration=1.733865ms] [total_duration=12.445144ms] ["memdb traversal cache hit"=297] ["memdb traversal cache miss"=396] [size=4.752kB] [startTS=457117039102263314] [2025/04/04 10:38:39.187 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117039102263314] [commitTS=457117039115370497] [2025/04/04 10:38:39.187 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117039102263314] [startKey=74800000000000017e5f728000000000000001] [endKey=74800000000000017e5f7280000000000026ac] [concurrency=8] [2025/04/04 10:38:39.188 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=9] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000017e5f7280000000000003e8] [2025/04/04 10:38:39.191 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000017e5f7280000000000003e8] ["first new region left"="{Id:208 StartKey:7480000000000001ff785f728000000000ff0023280000000000fa EndKey:7480000000000001ff7e5f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:209 store_id:2 id:210 store_id:7 id:211 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/04 10:38:39.191 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=208] [2025/04/04 10:38:39.191 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f7280000000000003e8] ["new region left"="{Id:208 StartKey:7480000000000001ff785f728000000000ff0023280000000000fa EndKey:7480000000000001ff7e5f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:209 store_id:2 id:210 store_id:7 id:211 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:39.192 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=212] [2025/04/04 10:38:39.211 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117039102263314] [startKey=74800000000000017e5f728000000000000001] [endKey=74800000000000017e5f7280000000000026ac] ["cost time"=23.708456ms] ["completed regions"=10] [2025/04/04 10:38:39.211 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457117039102263314] [commitTS=457117039115370497] [session=21] [2025/04/04 10:38:39.265 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:38:39.266 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:38:39.266 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:38:39.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:39.293 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f7280000000000007d0] ["new region left"="{Id:212 StartKey:7480000000000001ff7e5f728000000000ff0003e80000000000fa EndKey:7480000000000001ff7e5f728000000000ff0007d00000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:213 store_id:2 id:214 store_id:7 id:215 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:39.293 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=216] [2025/04/04 10:38:39.294 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f728000000000000bb8] ["new region left"="{Id:216 StartKey:7480000000000001ff7e5f728000000000ff0007d00000000000fa EndKey:7480000000000001ff7e5f728000000000ff000bb80000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:217 store_id:2 id:218 store_id:7 id:219 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:39.294 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=220] [2025/04/04 10:38:39.295 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f728000000000000fa0] ["new region left"="{Id:220 StartKey:7480000000000001ff7e5f728000000000ff000bb80000000000fa EndKey:7480000000000001ff7e5f728000000000ff000fa00000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:221 store_id:2 id:222 store_id:7 id:223 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:39.295 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=224] [2025/04/04 10:38:39.296 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f728000000000001388] ["new region left"="{Id:224 StartKey:7480000000000001ff7e5f728000000000ff000fa00000000000fa EndKey:7480000000000001ff7e5f728000000000ff0013880000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:225 store_id:2 id:226 store_id:7 id:227 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:39.296 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=228] [2025/04/04 10:38:39.297 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f728000000000001770] ["new region left"="{Id:228 StartKey:7480000000000001ff7e5f728000000000ff0013880000000000fa EndKey:7480000000000001ff7e5f728000000000ff0017700000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:229 store_id:2 id:230 store_id:7 id:231 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:39.297 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=232] [2025/04/04 10:38:39.298 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f728000000000001b58] ["new region left"="{Id:232 StartKey:7480000000000001ff7e5f728000000000ff0017700000000000fa EndKey:7480000000000001ff7e5f728000000000ff001b580000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:233 store_id:2 id:234 store_id:7 id:235 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:39.298 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=236] [2025/04/04 10:38:39.299 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:38:39.299 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f728000000000001f40] ["new region left"="{Id:236 StartKey:7480000000000001ff7e5f728000000000ff001b580000000000fa EndKey:7480000000000001ff7e5f728000000000ff001f400000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:237 store_id:2 id:238 store_id:7 id:239 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:39.299 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:38:39.299 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=240] [2025/04/04 10:38:39.299 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:38:39.299 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/4baf08be-0347-4265-970a-db1a283eaf4d] [watcherID=9b5c9924-dc03-40b5-9833-c74bf7b804a4] [2025/04/04 10:38:39.300 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f728000000000002328] ["new region left"="{Id:240 StartKey:7480000000000001ff7e5f728000000000ff001f400000000000fa EndKey:7480000000000001ff7e5f728000000000ff0023280000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:241 store_id:2 id:242 store_id:7 id:243 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:38:39.301 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=9] ["region IDs"="[208,212,216,220,224,228,232,236,240]"] [2025/04/04 10:38:39.301 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=208] [backoff(ms)=299887] [2025/04/04 10:38:39.302 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=208] [2025/04/04 10:38:39.302 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=212] [backoff(ms)=299886] [2025/04/04 10:38:39.302 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=212] [2025/04/04 10:38:39.302 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=216] [backoff(ms)=299885] [2025/04/04 10:38:39.303 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=216] [2025/04/04 10:38:39.303 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=220] [backoff(ms)=299884] [2025/04/04 10:38:39.303 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=220] [2025/04/04 10:38:39.304 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=224] [backoff(ms)=299884] [2025/04/04 10:38:39.304 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=224] [2025/04/04 10:38:39.304 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=228] [backoff(ms)=299883] [2025/04/04 10:38:39.305 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=228] [2025/04/04 10:38:39.305 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=232] [backoff(ms)=299883] [2025/04/04 10:38:39.305 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=232] [2025/04/04 10:38:39.305 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=236] [backoff(ms)=299882] [2025/04/04 10:38:39.306 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=236] [2025/04/04 10:38:39.306 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=240] [backoff(ms)=299881] [2025/04/04 10:38:39.306 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:38:39.306 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:38:39.306 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:38:39.306 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=240] [2025/04/04 10:38:39.306 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:38:39.315 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117039141322773] [generation=1] [session=21] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.28901ms] [2025/04/04 10:38:39.316 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117039141322773] [generation=2] [session=21] [keys=15] [size=435B] ["flushed keys"=25] ["flushed size"=725B] ["take time"=1.439079ms] [2025/04/04 10:38:39.318 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117039141322773] [generation=3] [session=21] [keys=23] [size=667B] ["flushed keys"=48] ["flushed size"=1.392kB] ["take time"=1.710145ms] [2025/04/04 10:38:39.320 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117039141322773] [generation=4] [session=21] [keys=27] [size=783B] ["flushed keys"=75] ["flushed size"=2.175kB] ["take time"=1.572945ms] [2025/04/04 10:38:39.322 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117039141322773] [generation=5] [session=21] [keys=25] [size=725B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=1.500363ms] [2025/04/04 10:38:39.322 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=1.605179ms] [total_duration=13.458653ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=100] [size=2.9kB] [startTS=457117039141322773] [2025/04/04 10:38:39.323 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117039141322773] [commitTS=457117039141322786] [2025/04/04 10:38:39.323 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117039141322773] [startKey=74800000000000017e5f728000000000000000] [endKey=74800000000000017e5f7280000000000026ac] [concurrency=8] [2025/04/04 10:38:39.330 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:38:39.330 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:38:39.330 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [] [2025/04/04 10:38:39.330 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [2025/04/04 10:38:39.331 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:39.331 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:39.331 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 37, tp general"] ["take time"=47.938µs] [2025/04/04 10:38:39.331 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 38, tp general"] ["take time"=44.018µs] [2025/04/04 10:38:39.331 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117039141322773] [startKey=74800000000000017e5f728000000000000000] [endKey=74800000000000017e5f7280000000000026ac] ["cost time"=7.262389ms] ["completed regions"=10] [2025/04/04 10:38:39.331 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457117039141322773] [commitTS=457117039141322786] [session=21] [2025/04/04 10:38:39.331 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 39, tp general"] ["take time"=33.522µs] [2025/04/04 10:38:39.331 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 40, tp general"] ["take time"=36.794µs] [2025/04/04 10:38:39.331 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [2025/04/04 10:38:39.331 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [2025/04/04 10:38:39.332 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:38:39.332 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:38:39.334 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=82973317-0fc6-4fea-9bf1-347934821279] ["take time"=3.276978ms] [2025/04/04 10:38:39.334 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=82973317-0fc6-4fea-9bf1-347934821279] [2025/04/04 10:38:39.334 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:38:39.334 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/4baf08be-0347-4265-970a-db1a283eaf4d] [watcherID=9b5c9924-dc03-40b5-9833-c74bf7b804a4] [2025/04/04 10:38:39.334 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:38:39.334 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/4baf08be-0347-4265-970a-db1a283eaf4d] [2025/04/04 10:38:39.334 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=82973317-0fc6-4fea-9bf1-347934821279] [ttl-worker=task-manager] [ttl-worker=82973317-0fc6-4fea-9bf1-347934821279] [originalCount=4] [newCount=0] [2025/04/04 10:38:39.334 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:39.334 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:39.334 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:39.334 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:39.334 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=82973317-0fc6-4fea-9bf1-347934821279] [ttl-worker=task-manager] [ttl-worker=82973317-0fc6-4fea-9bf1-347934821279] [originalCount=4] [newCount=0] [2025/04/04 10:38:39.337 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:39.337 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:39.337 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:39.337 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:39.339 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=82973317-0fc6-4fea-9bf1-347934821279] [2025/04/04 10:38:39.339 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:38:39.340 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1749] [2025/04/04 10:38:39.340 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:38:39.340 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:38:39.340 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:38:39.340 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:39.340 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:39.340 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:39.340 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:38:39.340 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:38:39.340 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:39.340 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:38:39.340 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:39.340 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:39.340 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:39.340 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:38:39.340 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:38:39.340 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:39.341 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:38:39.341 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:38:39.341 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:39.341 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:38:39.341 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:38:39.341 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=ce4a1a96-ced8-4666-8ed5-04f2968e3216] [] [2025/04/04 10:38:39.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:39.341 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:39.340 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:39.341 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=ce4a1a96-ced8-4666-8ed5-04f2968e3216] [2025/04/04 10:38:39.341 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=ce4a1a96-ced8-4666-8ed5-04f2968e3216] [2025/04/04 10:38:39.341 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:39.341 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:38:39.341 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:39.340 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:38:39.341 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=ce4a1a96-ced8-4666-8ed5-04f2968e3216] [2025/04/04 10:38:39.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:39.340 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:39.341 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:39.340 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:38:39.340 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:38:39.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:39.340 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:38:39.340 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:38:39.340 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:38:39.340 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=82973317-0fc6-4fea-9bf1-347934821279] [2025/04/04 10:38:39.340 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:38:39.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:39.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:39.341 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:38:39.341 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [] [2025/04/04 10:38:39.341 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:38:39.341 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:38:39.341 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:38:39.341 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [2025/04/04 10:38:39.340 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:38:39.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:39.340 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:38:39.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:39.340 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:38:39.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:39.340 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:39.340 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:39.340 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:38:39.340 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:39.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:39.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:39.341 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:38:39.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:39.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:39.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:39.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:39.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:39.341 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=82973317-0fc6-4fea-9bf1-347934821279] [2025/04/04 10:38:39.342 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:38:39.342 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:38:39.342 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:38:39.342 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:38:39.342 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:39.342 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:38:39.342 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:38:39.342 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=ce4a1a96-ced8-4666-8ed5-04f2968e3216] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:39.342 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:39.342 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:38:39.342 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:39.342 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:38:39.342 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:39.343 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [error="context canceled"] [2025/04/04 10:38:39.343 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [2025/04/04 10:38:39.343 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [error="context canceled"] [2025/04/04 10:38:39.344 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:39.359 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:38:39.360 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:39.390 +00:00] [WARN] [txn.go:692] ["wait tso failed"] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/tikv/pd/client/clients/tso.(*Request).waitCtx\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:86\ngithub.com/tikv/pd/client/clients/tso.(*Request).Wait\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:73\ngithub.com/tikv/client-go/v2/util.interceptedTsFuture.Wait\n\texternal/com_github_tikv_client_go_v2/util/pd_interceptor.go:81\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:239\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).OnInitialize\n\tpkg/sessiontxn/isolation/base.go:146\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).EnterNewTxn\n\tpkg/session/txnmanager.go:161\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).BeginPessimistic\n\tpkg/ddl/session/session.go:55\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEventForHandler\n\tpkg/ddl/notifier/subscribe.go:280\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:217\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).OnInitialize\n\tpkg/sessiontxn/isolation/base.go:146\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).EnterNewTxn\n\tpkg/session/txnmanager.go:161\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).BeginPessimistic\n\tpkg/ddl/session/session.go:55\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEventForHandler\n\tpkg/ddl/notifier/subscribe.go:280\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:217\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:39.394 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=2] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.closeAll\n\tpkg/executor/distsql.go:143\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).Close\n\tpkg/executor/table_reader.go:634\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Close\n\tpkg/executor/table_reader.go:351\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Close\n\tpkg/executor/internal/exec/executor.go:480\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.(*BaseExecutorV2).Close\n\tpkg/executor/internal/exec/executor.go:315\ngithub.com/pingcap/tidb/pkg/executor.(*LimitExec).Close\n\tpkg/executor/select.go:511\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Close\n\tpkg/executor/internal/exec/executor.go:480\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish.func1\n\tpkg/executor/adapter.go:202\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish\n\tpkg/executor/adapter.go:201\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish.func1\n\tpkg/session/session.go:2377\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish\n\tpkg/session/session.go:2374\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Close\n\tpkg/session/session.go:2393\ngithub.com/pingcap/tidb/pkg/parser/terror.Call\n\tpkg/parser/terror/terror.go:315\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).Execute\n\tpkg/ddl/session/session.go:110\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*listResult).Read\n\tpkg/ddl/notifier/store.go:180\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:204\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199"] [2025/04/04 10:38:39.395 +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 10:38:39.395 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [2025/04/04 10:38:39.395 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/stats/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [2025/04/04 10:38:39.395 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [error="context canceled"] [2025/04/04 10:38:39.395 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/stats/owner] [id=82973317-0fc6-4fea-9bf1-347934821279] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:39.395 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:38:39.395 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:38:39.395 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:39.407 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:38:39.407 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:39.417 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.899426ms] [2025/04/04 10:38:40.082 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:38:44.173 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117039102263310 commit_ts:457117039102263312 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:44.173 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117039102263310 commit_ts:457117039102263312 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:44.173 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117039102263310 commit_ts:457117039102263312 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:44.212 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117039102263314 commit_ts:457117039115370497 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:44.212 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117039102263314 commit_ts:457117039115370497 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:44.212 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117039102263314 commit_ts:457117039115370497 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:44.331 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117039141322773 commit_ts:457117039141322786 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:44.331 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117039141322773 commit_ts:457117039141322786 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:44.331 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117039141322773 commit_ts:457117039141322786 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:44.331 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:38:44.331 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:38:44.331 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:38:44.332 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:38:44.332 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:38:44.332 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:38:44.332 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:38:44.332 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:38:44.332 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:38:44.332 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:38:44.332 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:44.332 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:38:44.333 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLUpdate (6.27s) === NAME === RUN TestPipelinedDMLCommitFailed [2025/04/04 10:38:44.341 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:38:44.341 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:38:44.342 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347877260180] [2025/04/04 10:38:44.342 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:38:44.342 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:38:44.343 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:38:44.343 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:38:44.343 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:38:44.343 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:38:44.343 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:38:44.343 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:38:44.347 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:38:44.351 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:44.352 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:44.353 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:44.361 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404347877260180] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:38:44.371 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:38:44.405 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1373] ["lease id"=223196005d3977e1] [2025/04/04 10:38:44.406 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:38:44.496 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=358] ["elapsed time"=86.821588ms] [2025/04/04 10:38:44.496 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:38:44.498 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:38:44.507 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=365d99ec-46d2-46c5-b25b-1b76d1552949] [runWorker=true] [jobVersion=v2] [2025/04/04 10:38:44.507 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:38:44.509 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=365d99ec-46d2-46c5-b25b-1b76d1552949] [2025/04/04 10:38:44.510 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:38:44.510 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 142339723264/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:38:44.510 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:44.510 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:44.510 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:44.510 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:44.510 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:44.510 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:44.510 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:44.510 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:44.510 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:44.510 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:38:44.510 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:44.510 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:44.510 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=785cc4f5-f5c9-43d2-aecc-427574f7228c] [2025/04/04 10:38:44.512 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d39737c] [ownerID=365d99ec-46d2-46c5-b25b-1b76d1552949] [op=none] [2025/04/04 10:38:44.512 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=365d99ec-46d2-46c5-b25b-1b76d1552949] [2025/04/04 10:38:44.512 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=365d99ec-46d2-46c5-b25b-1b76d1552949] [ownerKey=/tidb/ddl/fg/owner/3eaa96005d39737c] [currRev=1687] [2025/04/04 10:38:44.512 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:44.513 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=785cc4f5-f5c9-43d2-aecc-427574f7228c] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:44.513 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:38:44.513 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f1896005d397ecc] [ownerID=785cc4f5-f5c9-43d2-aecc-427574f7228c] [op=none] [2025/04/04 10:38:44.513 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=785cc4f5-f5c9-43d2-aecc-427574f7228c] [2025/04/04 10:38:44.513 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=785cc4f5-f5c9-43d2-aecc-427574f7228c] [ownerKey=/tidb/br-stream/owner/6f1896005d397ecc] [currRev=1688] [2025/04/04 10:38:44.514 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d39737c] [ownerID=365d99ec-46d2-46c5-b25b-1b76d1552949] [op=none] [2025/04/04 10:38:44.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=365d99ec-46d2-46c5-b25b-1b76d1552949] [op=none] [2025/04/04 10:38:44.514 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:38:44.523 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=365d99ec-46d2-46c5-b25b-1b76d1552949] [2025/04/04 10:38:44.524 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:44.524 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:38:44.532 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:44.539 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:44.543 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:44.543 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:44.543 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:44.543 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:38:44.543 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:44.543 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:38:44.543 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:38:44.543 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:38:44.543 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:38:44.544 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:44.544 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=365d99ec-46d2-46c5-b25b-1b76d1552949] [2025/04/04 10:38:44.545 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:44.545 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:44.545 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:44.545 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:44.545 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:44.545 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:38:44.545 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:44.545 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:38:44.545 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:44.545 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:44.545 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:38:44.545 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:44.545 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:44.545 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:44.546 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:44.547 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:38:44.549 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/8052e8a4-5e1f-4a82-9bd3-7dddcdd9356b] [2025/04/04 10:38:44.549 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=365d99ec-46d2-46c5-b25b-1b76d1552949] [ttl-worker=task-manager] [ttl-worker=365d99ec-46d2-46c5-b25b-1b76d1552949] [originalCount=0] [newCount=4] [2025/04/04 10:38:44.550 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=365d99ec-46d2-46c5-b25b-1b76d1552949] [ttl-worker=task-manager] [ttl-worker=365d99ec-46d2-46c5-b25b-1b76d1552949] [originalCount=0] [newCount=4] [2025/04/04 10:38:44.550 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:44.550 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=365d99ec-46d2-46c5-b25b-1b76d1552949] [2025/04/04 10:38:44.550 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:38:44.550 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/04 10:38:44.550 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] testkit.go:123: RefreshSession rand seed: 1743763124550449546 [2025/04/04 10:38:44.554 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:38:44.561 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=16.63679ms] [2025/04/04 10:38:44.561 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:44.561 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:38:44.563 +00:00] [INFO] [set.go:172] ["set global var"] [conn=22] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:38:44.566 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=358] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 10:38:44.567 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=358] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:38:44.579 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:386, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:44.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:44.579 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:386, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:44.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:38:44.585 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=386] [conn=22] [job="ID:386, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:44.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:44.600 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=358] [neededSchemaVersion=359] ["elapsed time"=1.744694ms] [gotSchemaVersion=359] [phyTblIDs="[384]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:44.604 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=386] [version=359] [2025/04/04 10:38:44.605 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=359] ["take time"=8.85361ms] [job="ID:386, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:44.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:44.615 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=386] [conn=22] [job="ID:386, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:44.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:44.629 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=359] [neededSchemaVersion=360] ["elapsed time"=1.816819ms] [gotSchemaVersion=360] [phyTblIDs="[384]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:44.633 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=386] [version=360] [2025/04/04 10:38:44.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=360] ["take time"=8.674023ms] [job="ID:386, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:44.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:44.642 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=386] [conn=22] [job="ID:386, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:44.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:44.648 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 384, Old Table Name: _t)"] [2025/04/04 10:38:44.660 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=360] [neededSchemaVersion=361] ["elapsed time"=1.018989ms] [gotSchemaVersion=361] [phyTblIDs="[384]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:44.664 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=386] [version=361] [2025/04/04 10:38:44.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=361] ["take time"=8.064454ms] [job="ID:386, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:44.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:44.675 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=386] [tableIDs="[384]"] [comment="drop table: table ID"] [2025/04/04 10:38:44.681 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=386] [jobType="drop table"] [2025/04/04 10:38:44.682 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=386] [conn=22] [job="ID:386, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:44.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:44.699 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=386] [2025/04/04 10:38:44.709 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:387, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:44.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:44.709 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:387, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:44.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:38:44.714 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=387] [conn=22] [job="ID:387, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:44.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:44.729 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=361] [neededSchemaVersion=362] ["elapsed time"=1.865745ms] [gotSchemaVersion=362] [phyTblIDs="[382]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:44.732 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=387] [version=362] [2025/04/04 10:38:44.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=362] ["take time"=8.617778ms] [job="ID:387, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:44.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:44.743 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=387] [conn=22] [job="ID:387, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:44.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:44.758 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=362] [neededSchemaVersion=363] ["elapsed time"=1.786709ms] [gotSchemaVersion=363] [phyTblIDs="[382]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:44.761 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=387] [version=363] [2025/04/04 10:38:44.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=363] ["take time"=8.685605ms] [job="ID:387, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:44.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:44.771 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=387] [conn=22] [job="ID:387, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:44.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:44.777 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 382, Old Table Name: t)"] [2025/04/04 10:38:44.789 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=363] [neededSchemaVersion=364] ["elapsed time"=980.02µs] [gotSchemaVersion=364] [phyTblIDs="[382]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:44.793 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=387] [version=364] [2025/04/04 10:38:44.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=364] ["take time"=7.777712ms] [job="ID:387, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:44.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:44.803 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=387] [tableIDs="[382]"] [comment="drop table: table ID"] [2025/04/04 10:38:44.807 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=387] [jobType="drop table"] [2025/04/04 10:38:44.807 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=387] [conn=22] [job="ID:387, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:44.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:44.823 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=387] [2025/04/04 10:38:44.824 +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: 1743763124824315004 [2025/04/04 10:38:44.842 +00:00] [INFO] [set.go:172] ["set global var"] [conn=23] [name=tidb_schema_cache_size] [val=0] testkit.go:123: RefreshSession rand seed: 1743763124843507750 [2025/04/04 10:38:44.862 +00:00] [INFO] [set.go:172] ["set global var"] [conn=24] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:38:44.865 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=364] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 10:38:44.878 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:389, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:44.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:44.878 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:389, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:44.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:38:44.884 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=389] [conn=23] [job="ID:389, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:388, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:44.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:44.888 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 388, Table Name: t)"] [2025/04/04 10:38:44.902 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=364] [neededSchemaVersion=365] ["elapsed time"=1.417257ms] [gotSchemaVersion=365] [phyTblIDs="[388]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:44.906 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=389] [version=365] [2025/04/04 10:38:44.907 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=365] ["take time"=8.470444ms] [job="ID:389, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:44.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:44.918 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=389] [conn=23] [job="ID:389, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:388, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:44.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:44.929 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=389] [2025/04/04 10:38:44.929 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=365] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 10:38:44.942 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:391, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:44.933 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:44.942 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:391, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:44.933 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 10:38:44.947 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=391] [conn=23] [job="ID:391, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:390, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:44.933 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:44.952 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 390, Table Name: _t)"] [2025/04/04 10:38:44.967 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=365] [neededSchemaVersion=366] ["elapsed time"=1.628694ms] [gotSchemaVersion=366] [phyTblIDs="[390]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:44.971 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=391] [version=366] [2025/04/04 10:38:44.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=366] ["take time"=9.209364ms] [job="ID:391, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:44.933 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:44.984 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=391] [conn=23] [job="ID:391, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:390, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:44.933 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:44.995 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=391] [2025/04/04 10:38:44.995 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=366] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 10:38:44.998 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040635805702] [2025/04/04 10:38:45.002 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040635805706] [2025/04/04 10:38:45.006 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040635805709] [2025/04/04 10:38:45.010 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040635805712] [2025/04/04 10:38:45.013 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040635805716] [2025/04/04 10:38:45.017 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040635805722] [2025/04/04 10:38:45.021 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040635805725] [2025/04/04 10:38:45.025 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040635805728] [2025/04/04 10:38:45.029 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040635805731] [2025/04/04 10:38:45.033 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040635805734] [2025/04/04 10:38:45.036 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040648912898] [2025/04/04 10:38:45.040 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040648912901] [2025/04/04 10:38:45.044 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040648912904] [2025/04/04 10:38:45.048 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040648912907] [2025/04/04 10:38:45.052 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040648912910] [2025/04/04 10:38:45.056 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040648912913] [2025/04/04 10:38:45.060 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040648912916] [2025/04/04 10:38:45.063 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040648912919] [2025/04/04 10:38:45.067 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040648912923] [2025/04/04 10:38:45.071 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040648912926] [2025/04/04 10:38:45.075 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040648912929] [2025/04/04 10:38:45.079 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040648912932] [2025/04/04 10:38:45.083 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040648912935] [2025/04/04 10:38:45.087 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040661757954] [2025/04/04 10:38:45.091 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040661757957] [2025/04/04 10:38:45.095 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040661757960] [2025/04/04 10:38:45.101 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040661757963] [2025/04/04 10:38:45.105 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040661757966] [2025/04/04 10:38:45.109 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040661757969] [2025/04/04 10:38:45.113 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040661757972] [2025/04/04 10:38:45.117 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040661757976] [2025/04/04 10:38:45.120 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040661757979] [2025/04/04 10:38:45.124 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040661757982] [2025/04/04 10:38:45.128 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040661757985] [2025/04/04 10:38:45.132 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040661757988] [2025/04/04 10:38:45.136 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040675127298] [2025/04/04 10:38:45.140 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040675127301] [2025/04/04 10:38:45.144 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040675127304] [2025/04/04 10:38:45.148 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040675127307] [2025/04/04 10:38:45.152 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040675127310] [2025/04/04 10:38:45.156 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040675127314] [2025/04/04 10:38:45.160 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040675127317] [2025/04/04 10:38:45.164 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040675127320] [2025/04/04 10:38:45.168 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040675127324] [2025/04/04 10:38:45.172 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040675127327] [2025/04/04 10:38:45.175 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040675127330] [2025/04/04 10:38:45.179 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040675127333] [2025/04/04 10:38:45.183 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040675127336] [2025/04/04 10:38:45.187 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040688234498] [2025/04/04 10:38:45.190 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040688234501] [2025/04/04 10:38:45.194 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040688234504] [2025/04/04 10:38:45.198 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040688234507] [2025/04/04 10:38:45.202 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040688234510] [2025/04/04 10:38:45.206 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040688234513] [2025/04/04 10:38:45.209 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040688234516] [2025/04/04 10:38:45.213 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040688234519] [2025/04/04 10:38:45.217 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040688234523] [2025/04/04 10:38:45.221 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040688234526] [2025/04/04 10:38:45.225 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040688234529] [2025/04/04 10:38:45.229 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040688234532] [2025/04/04 10:38:45.232 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040688234535] [2025/04/04 10:38:45.236 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040701341698] [2025/04/04 10:38:45.240 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040701341701] [2025/04/04 10:38:45.244 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040701341704] [2025/04/04 10:38:45.248 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040701341707] [2025/04/04 10:38:45.251 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040701341710] [2025/04/04 10:38:45.255 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040701341713] [2025/04/04 10:38:45.259 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040701341716] [2025/04/04 10:38:45.263 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040701341720] [2025/04/04 10:38:45.267 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040701341726] [2025/04/04 10:38:45.271 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040701341729] [2025/04/04 10:38:45.274 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040701341732] [2025/04/04 10:38:45.278 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040701341735] [2025/04/04 10:38:45.282 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040701341738] [2025/04/04 10:38:45.286 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040714186753] [2025/04/04 10:38:45.289 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040714186756] [2025/04/04 10:38:45.293 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040714186759] [2025/04/04 10:38:45.297 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040714186762] [2025/04/04 10:38:45.301 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040714186765] [2025/04/04 10:38:45.305 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040714186768] [2025/04/04 10:38:45.308 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040714186772] [2025/04/04 10:38:45.312 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040714186775] [2025/04/04 10:38:45.315 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040714186778] [2025/04/04 10:38:45.319 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040714186782] [2025/04/04 10:38:45.323 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040714186785] [2025/04/04 10:38:45.327 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040714186788] [2025/04/04 10:38:45.331 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040714186791] [2025/04/04 10:38:45.334 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040714186794] [2025/04/04 10:38:45.338 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040727556097] [2025/04/04 10:38:45.342 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040727556100] [2025/04/04 10:38:45.346 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040727556103] [2025/04/04 10:38:45.349 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040727556106] [2025/04/04 10:38:45.353 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040727556109] [2025/04/04 10:38:45.356 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040727556112] [2025/04/04 10:38:45.360 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040727556115] [2025/04/04 10:38:45.364 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040727556118] [2025/04/04 10:38:45.367 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040727556122] [2025/04/04 10:38:45.371 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040727556125] [2025/04/04 10:38:45.375 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040727556128] [2025/04/04 10:38:45.378 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117040727556131] [2025/04/04 10:38:45.392 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117040740401153] [generation=1] [session=23] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.442646ms] [2025/04/04 10:38:45.392 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117040740401153] [generation=2] [session=23] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=48.804µs] [2025/04/04 10:38:45.392 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.570334ms] [total_duration=6.99448ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457117040740401153] [2025/04/04 10:38:45.393 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457117040740401153] [startKey=7480000000000001865f728000000000000000] [endKey=7480000000000001865f728000000000000063] [concurrency=8] [2025/04/04 10:38:45.392 +00:00] [WARN] [session.go:820] ["can not retry txn"] [label=general] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:645\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2025/04/04 10:38:45.393 +00:00] [WARN] [session.go:836] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:645\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:45.393 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=366] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:645\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 23,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 10:38:45.398 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457117040740401153] [startKey=7480000000000001865f728000000000000000] [endKey=7480000000000001865f728000000000000063] ["cost time"=5.542265ms] ["completed regions"=1] [2025/04/04 10:38:45.398 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457117040740401153] [commitTS=0] [session=23] [2025/04/04 10:38:45.408 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117040740401156] [generation=1] [session=23] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.612537ms] [2025/04/04 10:38:45.408 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117040740401156] [generation=2] [session=23] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=33.598µs] [2025/04/04 10:38:45.408 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.687464ms] [total_duration=7.474086ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457117040740401156] [2025/04/04 10:38:45.408 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457117040740401156] [startKey=7480000000000001845f728000000000000064] [endKey=7480000000000001845f7280000000000000c7] [concurrency=8] [2025/04/04 10:38:45.408 +00:00] [WARN] [session.go:820] ["can not retry txn"] [label=general] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:650\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2025/04/04 10:38:45.409 +00:00] [WARN] [session.go:836] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:650\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:45.409 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=366] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:650\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 23,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 10:38:45.412 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457117040740401156] [startKey=7480000000000001845f728000000000000064] [endKey=7480000000000001845f7280000000000000c7] ["cost time"=3.590897ms] ["completed regions"=1] [2025/04/04 10:38:45.412 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457117040740401156] [commitTS=0] [session=23] [2025/04/04 10:38:45.413 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001845f728000000000000064, primary: 7480000000000001845f728000000000000064, txnStartTS: 457117040740401156, lockForUpdateTS:0, minCommitTs:457117040740401157, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:38:45.414 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:38:45.414 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=365d99ec-46d2-46c5-b25b-1b76d1552949] [] [2025/04/04 10:38:45.414 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=365d99ec-46d2-46c5-b25b-1b76d1552949] [2025/04/04 10:38:45.418 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:38:45.418 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:45.418 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:45.418 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 41, tp general"] ["take time"=54.265µs] [2025/04/04 10:38:45.418 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 42, tp general"] ["take time"=36.386µs] [2025/04/04 10:38:45.418 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 43, tp general"] ["take time"=33.581µs] [2025/04/04 10:38:45.418 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 44, tp general"] ["take time"=28.612µs] [2025/04/04 10:38:45.418 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=365d99ec-46d2-46c5-b25b-1b76d1552949] [2025/04/04 10:38:45.418 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=365d99ec-46d2-46c5-b25b-1b76d1552949] [2025/04/04 10:38:45.419 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:38:45.420 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:38:45.421 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=365d99ec-46d2-46c5-b25b-1b76d1552949] ["take time"=6.506451ms] [2025/04/04 10:38:45.421 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=365d99ec-46d2-46c5-b25b-1b76d1552949] [2025/04/04 10:38:45.421 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:38:45.421 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/8052e8a4-5e1f-4a82-9bd3-7dddcdd9356b] [2025/04/04 10:38:45.421 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=365d99ec-46d2-46c5-b25b-1b76d1552949] [ttl-worker=task-manager] [ttl-worker=365d99ec-46d2-46c5-b25b-1b76d1552949] [originalCount=4] [newCount=0] [2025/04/04 10:38:45.421 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:45.421 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:45.421 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:45.421 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:45.421 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=365d99ec-46d2-46c5-b25b-1b76d1552949] [ttl-worker=task-manager] [ttl-worker=365d99ec-46d2-46c5-b25b-1b76d1552949] [originalCount=4] [newCount=0] [2025/04/04 10:38:45.423 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:45.424 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:45.424 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:45.424 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:45.426 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=365d99ec-46d2-46c5-b25b-1b76d1552949] [2025/04/04 10:38:45.426 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1373] [2025/04/04 10:38:45.427 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=785cc4f5-f5c9-43d2-aecc-427574f7228c] [] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:38:45.427 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=785cc4f5-f5c9-43d2-aecc-427574f7228c] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:38:45.427 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:45.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:45.427 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:45.427 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:38:45.427 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:38:45.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:45.427 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:38:45.427 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:38:45.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:38:45.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:45.427 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:38:45.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:38:45.427 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:45.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:45.427 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=785cc4f5-f5c9-43d2-aecc-427574f7228c] [2025/04/04 10:38:45.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:38:45.428 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=785cc4f5-f5c9-43d2-aecc-427574f7228c] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:38:45.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:45.428 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:38:45.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:45.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:45.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:38:45.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:45.427 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:38:45.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:45.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:38:45.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:38:45.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:45.427 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:38:45.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:38:45.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:45.427 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:45.428 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:45.427 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:38:45.428 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:38:45.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:45.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:45.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:45.427 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:38:45.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:45.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:45.429 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=365d99ec-46d2-46c5-b25b-1b76d1552949] [error="context canceled"] [2025/04/04 10:38:45.429 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=365d99ec-46d2-46c5-b25b-1b76d1552949] [2025/04/04 10:38:45.429 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:38:45.429 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=785cc4f5-f5c9-43d2-aecc-427574f7228c] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:45.429 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:38:45.429 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:38:45.429 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:45.429 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:45.429 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:45.430 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:38:45.430 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=365d99ec-46d2-46c5-b25b-1b76d1552949] [error="context canceled"] [2025/04/04 10:38:45.430 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:38:45.430 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:38:45.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:45.431 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=365d99ec-46d2-46c5-b25b-1b76d1552949] [error="context canceled"] [2025/04/04 10:38:45.431 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=365d99ec-46d2-46c5-b25b-1b76d1552949] [2025/04/04 10:38:45.445 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:38:45.445 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:45.490 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=365d99ec-46d2-46c5-b25b-1b76d1552949] [error="context canceled"] [2025/04/04 10:38:45.490 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:38:45.490 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:45.500 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.159776ms] [2025/04/04 10:38:46.347 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:38:50.400 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117040740401153 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:50.400 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117040740401153 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:50.400 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117040740401153 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:50.413 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117040740401156 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:50.413 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117040740401156 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:50.413 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117040740401156 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:50.413 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:38:50.413 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:38:50.413 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:38:50.413 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:38:50.413 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:38:50.413 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:38:50.413 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:38:50.413 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:38:50.413 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:38:50.413 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:38:50.413 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:38:50.413 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:50.414 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLCommitFailed (6.08s) === NAME === RUN TestPipelinedDMLCommitSkipSecondaries [2025/04/04 10:38:50.422 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:38:50.423 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:38:50.424 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347877260180] [2025/04/04 10:38:50.424 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:38:50.424 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:38:50.424 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:38:50.424 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:38:50.424 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:38:50.424 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:38:50.425 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:38:50.425 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:38:50.429 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:38:50.434 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:50.434 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:50.435 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:50.445 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404347877260180] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:38:50.455 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:38:50.491 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=287] ["lease id"=3eaa96005d3973ac] [2025/04/04 10:38:50.493 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:38:50.578 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=366] ["elapsed time"=82.669963ms] [2025/04/04 10:38:50.578 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:38:50.580 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:38:50.589 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=1d610721-f586-4444-b076-8a97aef6e24a] [runWorker=true] [jobVersion=v2] [2025/04/04 10:38:50.590 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:38:50.591 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=1d610721-f586-4444-b076-8a97aef6e24a] [2025/04/04 10:38:50.593 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:38:50.593 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 142339735552/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:38:50.593 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:50.593 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:50.593 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:50.593 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:50.593 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:50.593 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:50.593 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:50.593 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:50.593 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:38:50.593 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:50.593 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:50.593 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:50.593 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=ad27c6ef-2efa-4d3e-8fad-198ca339d2a2] [2025/04/04 10:38:50.595 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d397810] [ownerID=1d610721-f586-4444-b076-8a97aef6e24a] [op=none] [2025/04/04 10:38:50.595 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=1d610721-f586-4444-b076-8a97aef6e24a] [2025/04/04 10:38:50.596 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=1d610721-f586-4444-b076-8a97aef6e24a] [ownerKey=/tidb/ddl/fg/owner/223196005d397810] [currRev=1731] [2025/04/04 10:38:50.596 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:50.596 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=ad27c6ef-2efa-4d3e-8fad-198ca339d2a2] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:50.596 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/223196005d397812] [ownerID=ad27c6ef-2efa-4d3e-8fad-198ca339d2a2] [op=none] [2025/04/04 10:38:50.596 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=ad27c6ef-2efa-4d3e-8fad-198ca339d2a2] [2025/04/04 10:38:50.596 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=ad27c6ef-2efa-4d3e-8fad-198ca339d2a2] [ownerKey=/tidb/br-stream/owner/223196005d397812] [currRev=1731] [2025/04/04 10:38:50.597 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:38:50.597 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d397810] [ownerID=1d610721-f586-4444-b076-8a97aef6e24a] [op=none] [2025/04/04 10:38:50.597 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=1d610721-f586-4444-b076-8a97aef6e24a] [op=none] [2025/04/04 10:38:50.597 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:38:50.606 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=1d610721-f586-4444-b076-8a97aef6e24a] [2025/04/04 10:38:50.607 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:50.607 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:38:50.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:50.622 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:50.628 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:50.628 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:50.628 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:38:50.628 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:50.628 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:38:50.628 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:50.628 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:38:50.628 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:38:50.628 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:38:50.629 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:50.629 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=1d610721-f586-4444-b076-8a97aef6e24a] [2025/04/04 10:38:50.630 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:50.630 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:50.630 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:50.630 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:50.630 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:50.630 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:38:50.630 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:50.630 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:38:50.630 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:50.630 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:50.630 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:38:50.630 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:50.630 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:50.630 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:50.631 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:50.632 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:38:50.634 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/86e2d33c-822a-4fd4-b649-027515521f75] [2025/04/04 10:38:50.634 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1d610721-f586-4444-b076-8a97aef6e24a] [ttl-worker=task-manager] [ttl-worker=1d610721-f586-4444-b076-8a97aef6e24a] [originalCount=0] [newCount=4] [2025/04/04 10:38:50.635 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1d610721-f586-4444-b076-8a97aef6e24a] [ttl-worker=task-manager] [ttl-worker=1d610721-f586-4444-b076-8a97aef6e24a] [originalCount=0] [newCount=4] [2025/04/04 10:38:50.635 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=1d610721-f586-4444-b076-8a97aef6e24a] [2025/04/04 10:38:50.635 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:50.635 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:38:50.635 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:38:50.635 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763130635743079 [2025/04/04 10:38:50.640 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:38:50.647 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.622686ms] [2025/04/04 10:38:50.647 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:38:50.647 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:50.657 +00:00] [INFO] [set.go:172] ["set global var"] [conn=25] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:38:50.660 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=366] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 10:38:50.661 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=366] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:38:50.674 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:392, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:50.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:38:50.674 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:392, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:50.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:50.680 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=392] [conn=25] [job="ID:392, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:390, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:50.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:50.696 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=366] [neededSchemaVersion=367] ["elapsed time"=1.8905ms] [gotSchemaVersion=367] [phyTblIDs="[390]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:50.700 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=392] [version=367] [2025/04/04 10:38:50.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=367] ["take time"=10.053737ms] [job="ID:392, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:50.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:50.715 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=392] [conn=25] [job="ID:392, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:390, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:50.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:50.816 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=367] [neededSchemaVersion=368] ["elapsed time"=2.647115ms] [gotSchemaVersion=368] [phyTblIDs="[390]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:50.821 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=392] [version=368] [2025/04/04 10:38:50.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=368] ["take time"=14.208005ms] [job="ID:392, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:50.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:50.832 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=392] [conn=25] [job="ID:392, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:390, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:50.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:50.838 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 390, Old Table Name: _t)"] [2025/04/04 10:38:50.854 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=368] [neededSchemaVersion=369] ["elapsed time"=1.193436ms] [gotSchemaVersion=369] [phyTblIDs="[390]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:50.857 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=392] [version=369] [2025/04/04 10:38:50.859 +00:00] [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"=10.437301ms] [job="ID:392, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:50.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:50.868 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=392] [tableIDs="[390]"] [comment="drop table: table ID"] [2025/04/04 10:38:50.876 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=392] [jobType="drop table"] [2025/04/04 10:38:50.877 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=392] [conn=25] [job="ID:392, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:50.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:50.895 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=392] [2025/04/04 10:38:50.906 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:393, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:50.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:50.906 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:393, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:50.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:38:50.911 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=393] [conn=25] [job="ID:393, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:388, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:50.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:50.927 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=369] [neededSchemaVersion=370] ["elapsed time"=1.969192ms] [gotSchemaVersion=370] [phyTblIDs="[388]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:50.930 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=393] [version=370] [2025/04/04 10:38:50.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=370] ["take time"=9.345348ms] [job="ID:393, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:50.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:50.942 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=393] [conn=25] [job="ID:393, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:388, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:50.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:50.957 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=370] [neededSchemaVersion=371] ["elapsed time"=1.827895ms] [gotSchemaVersion=371] [phyTblIDs="[388]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:50.960 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=393] [version=371] [2025/04/04 10:38:50.962 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=371] ["take time"=8.835813ms] [job="ID:393, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:50.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:50.970 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=393] [conn=25] [job="ID:393, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:388, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:50.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:50.976 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 388, Old Table Name: t)"] [2025/04/04 10:38:50.988 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=371] [neededSchemaVersion=372] ["elapsed time"=998.827µs] [gotSchemaVersion=372] [phyTblIDs="[388]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:50.992 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=393] [version=372] [2025/04/04 10:38:50.993 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=372] ["take time"=8.015375ms] [job="ID:393, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:50.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:51.002 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=393] [tableIDs="[388]"] [comment="drop table: table ID"] [2025/04/04 10:38:51.005 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=393] [jobType="drop table"] [2025/04/04 10:38:51.006 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=393] [conn=25] [job="ID:393, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:50.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:51.022 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=393] [2025/04/04 10:38:51.023 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 25\n# Query_time: 0.360980302\n# Parse_time: 0.000054154\n# Compile_time: 0.00031255\n# Rewrite_time: 0.000003965\n# Optimize_time: 0.000032983\n# Wait_TS: 0.000437003\n# DB: test\n# Is_internal: false\n# Digest: 1d598c400a4fb4369dc077dca9a083040a8c43d93f07445071b1410ea9ffe67a\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\ndrop table `_t`,`t`;"] [2025/04/04 10:38:51.023 +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: 1743763131024048702 [2025/04/04 10:38:51.027 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=372] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 10:38:51.040 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:50.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:51.040 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:50.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:38:51.046 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=395] [conn=26] [job="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:50.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:51.050 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 394, Table Name: t)"] [2025/04/04 10:38:51.064 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=372] [neededSchemaVersion=373] ["elapsed time"=1.476234ms] [gotSchemaVersion=373] [phyTblIDs="[394]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:51.068 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=395] [version=373] [2025/04/04 10:38:51.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=373] ["take time"=8.846921ms] [job="ID:395, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:50.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:51.080 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=395] [conn=26] [job="ID:395, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:50.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:51.091 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=395] [2025/04/04 10:38:51.091 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=373] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 10:38:51.104 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:397, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:51.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:51.104 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:397, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:51.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 10:38:51.109 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=397] [conn=26] [job="ID:397, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:396, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:51.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:51.114 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 396, Table Name: _t)"] [2025/04/04 10:38:51.128 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=373] [neededSchemaVersion=374] ["elapsed time"=1.422232ms] [gotSchemaVersion=374] [phyTblIDs="[396]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:51.132 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=397] [version=374] [2025/04/04 10:38:51.134 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=374] ["take time"=8.910874ms] [job="ID:397, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:51.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:51.145 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=397] [conn=26] [job="ID:397, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:396, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:51.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:51.157 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=397] [2025/04/04 10:38:51.157 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=374] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 10:38:51.160 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042247729162] [2025/04/04 10:38:51.164 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042247729166] [2025/04/04 10:38:51.167 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042247729169] [2025/04/04 10:38:51.171 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042247729172] [2025/04/04 10:38:51.175 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042247729175] [2025/04/04 10:38:51.179 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042247729178] [2025/04/04 10:38:51.182 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042247729181] [2025/04/04 10:38:51.186 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042261098498] [2025/04/04 10:38:51.190 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042261098501] [2025/04/04 10:38:51.193 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042261098504] [2025/04/04 10:38:51.197 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042261098507] [2025/04/04 10:38:51.201 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042261098511] [2025/04/04 10:38:51.205 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042261098514] [2025/04/04 10:38:51.208 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042261098517] [2025/04/04 10:38:51.212 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042261098520] [2025/04/04 10:38:51.216 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042261098523] [2025/04/04 10:38:51.220 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042261098526] [2025/04/04 10:38:51.223 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042261098529] [2025/04/04 10:38:51.227 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042261098532] [2025/04/04 10:38:51.230 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042261098535] [2025/04/04 10:38:51.234 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042261098538] [2025/04/04 10:38:51.238 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042274205700] [2025/04/04 10:38:51.242 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042274205703] [2025/04/04 10:38:51.245 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042274205706] [2025/04/04 10:38:51.249 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042274205709] [2025/04/04 10:38:51.253 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042274205713] [2025/04/04 10:38:51.257 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042274205716] [2025/04/04 10:38:51.260 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042274205719] [2025/04/04 10:38:51.264 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042274205722] [2025/04/04 10:38:51.268 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042274205725] [2025/04/04 10:38:51.271 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042274205728] [2025/04/04 10:38:51.275 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042274205731] [2025/04/04 10:38:51.279 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042274205734] [2025/04/04 10:38:51.283 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042274205737] [2025/04/04 10:38:51.286 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042287312898] [2025/04/04 10:38:51.290 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042287312901] [2025/04/04 10:38:51.293 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042287312904] [2025/04/04 10:38:51.297 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042287312907] [2025/04/04 10:38:51.300 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042287312911] [2025/04/04 10:38:51.304 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042287312914] [2025/04/04 10:38:51.308 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042287312917] [2025/04/04 10:38:51.312 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042287312920] [2025/04/04 10:38:51.316 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042287312924] [2025/04/04 10:38:51.319 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042287312927] [2025/04/04 10:38:51.322 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042287312930] [2025/04/04 10:38:51.326 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042287312933] [2025/04/04 10:38:51.329 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042287312936] [2025/04/04 10:38:51.333 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042287312939] [2025/04/04 10:38:51.337 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042287312942] [2025/04/04 10:38:51.341 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042300420099] [2025/04/04 10:38:51.344 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042300420102] [2025/04/04 10:38:51.348 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042300420108] [2025/04/04 10:38:51.351 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042300420112] [2025/04/04 10:38:51.355 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042300420115] [2025/04/04 10:38:51.359 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042300420118] [2025/04/04 10:38:51.362 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042300420121] [2025/04/04 10:38:51.366 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042300420124] [2025/04/04 10:38:51.369 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042300420127] [2025/04/04 10:38:51.373 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042300420130] [2025/04/04 10:38:51.377 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042300420133] [2025/04/04 10:38:51.381 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042300420136] [2025/04/04 10:38:51.384 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042300420139] [2025/04/04 10:38:51.388 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042313527299] [2025/04/04 10:38:51.391 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042313527302] [2025/04/04 10:38:51.395 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042313527305] [2025/04/04 10:38:51.398 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042313527308] [2025/04/04 10:38:51.402 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042313527312] [2025/04/04 10:38:51.405 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042313527315] [2025/04/04 10:38:51.408 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042313527318] [2025/04/04 10:38:51.412 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042313527321] [2025/04/04 10:38:51.415 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042313527324] [2025/04/04 10:38:51.418 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042313527327] [2025/04/04 10:38:51.422 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042313527330] [2025/04/04 10:38:51.425 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042313527335] [2025/04/04 10:38:51.429 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042313527338] [2025/04/04 10:38:51.432 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042313527341] [2025/04/04 10:38:51.436 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042326372354] [2025/04/04 10:38:51.439 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042326372357] [2025/04/04 10:38:51.443 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042326372360] [2025/04/04 10:38:51.447 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042326372363] [2025/04/04 10:38:51.451 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042326372367] [2025/04/04 10:38:51.454 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042326372370] [2025/04/04 10:38:51.458 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042326372373] [2025/04/04 10:38:51.461 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042326372376] [2025/04/04 10:38:51.465 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042326372379] [2025/04/04 10:38:51.469 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042326372382] [2025/04/04 10:38:51.472 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042326372385] [2025/04/04 10:38:51.476 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042326372388] [2025/04/04 10:38:51.480 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042326372391] [2025/04/04 10:38:51.483 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042326372394] [2025/04/04 10:38:51.487 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042339741698] [2025/04/04 10:38:51.491 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042339741701] [2025/04/04 10:38:51.494 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042339741704] [2025/04/04 10:38:51.498 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042339741707] [2025/04/04 10:38:51.502 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042339741711] [2025/04/04 10:38:51.506 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042339741714] [2025/04/04 10:38:51.509 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042339741717] [2025/04/04 10:38:51.513 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042339741720] [2025/04/04 10:38:51.517 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042339741723] [2025/04/04 10:38:51.520 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042339741726] [2025/04/04 10:38:51.534 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117042339741730] [generation=1] [session=26] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.242467ms] [2025/04/04 10:38:51.534 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117042339741730] [generation=2] [session=26] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=35.566µs] [2025/04/04 10:38:51.534 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.363435ms] [total_duration=6.697289ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457117042339741730] [2025/04/04 10:38:51.535 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117042339741730] [commitTS=457117042352848897] [2025/04/04 10:38:51.554 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117042352848901] [generation=1] [session=26] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.236179ms] [2025/04/04 10:38:51.554 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117042352848901] [generation=2] [session=26] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=43.714µs] [2025/04/04 10:38:51.554 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.303618ms] [total_duration=7.070088ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457117042352848901] [2025/04/04 10:38:51.555 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117042352848901] [commitTS=457117042352848903] [2025/04/04 10:38:51.561 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:38:51.561 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=1d610721-f586-4444-b076-8a97aef6e24a] [] [2025/04/04 10:38:51.561 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:38:51.561 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=1d610721-f586-4444-b076-8a97aef6e24a] [2025/04/04 10:38:51.561 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:51.561 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:51.561 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 45, tp general"] ["take time"=50.431µs] [2025/04/04 10:38:51.561 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 46, tp general"] ["take time"=31.044µs] [2025/04/04 10:38:51.561 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 47, tp general"] ["take time"=37.591µs] [2025/04/04 10:38:51.561 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 48, tp general"] ["take time"=30.076µs] [2025/04/04 10:38:51.562 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=1d610721-f586-4444-b076-8a97aef6e24a] [2025/04/04 10:38:51.562 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=1d610721-f586-4444-b076-8a97aef6e24a] [2025/04/04 10:38:51.563 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:38:51.563 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:38:51.565 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=1d610721-f586-4444-b076-8a97aef6e24a] ["take time"=3.766575ms] [2025/04/04 10:38:51.565 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=1d610721-f586-4444-b076-8a97aef6e24a] [2025/04/04 10:38:51.565 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:38:51.565 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/86e2d33c-822a-4fd4-b649-027515521f75] [2025/04/04 10:38:51.565 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1d610721-f586-4444-b076-8a97aef6e24a] [ttl-worker=task-manager] [ttl-worker=1d610721-f586-4444-b076-8a97aef6e24a] [originalCount=4] [newCount=0] [2025/04/04 10:38:51.565 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:51.565 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:51.565 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:51.565 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:51.565 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1d610721-f586-4444-b076-8a97aef6e24a] [ttl-worker=task-manager] [ttl-worker=1d610721-f586-4444-b076-8a97aef6e24a] [originalCount=4] [newCount=0] [2025/04/04 10:38:51.568 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:51.568 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:51.568 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:51.568 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:51.570 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=1d610721-f586-4444-b076-8a97aef6e24a] [2025/04/04 10:38:51.570 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:38:51.571 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=287] [2025/04/04 10:38:51.571 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:38:51.571 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:38:51.571 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:38:51.571 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:38:51.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:51.571 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:38:51.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:51.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:51.571 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:38:51.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:51.571 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:38:51.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:51.571 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:38:51.571 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:38:51.571 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:38:51.571 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:51.571 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:51.571 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:51.571 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:38:51.571 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:51.571 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:38:51.571 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:38:51.572 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:51.571 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:38:51.572 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:38:51.572 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:38:51.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:51.571 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:38:51.572 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:38:51.571 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:51.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:51.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:51.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:51.571 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:38:51.572 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:51.572 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:51.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:51.572 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:51.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:51.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:51.571 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:38:51.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:51.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:51.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:51.571 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:38:51.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:51.571 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:38:51.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:51.571 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:51.572 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:38:51.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:51.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:51.571 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:38:51.572 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=ad27c6ef-2efa-4d3e-8fad-198ca339d2a2] [] [2025/04/04 10:38:51.572 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:51.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:51.572 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=ad27c6ef-2efa-4d3e-8fad-198ca339d2a2] [2025/04/04 10:38:51.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:51.572 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:38:51.572 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:51.572 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=ad27c6ef-2efa-4d3e-8fad-198ca339d2a2] [2025/04/04 10:38:51.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:51.572 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=ad27c6ef-2efa-4d3e-8fad-198ca339d2a2] [2025/04/04 10:38:51.572 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:38:51.572 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:38:51.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:51.573 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=1d610721-f586-4444-b076-8a97aef6e24a] [error="context canceled"] [2025/04/04 10:38:51.573 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=1d610721-f586-4444-b076-8a97aef6e24a] [2025/04/04 10:38:51.574 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:38:51.574 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=ad27c6ef-2efa-4d3e-8fad-198ca339d2a2] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:51.574 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:38:51.574 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:51.574 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:38:51.574 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:51.574 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:51.574 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:38:51.574 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=1d610721-f586-4444-b076-8a97aef6e24a] [error="context canceled"] [2025/04/04 10:38:51.574 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:38:51.574 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:38:51.574 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:51.575 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=1d610721-f586-4444-b076-8a97aef6e24a] [error="context canceled"] [2025/04/04 10:38:51.575 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=1d610721-f586-4444-b076-8a97aef6e24a] [2025/04/04 10:38:51.594 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:38:51.594 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:51.635 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=1d610721-f586-4444-b076-8a97aef6e24a] [error="context canceled"] [2025/04/04 10:38:51.635 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:38:51.635 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:51.648 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=87.245797ms] [2025/04/04 10:38:51.651 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:38:51.651 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:38:51.651 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:38:51.651 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:38:51.651 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:38:51.651 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:38:51.651 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:38:51.651 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:38:51.651 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:38:51.651 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:38:51.651 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:51.651 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:38:51.652 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLCommitSkipSecondaries (1.24s) === NAME === RUN TestPipelinedDMLDisableRetry [2025/04/04 10:38:51.660 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:38:51.661 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:38:51.662 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347877260180] [2025/04/04 10:38:51.662 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:38:51.662 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:38:51.662 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:38:51.662 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:38:51.662 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:38:51.663 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:38:51.663 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:38:51.663 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:38:51.667 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:38:51.672 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:51.673 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:51.674 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:51.684 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404347877260180] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:38:51.694 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:38:51.729 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=672] ["lease id"=223196005d39782f] [2025/04/04 10:38:51.731 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:38:51.818 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=374] ["elapsed time"=85.052056ms] [2025/04/04 10:38:51.818 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:38:51.821 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:38:51.830 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [runWorker=true] [jobVersion=v2] [2025/04/04 10:38:51.830 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:38:51.832 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [2025/04/04 10:38:51.833 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:38:51.833 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 142339747840/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:38:51.833 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:51.833 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:51.834 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:51.834 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:51.834 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:51.834 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:51.834 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:51.834 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:51.834 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:51.834 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:38:51.834 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:51.834 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:51.834 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=6c09952c-0645-493a-8e3f-79f0fb696290] [2025/04/04 10:38:51.835 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d3973d5] [ownerID=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [op=none] [2025/04/04 10:38:51.836 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [2025/04/04 10:38:51.836 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [ownerKey=/tidb/ddl/fg/owner/3eaa96005d3973d5] [currRev=1770] [2025/04/04 10:38:51.836 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:51.836 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=6c09952c-0645-493a-8e3f-79f0fb696290] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:51.837 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:38:51.837 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f1896005d397f17] [ownerID=6c09952c-0645-493a-8e3f-79f0fb696290] [op=none] [2025/04/04 10:38:51.837 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=6c09952c-0645-493a-8e3f-79f0fb696290] [2025/04/04 10:38:51.837 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=6c09952c-0645-493a-8e3f-79f0fb696290] [ownerKey=/tidb/br-stream/owner/6f1896005d397f17] [currRev=1771] [2025/04/04 10:38:51.838 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d3973d5] [ownerID=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [op=none] [2025/04/04 10:38:51.838 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [op=none] [2025/04/04 10:38:51.838 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:38:51.846 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [2025/04/04 10:38:51.847 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:51.847 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:38:51.857 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:51.863 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:51.867 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:51.867 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:51.867 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:51.867 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:38:51.867 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:38:51.867 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:51.868 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:38:51.868 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:38:51.868 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:38:51.868 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:51.869 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [2025/04/04 10:38:51.870 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:51.870 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:51.870 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:51.870 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:51.870 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:51.870 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:38:51.870 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:51.870 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:38:51.870 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:51.870 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:51.870 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:38:51.870 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:51.870 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:51.870 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:51.870 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:51.871 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:38:51.874 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/39a0f7c2-6b40-4008-a1c5-19335ac97d18] [2025/04/04 10:38:51.874 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [ttl-worker=task-manager] [ttl-worker=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [originalCount=0] [newCount=4] [2025/04/04 10:38:51.874 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [ttl-worker=task-manager] [ttl-worker=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [originalCount=0] [newCount=4] [2025/04/04 10:38:51.874 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [2025/04/04 10:38:51.875 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:51.875 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:38:51.875 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763131875386706 [2025/04/04 10:38:51.875 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:38:51.879 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:38:51.885 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=16.594606ms] [2025/04/04 10:38:51.885 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:38:51.885 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:51.894 +00:00] [INFO] [set.go:172] ["set global var"] [conn=27] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:38:51.896 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=27] [schemaVersion=374] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 10:38:51.897 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=27] [schemaVersion=374] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:38:51.909 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:398, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:51.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:51.909 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:398, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:51.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:38:51.915 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=398] [conn=27] [job="ID:398, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:396, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:51.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:51.929 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=374] [neededSchemaVersion=375] ["elapsed time"=1.769531ms] [gotSchemaVersion=375] [phyTblIDs="[396]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:51.933 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=398] [version=375] [2025/04/04 10:38:51.934 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=375] ["take time"=8.909017ms] [job="ID:398, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:51.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:51.944 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=398] [conn=27] [job="ID:398, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:396, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:51.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:51.958 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=375] [neededSchemaVersion=376] ["elapsed time"=1.760589ms] [gotSchemaVersion=376] [phyTblIDs="[396]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:51.961 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=398] [version=376] [2025/04/04 10:38:51.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=376] ["take time"=8.540287ms] [job="ID:398, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:51.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:51.970 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=398] [conn=27] [job="ID:398, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:396, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:51.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:51.976 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 396, Old Table Name: _t)"] [2025/04/04 10:38:51.988 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=376] [neededSchemaVersion=377] ["elapsed time"=941.029µs] [gotSchemaVersion=377] [phyTblIDs="[396]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:51.991 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=398] [version=377] [2025/04/04 10:38:51.993 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=377] ["take time"=7.639357ms] [job="ID:398, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:51.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:52.002 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=398] [tableIDs="[396]"] [comment="drop table: table ID"] [2025/04/04 10:38:52.008 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=398] [jobType="drop table"] [2025/04/04 10:38:52.009 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=398] [conn=27] [job="ID:398, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:51.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:52.027 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=398] [2025/04/04 10:38:52.037 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:399, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:51.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:52.037 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:399, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:51.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:38:52.042 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=399] [conn=27] [job="ID:399, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:51.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:52.057 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=377] [neededSchemaVersion=378] ["elapsed time"=1.915569ms] [gotSchemaVersion=378] [phyTblIDs="[394]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:52.061 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=399] [version=378] [2025/04/04 10:38:52.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=378] ["take time"=9.725582ms] [job="ID:399, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:51.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:52.072 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=399] [conn=27] [job="ID:399, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:51.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:52.087 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=378] [neededSchemaVersion=379] ["elapsed time"=1.891097ms] [gotSchemaVersion=379] [phyTblIDs="[394]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:52.092 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=399] [version=379] [2025/04/04 10:38:52.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=379] ["take time"=8.995615ms] [job="ID:399, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:51.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:52.102 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=399] [conn=27] [job="ID:399, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:51.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:52.108 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 394, Old Table Name: t)"] [2025/04/04 10:38:52.120 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=379] [neededSchemaVersion=380] ["elapsed time"=971.344µs] [gotSchemaVersion=380] [phyTblIDs="[394]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:52.124 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=399] [version=380] [2025/04/04 10:38:52.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=380] ["take time"=8.013816ms] [job="ID:399, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:51.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:52.134 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=399] [tableIDs="[394]"] [comment="drop table: table ID"] [2025/04/04 10:38:52.137 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=399] [jobType="drop table"] [2025/04/04 10:38:52.138 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=399] [conn=27] [job="ID:399, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:51.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:52.155 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=399] [2025/04/04 10:38:52.156 +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: 1743763132156527965 testkit.go:123: RefreshSession rand seed: 1743763132158791019 [2025/04/04 10:38:52.162 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=380] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/04 10:38:52.175 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:401, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:52.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:52.175 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:401, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:52.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/04 10:38:52.180 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=401] [conn=28] [job="ID:401, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:400, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:52.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:52.185 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 400, Table Name: t1)"] [2025/04/04 10:38:52.199 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=380] [neededSchemaVersion=381] ["elapsed time"=1.324334ms] [gotSchemaVersion=381] [phyTblIDs="[400]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:52.202 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=401] [version=381] [2025/04/04 10:38:52.204 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=381] ["take time"=7.868797ms] [job="ID:401, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:52.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:52.214 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=401] [conn=28] [job="ID:401, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:400, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:52.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:52.225 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=401] [2025/04/04 10:38:52.225 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=381] [cur_db=test] [sql="create table t1(a int primary key, b int)"] [user=] [2025/04/04 10:38:52.237 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:403, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:52.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:52.237 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:403, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:52.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2(a int, b int)"] [2025/04/04 10:38:52.242 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=403] [conn=28] [job="ID:403, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:402, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:52.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:52.247 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 402, Table Name: t2)"] [2025/04/04 10:38:52.260 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=381] [neededSchemaVersion=382] ["elapsed time"=1.355621ms] [gotSchemaVersion=382] [phyTblIDs="[402]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:52.264 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=403] [version=382] [2025/04/04 10:38:52.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=382] ["take time"=8.208014ms] [job="ID:403, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:52.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:52.276 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=403] [conn=28] [job="ID:403, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:402, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:52.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:52.288 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=403] [2025/04/04 10:38:52.288 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=382] [cur_db=test] [sql="create table t2(a int, b int)"] [user=] [2025/04/04 10:38:52.798 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117042680528898] [2025/04/04 10:38:52.800 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117042549456905] [generation=1] [session=28] [keys=1] [size=29B] ["flushed keys"=1] ["flushed size"=29B] ["take time"=674.654µs] [2025/04/04 10:38:52.800 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:38:52.800 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117042549456905] [startKey=7480000000000001905f728000000000000001] [endKey=7480000000000001905f728000000000000001] [2025/04/04 10:38:52.800 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117042549456905] [commitTS=0] [session=28] [2025/04/04 10:38:52.801 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457117042549456905\n# Conn_ID: 28\n# Query_time: 0.505741202\n# Parse_time: 0.000321339\n# Compile_time: 0.000974798\n# Rewrite_time: 0.000598594\n# Optimize_time: 0.000090325\n# Wait_TS: 0.000336142\n# Cop_time: 0.000682187 Wait_time: 0.000027573 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.7573e-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('8AbwmjAJMjdfMQkwCTAJTi9BCTAJdGltZTo1MDMuNW1zLCBvcGVuOjExOS43wrVzLCBjbG9zZTo4NS4zwrVzLCBsb29wczoxLCBwcmVwYXJlOiA1MDMuM21zLCBpbnNlcnQ6MTQ4wrVzCTQwMiBCeXRlcwlOL0EKMQkxNF82CTAJMTAwMDAJdGVzdC50Mi5hCTIJdGltZToxLjE3bXMsEX0IMS42HX0MNTQuMQUPCX0UMgkzMjAgCVwNCBwKMgkzMV8xMBVhTGRhdGE6VGFibGVGdWxsU2Nhbl85EWwEODkJTgXpDDg0LjkFXABjBegMMjEuMgUPDWt4LCBjb3BfdGFzazoge251bTogMSwgbWF4OiA1NzUuNQUrKHByb2Nfa2V5czogCTB0cl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGJ1aWxkBU4IX2R1BRoQbjogMTYN3qhtYXhfZGlzdHNxbF9jb25jdXJyZW5jeTogMX0sIHJwY19pbmZvOntDb3A6AYs0X3JwYzoxLCB0b3RhbF8txCw4LjTCtXN9fQkyODgtIzxOL0EKMwk0M185CTFfMAkxKYGYYWJsZTp0Miwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvJTQEa3YFtAQ6ewVlDDBzLCApHgGYNHNjYW5fZGV0YWlsOiB7CYwYcHJvY2VzczkURhcAIF9zaXplOiA4MhHAKUA4MywgZ2V0X3NuYXBzaG90CdYMIDguNilqaHJvY2tzZGI6IHtrZXlfc2tpcHBlZF9jb3VudCV8DGJsb2MhqRB9fX0sIAGtPpoACHdhaRFVCDI3LklkAHQB4ABnIWARuAE6DDogMTlNGhkhHT8IMTEuCZQFHgx3YWxsETdAMTIuOMK1c30JTi9BCU4vQQo=')\n# Plan_digest: f7e0f28c5c86b45fa3d92926774edc8a8076ac4356558ce21165e890659f0d92\n# Binary_plan: tidb_decode_binary_plan('xwfACsIHCghJbnNlcnRfMRLIBgoGU29ydF82EuMFCg5UYWJsZVJlYWRlcl8xMBKoAwoPVAETUEZ1bGxTY2FuXzkhjARw3ptXUUEpAAEB8FiIw0AwAjgCQAJKDAoKCgR0ZXN0EgJ0MlIea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvargCdGlrdl90YXNrOnt0aW1lOjBzLCBsb29wczoxfSwgcwFtfGRldGFpbDoge3RvdGFsX3Byb2Nlc3Nfa2V5czogMiwgRhcAHF9zaXplOiA4FR0JLEgzLCBnZXRfc25hcHNob3RfdGltASaILjY1wrVzLCByb2Nrc2RiOiB7a2V5X3NraXBwZWRfY291bnQFaDBibG9jazoge319fSwgATw+mgAId2FpEVUMMjcuNgVVAHQB4AxncnBjFbgBOhQ6IDE5Ljk6IQAdPwgxMS4JlAU/DHdhbGwRNyQxMi44wrVzfXD/EQEEAXgRCiT/ASFijYgxlacXMpcBNAFAAVIUZGF0YTpUYWJsPcUEWjEFjAg4OTEFihhvcGVuOjg0DZgkY2xvc2U6MjEuMgUdQGxvb3BzOjJitgFjb3BfdGFzIQo8bnVtOiAxLCBtYXg6IDU3NQ21IaItc5AyLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgYnVpbGRfAU4IX2R1BRoUbjogMTYuCZFwbWF4X2Rpc3RzcWxfY29uY3VycmVuY3k6IDF9LCAhUyRpbmZvOntDb3A6AYsUX3JwYzoxURAF2xA1MDguNCEvEH1woAJ4PSgYVC2mcdbmWkIoASwJdGVzdC50Mi5hWjIFQhgxLjE3bXMsKR0IMTExLdcAYyUeBDU0DaotHgxwwAI4IW4UA04vQVozBUAQNTAzLjUdQQw5LjfCQW0JQQw4NS4zBQ8JQSwxYh9wcmVwYXJlOiABOQAzATkEaW5hpQg6MTQh+DxwkgN4////////////ARgB')\n# Resource_group: default\nuse test;\ninsert into t1 select * from t2 order by a;"] [2025/04/04 10:38:52.802 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=382] [error="[kv:9007]Write conflict, txnStartTS=457117042549456905, conflictStartTS=457117042680528898, conflictCommitTS=457117042680528899, key={tableID=400, tableName=test.t1, handle=1}, originalKey=7480000000000001905f728000000000000001, primary={tableID=400, tableName=test.t1, handle=1}, originalPrimaryKey=7480000000000001905f728000000000000001, reason=Optimistic [try again later]"] [session="{\n \"currDBName\": \"test\",\n \"id\": 28,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 10:38:52.802 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [] [2025/04/04 10:38:52.802 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [2025/04/04 10:38:52.802 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:38:52.802 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:38:52.802 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:52.802 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:52.803 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 49, tp general"] ["take time"=139.25µs] [2025/04/04 10:38:52.803 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 50, tp general"] ["take time"=135.704µs] [2025/04/04 10:38:52.803 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 51, tp general"] ["take time"=103.927µs] [2025/04/04 10:38:52.803 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 52, tp general"] ["take time"=118.889µs] [2025/04/04 10:38:52.803 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [2025/04/04 10:38:52.803 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [2025/04/04 10:38:52.805 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:38:52.805 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:38:52.806 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] ["take time"=4.245116ms] [2025/04/04 10:38:52.806 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [2025/04/04 10:38:52.806 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:38:52.806 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/39a0f7c2-6b40-4008-a1c5-19335ac97d18] [2025/04/04 10:38:52.806 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [ttl-worker=task-manager] [ttl-worker=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [originalCount=4] [newCount=0] [2025/04/04 10:38:52.807 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:52.807 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:52.807 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:52.807 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:52.807 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [ttl-worker=task-manager] [ttl-worker=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [originalCount=4] [newCount=0] [2025/04/04 10:38:52.809 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:52.809 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:52.809 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:52.809 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:52.811 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [2025/04/04 10:38:52.811 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=672] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:38:52.812 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:38:52.812 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:38:52.812 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:52.812 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:38:52.812 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:52.812 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:38:52.812 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:38:52.812 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:38:52.812 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:52.812 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:38:52.812 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:38:52.812 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:38:52.812 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:52.812 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=6c09952c-0645-493a-8e3f-79f0fb696290] [] [2025/04/04 10:38:52.812 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:52.812 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:52.812 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=6c09952c-0645-493a-8e3f-79f0fb696290] [2025/04/04 10:38:52.812 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=6c09952c-0645-493a-8e3f-79f0fb696290] [2025/04/04 10:38:52.812 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:38:52.813 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=6c09952c-0645-493a-8e3f-79f0fb696290] [2025/04/04 10:38:52.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:52.812 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:52.813 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:38:52.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:38:52.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:52.812 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:52.812 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:52.812 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:52.813 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:38:52.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:52.812 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:38:52.812 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:38:52.813 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:38:52.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:52.812 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:52.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:52.812 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:52.812 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:52.812 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:52.812 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:38:52.812 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:52.812 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:52.812 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:52.813 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:52.814 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [error="context canceled"] [2025/04/04 10:38:52.814 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [2025/04/04 10:38:52.815 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:38:52.815 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=6c09952c-0645-493a-8e3f-79f0fb696290] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:52.815 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:38:52.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:52.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:52.815 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:38:52.815 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:38:52.815 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:38:52.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:52.815 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:38:52.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:52.816 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [error="context canceled"] [2025/04/04 10:38:52.816 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [2025/04/04 10:38:52.816 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [error="context canceled"] [2025/04/04 10:38:52.816 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=a5a29b7f-cb52-4165-8256-e5feb69fd3fe] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:52.834 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:38:52.834 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:52.876 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:38:52.876 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:52.886 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.953642ms] [2025/04/04 10:38:53.668 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:38:57.801 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117042549456905 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:38:57.801 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117042549456905 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:38:57.801 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117042549456905 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:38:57.802 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:38:57.802 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:38:57.802 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:38:57.802 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:38:57.802 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:38:57.802 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:38:57.802 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:38:57.802 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:38:57.802 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:38:57.802 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:57.802 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:38:57.802 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:38:57.803 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLDisableRetry (6.15s) === NAME === RUN TestReplaceRowCheck [2025/04/04 10:38:57.811 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:38:57.812 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:38:57.813 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347877260180] [2025/04/04 10:38:57.813 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:38:57.813 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:38:57.813 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:38:57.813 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:38:57.814 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:38:57.814 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:38:57.814 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:38:57.814 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:38:57.818 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:38:57.823 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:57.823 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:57.824 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:38:57.834 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404347877260180] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:38:57.843 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:38:57.878 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=861] ["lease id"=6f1896005d397f3e] [2025/04/04 10:38:57.880 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:38:57.964 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=382] ["elapsed time"=81.87257ms] [2025/04/04 10:38:57.964 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:38:57.967 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:38:57.975 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [runWorker=true] [jobVersion=v2] [2025/04/04 10:38:57.975 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:38:57.977 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [2025/04/04 10:38:57.978 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:38:57.978 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 142339780608/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:38:57.979 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:57.979 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:57.979 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:57.979 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:57.979 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:57.979 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:57.979 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:57.979 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:38:57.979 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:57.979 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:57.979 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:38:57.979 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:57.979 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=6f537f21-1374-4840-87da-e2a39fbc8549] [2025/04/04 10:38:57.981 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d39740f] [ownerID=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [op=none] [2025/04/04 10:38:57.981 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [2025/04/04 10:38:57.981 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [ownerKey=/tidb/ddl/fg/owner/3eaa96005d39740f] [currRev=1813] [2025/04/04 10:38:57.981 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:57.981 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=6f537f21-1374-4840-87da-e2a39fbc8549] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:57.982 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:38:57.982 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa96005d397411] [ownerID=6f537f21-1374-4840-87da-e2a39fbc8549] [op=none] [2025/04/04 10:38:57.982 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=6f537f21-1374-4840-87da-e2a39fbc8549] [2025/04/04 10:38:57.982 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=6f537f21-1374-4840-87da-e2a39fbc8549] [ownerKey=/tidb/br-stream/owner/3eaa96005d397411] [currRev=1814] [2025/04/04 10:38:57.982 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d39740f] [ownerID=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [op=none] [2025/04/04 10:38:57.982 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [op=none] [2025/04/04 10:38:57.983 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:38:57.987 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestReplaceRowCheck\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:724\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:57.988 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.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"] [Pipeline] // dir [2025/04/04 10:38:57.989 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestReplaceRowCheck\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:724\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:57.989 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [2025/04/04 10:38:57.990 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:57.990 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:38:57.992 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/6f1896005d397f46] [ownerID=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [op=none] [2025/04/04 10:38:57.992 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [2025/04/04 10:38:57.993 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [ownerKey=/tidb/bindinfo/owner/6f1896005d397f46] [currRev=1815] [2025/04/04 10:38:57.999 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:58.005 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:58.009 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:58.009 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:58.009 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:38:58.010 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:58.010 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:38:58.010 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:58.010 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:38:58.010 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:38:58.010 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:38:58.011 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:58.011 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [2025/04/04 10:38:58.011 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:58.011 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:58.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:58.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:58.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:58.012 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:38:58.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:58.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:58.012 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:38:58.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:58.012 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:38:58.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:58.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:58.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:58.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:58.013 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:38:58.016 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/fb8c64ee-0f46-45ed-a95a-72809fef425f] [2025/04/04 10:38:58.016 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [ttl-worker=task-manager] [ttl-worker=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [originalCount=0] [newCount=4] [2025/04/04 10:38:58.016 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [ttl-worker=task-manager] [ttl-worker=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [originalCount=0] [newCount=4] [2025/04/04 10:38:58.016 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [2025/04/04 10:38:58.016 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:58.016 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:38:58.017 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763138017033412 [2025/04/04 10:38:58.017 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:38:58.021 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:38:58.028 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.414483ms] [2025/04/04 10:38:58.028 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:38:58.028 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:38:58.030 +00:00] [INFO] [set.go:172] ["set global var"] [conn=30] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:38:58.032 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=30] [schemaVersion=382] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 10:38:58.034 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=30] [schemaVersion=382] [cur_db=test] [sql="alter table `t2` nocache"] [user=] [2025/04/04 10:38:58.046 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:404, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:58.046 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:404, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`,`t2`"] [2025/04/04 10:38:58.052 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=404] [conn=30] [job="ID:404, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:400, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:58.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.068 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=382] [neededSchemaVersion=383] ["elapsed time"=1.884635ms] [gotSchemaVersion=383] [phyTblIDs="[400]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:58.072 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=404] [version=383] [2025/04/04 10:38:58.073 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=383] ["take time"=9.456549ms] [job="ID:404, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.083 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=404] [conn=30] [job="ID:404, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:400, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:58.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.098 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=383] [neededSchemaVersion=384] ["elapsed time"=1.728652ms] [gotSchemaVersion=384] [phyTblIDs="[400]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:58.101 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=404] [version=384] [2025/04/04 10:38:58.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=384] ["take time"=8.599244ms] [job="ID:404, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.111 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=404] [conn=30] [job="ID:404, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:400, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:58.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.117 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 400, Old Table Name: t1)"] [2025/04/04 10:38:58.130 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=384] [neededSchemaVersion=385] ["elapsed time"=1.0008ms] [gotSchemaVersion=385] [phyTblIDs="[400]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:58.133 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=404] [version=385] [2025/04/04 10:38:58.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=385] ["take time"=7.957496ms] [job="ID:404, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.144 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=404] [tableIDs="[400]"] [comment="drop table: table ID"] [2025/04/04 10:38:58.151 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=404] [jobType="drop table"] [2025/04/04 10:38:58.152 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=404] [conn=30] [job="ID:404, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.168 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=404] [2025/04/04 10:38:58.179 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:405, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:58.179 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:405, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`,`t2`"] [2025/04/04 10:38:58.184 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=405] [conn=30] [job="ID:405, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:402, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:58.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.200 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=385] [neededSchemaVersion=386] ["elapsed time"=2.59383ms] [gotSchemaVersion=386] [phyTblIDs="[402]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:58.205 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=405] [version=386] [2025/04/04 10:38:58.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=386] ["take time"=11.778525ms] [job="ID:405, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.217 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=405] [conn=30] [job="ID:405, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:402, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:58.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.233 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=386] [neededSchemaVersion=387] ["elapsed time"=1.870427ms] [gotSchemaVersion=387] [phyTblIDs="[402]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:58.237 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=405] [version=387] [2025/04/04 10:38:58.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=387] ["take time"=9.117456ms] [job="ID:405, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.247 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=405] [conn=30] [job="ID:405, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:402, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:58.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.254 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 402, Old Table Name: t2)"] [2025/04/04 10:38:58.266 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=387] [neededSchemaVersion=388] ["elapsed time"=963.064µs] [gotSchemaVersion=388] [phyTblIDs="[402]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:38:58.270 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=405] [version=388] [2025/04/04 10:38:58.271 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=388] ["take time"=7.679362ms] [job="ID:405, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.281 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=405] [tableIDs="[402]"] [comment="drop table: table ID"] [2025/04/04 10:38:58.285 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=405] [jobType="drop table"] [2025/04/04 10:38:58.286 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=405] [conn=30] [job="ID:405, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.303 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=405] [2025/04/04 10:38:58.303 +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: 1743763138304056121 [2025/04/04 10:38:58.315 +00:00] [INFO] [set.go:172] ["set global var"] [conn=31] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:38:58.318 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=388] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 10:38:58.330 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:407, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:58.330 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:407, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int, b int)"] [2025/04/04 10:38:58.336 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=407] [conn=31] [job="ID:407, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:406, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:58.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.340 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 406, Table Name: t1)"] [2025/04/04 10:38:58.354 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=388] [neededSchemaVersion=389] ["elapsed time"=1.408135ms] [gotSchemaVersion=389] [phyTblIDs="[406]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:58.358 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=407] [version=389] [2025/04/04 10:38:58.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=389] ["take time"=8.235206ms] [job="ID:407, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.370 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=407] [conn=31] [job="ID:407, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:406, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:58.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.380 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=407] [2025/04/04 10:38:58.380 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=389] [cur_db=test] [sql="create table t1(a int, b int)"] [user=] [2025/04/04 10:38:58.393 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:409, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:58.393 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:409, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1(a int primary key, b int)"] [2025/04/04 10:38:58.398 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=409] [conn=31] [job="ID:409, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:58.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.403 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 408, Table Name: _t1)"] [2025/04/04 10:38:58.416 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=389] [neededSchemaVersion=390] ["elapsed time"=1.368194ms] [gotSchemaVersion=390] [phyTblIDs="[408]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:38:58.419 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=409] [version=390] [2025/04/04 10:38:58.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=390] ["take time"=8.156721ms] [job="ID:409, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.431 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=409] [conn=31] [job="ID:409, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:58.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.442 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=409] [2025/04/04 10:38:58.442 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=390] [cur_db=test] [sql="create table _t1(a int primary key, b int)"] [user=] [2025/04/04 10:38:58.453 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117044161380362] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=849.556µs] [2025/04/04 10:38:58.453 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=964.435µs] [total_duration=3.595156ms] ["memdb traversal cache hit"=16] ["memdb traversal cache miss"=12] [size=58B] [startTS=457117044161380362] [2025/04/04 10:38:58.454 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117044161380362] [commitTS=457117044161380363] [2025/04/04 10:38:58.455 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117044161380362] [startKey=7480000000000001985f728000000000000001] [endKey=7480000000000001985f728000000000000002] [concurrency=8] [2025/04/04 10:38:58.459 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117044161380362] [startKey=7480000000000001985f728000000000000001] [endKey=7480000000000001985f728000000000000002] ["cost time"=4.215818ms] ["completed regions"=1] [2025/04/04 10:38:58.459 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117044161380362] [commitTS=457117044161380363] [session=31] [2025/04/04 10:38:58.470 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:411, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:38:58.470 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:411, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:58.475 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=411] [conn=31] [job="ID:411, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:58.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.482 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 410, Table Name: _t1, Old Table ID: 408, Old Table Name: _t1)"] [2025/04/04 10:38:58.496 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=390] [neededSchemaVersion=391] ["elapsed time"=1.351069ms] [gotSchemaVersion=391] [phyTblIDs="[408,410]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:38:58.500 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=411] [version=391] [2025/04/04 10:38:58.502 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=391] ["take time"=8.072512ms] [job="ID:411, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.511 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=411] [tableIDs="[408]"] [comment="truncate table: table ID"] [2025/04/04 10:38:58.515 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=411] [jobType="truncate table"] [2025/04/04 10:38:58.516 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=411] [conn=31] [job="ID:411, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.532 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=411] [2025/04/04 10:38:58.532 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=391] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:38:58.537 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117044174487571] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=996.359µs] [2025/04/04 10:38:58.537 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=1.106627ms] [total_duration=3.412186ms] ["memdb traversal cache hit"=4] ["memdb traversal cache miss"=10] [size=58B] [startTS=457117044174487571] [2025/04/04 10:38:58.538 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117044174487571] [commitTS=457117044187594753] [2025/04/04 10:38:58.538 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117044174487571] [startKey=74800000000000019a5f728000000000000001] [endKey=74800000000000019a5f728000000000000002] [concurrency=8] [2025/04/04 10:38:58.541 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117044174487571] [startKey=74800000000000019a5f728000000000000001] [endKey=74800000000000019a5f728000000000000002] ["cost time"=2.297598ms] ["completed regions"=1] [2025/04/04 10:38:58.541 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117044174487571] [commitTS=457117044187594753] [session=31] [2025/04/04 10:38:58.552 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:413, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:38:58.552 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:413, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:38:58.558 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=413] [conn=31] [job="ID:413, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:410, RowCount:0, ArgLen:0, start time: 2025-04-04 10:38:58.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.564 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 412, Table Name: _t1, Old Table ID: 410, Old Table Name: _t1)"] [2025/04/04 10:38:58.579 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=391] [neededSchemaVersion=392] ["elapsed time"=1.508163ms] [gotSchemaVersion=392] [phyTblIDs="[410,412]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:38:58.583 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=413] [version=392] [2025/04/04 10:38:58.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=392] ["take time"=8.774513ms] [job="ID:413, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.595 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=413] [tableIDs="[410]"] [comment="truncate table: table ID"] [2025/04/04 10:38:58.599 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=413] [jobType="truncate table"] [2025/04/04 10:38:58.600 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=413] [conn=31] [job="ID:413, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-04 10:38:58.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:38:58.619 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=413] [2025/04/04 10:38:58.619 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=392] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:38:58.624 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117044200701966] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=1.020617ms] [2025/04/04 10:38:58.625 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=1.118924ms] [total_duration=4.006521ms] ["memdb traversal cache hit"=8] ["memdb traversal cache miss"=12] [size=58B] [startTS=457117044200701966] [2025/04/04 10:38:58.626 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117044200701966] [commitTS=457117044200701967] [2025/04/04 10:38:58.626 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117044200701966] [startKey=74800000000000019c5f728000000000000001] [endKey=74800000000000019c5f728000000000000002] [concurrency=8] [2025/04/04 10:38:58.629 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117044200701966] [startKey=74800000000000019c5f728000000000000001] [endKey=74800000000000019c5f728000000000000002] ["cost time"=2.739858ms] ["completed regions"=1] [2025/04/04 10:38:58.629 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117044200701966] [commitTS=457117044200701967] [session=31] [2025/04/04 10:38:58.629 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [] [2025/04/04 10:38:58.629 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:38:58.630 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [2025/04/04 10:38:58.630 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:38:58.630 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:58.630 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:38:58.630 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 53, tp general"] ["take time"=94.72µs] [2025/04/04 10:38:58.630 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 54, tp general"] ["take time"=36.161µs] [2025/04/04 10:38:58.630 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 55, tp general"] ["take time"=34.313µs] [2025/04/04 10:38:58.630 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 56, tp general"] ["take time"=39.167µs] [2025/04/04 10:38:58.630 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 57, tp general"] ["take time"=34.69µs] [2025/04/04 10:38:58.630 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 58, tp general"] ["take time"=36.348µs] [2025/04/04 10:38:58.630 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [2025/04/04 10:38:58.630 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [2025/04/04 10:38:58.631 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:38:58.631 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:38:58.634 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=e1f3312a-6634-44c3-a4a5-e8b800169b2e] ["take time"=4.497722ms] [2025/04/04 10:38:58.634 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [2025/04/04 10:38:58.634 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:38:58.634 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/fb8c64ee-0f46-45ed-a95a-72809fef425f] [2025/04/04 10:38:58.634 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [ttl-worker=task-manager] [ttl-worker=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [originalCount=4] [newCount=0] [2025/04/04 10:38:58.634 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:58.634 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:58.634 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:58.634 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:38:58.634 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [ttl-worker=task-manager] [ttl-worker=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [originalCount=4] [newCount=0] [2025/04/04 10:38:58.637 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:58.637 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:58.637 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:58.637 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:38:58.639 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [2025/04/04 10:38:58.640 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=861] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:38:58.641 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:38:58.641 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:38:58.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:38:58.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:38:58.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:38:58.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:38:58.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:38:58.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:38:58.641 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=6f537f21-1374-4840-87da-e2a39fbc8549] [] [2025/04/04 10:38:58.641 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:58.641 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:58.641 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:38:58.641 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=6f537f21-1374-4840-87da-e2a39fbc8549] [2025/04/04 10:38:58.641 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:58.641 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:58.641 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:58.641 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:38:58.641 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:38:58.641 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:38:58.641 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:38:58.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:38:58.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:38:58.641 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:58.641 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:38:58.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:38:58.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:38:58.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:38:58.641 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:38:58.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:38:58.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:38:58.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:38:58.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:38:58.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:38:58.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:38:58.642 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:38:58.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:38:58.642 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:38:58.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:38:58.642 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:38:58.641 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:38:58.641 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=6f537f21-1374-4840-87da-e2a39fbc8549] [2025/04/04 10:38:58.642 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:38:58.642 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=6f537f21-1374-4840-87da-e2a39fbc8549] [2025/04/04 10:38:58.643 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [error="context canceled"] [2025/04/04 10:38:58.643 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [2025/04/04 10:38:58.643 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:38:58.643 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:38:58.643 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [] [2025/04/04 10:38:58.643 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=6f537f21-1374-4840-87da-e2a39fbc8549] [daemon-id=LogBackup::Advancer] [2025/04/04 10:38:58.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:38:58.644 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [2025/04/04 10:38:58.644 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [error="context canceled"] [2025/04/04 10:38:58.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:38:58.644 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [2025/04/04 10:38:58.644 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:38:58.644 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:38:58.643 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:38:58.644 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [2025/04/04 10:38:58.644 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:38:58.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:38:58.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:38:58.644 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [error="context canceled"] [2025/04/04 10:38:58.644 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=e1f3312a-6634-44c3-a4a5-e8b800169b2e] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:38:58.659 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:38:58.659 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:38:58.703 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:38:58.703 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:38:58.713 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.226572ms] [2025/04/04 10:38:59.819 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:39:03.460 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117044161380362 commit_ts:457117044161380363 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:39:03.460 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117044161380362 commit_ts:457117044161380363 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:39:03.460 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117044161380362 commit_ts:457117044161380363 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:39:03.542 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117044174487571 commit_ts:457117044187594753 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:39:03.542 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117044174487571 commit_ts:457117044187594753 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:39:03.542 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117044174487571 commit_ts:457117044187594753 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:39:03.629 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117044200701966 commit_ts:457117044200701967 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:39:03.629 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117044200701966 commit_ts:457117044200701967 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:39:03.629 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117044200701966 commit_ts:457117044200701967 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:39:03.629 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:39:03.629 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:39:03.629 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:39:03.629 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:39:03.629 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:39:03.629 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:39:03.629 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:39:03.629 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:39:03.629 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:39:03.629 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-14] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:39:03.630 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:39:03.630 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:39:03.631 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestReplaceRowCheck (5.83s) === NAME === RUN TestDuplicateKeyErrorMessage [2025/04/04 10:39:03.638 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:39:03.639 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:39:03.639 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347877260180] [2025/04/04 10:39:03.640 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:39:03.640 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:39:03.640 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:39:03.640 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:39:03.640 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:39:03.640 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:39:03.641 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:39:03.641 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:39:03.644 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:39:03.649 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:39:03.650 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:39:03.650 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:39:03.659 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404347877260180] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:39:03.669 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:39:03.703 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=631] ["lease id"=223196005d39788e] [2025/04/04 10:39:03.705 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:39:03.790 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=392] ["elapsed time"=82.38085ms] [2025/04/04 10:39:03.790 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:39:03.792 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:39:03.801 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=5bd539bb-12d5-4cf6-9cf6-08910d073330] [runWorker=true] [jobVersion=v2] [2025/04/04 10:39:03.801 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:39:03.803 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=5bd539bb-12d5-4cf6-9cf6-08910d073330] [2025/04/04 10:39:03.804 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:39:03.804 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 142339792896/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:39:03.804 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:39:03.804 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:39:03.804 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:39:03.804 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:39:03.804 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:39:03.804 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:39:03.804 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:39:03.804 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:39:03.804 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:39:03.804 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:39:03.805 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:39:03.805 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:39:03.805 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=3377ff2e-5473-4f1d-a17f-62dd20550cb5] [2025/04/04 10:39:03.806 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d397456] [ownerID=5bd539bb-12d5-4cf6-9cf6-08910d073330] [op=none] [2025/04/04 10:39:03.806 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=5bd539bb-12d5-4cf6-9cf6-08910d073330] [2025/04/04 10:39:03.806 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=5bd539bb-12d5-4cf6-9cf6-08910d073330] [ownerKey=/tidb/ddl/fg/owner/3eaa96005d397456] [currRev=1860] [2025/04/04 10:39:03.807 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:39:03.807 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=3377ff2e-5473-4f1d-a17f-62dd20550cb5] [daemon-id=LogBackup::Advancer] [2025/04/04 10:39:03.808 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:39:03.808 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f1896005d397f6e] [ownerID=3377ff2e-5473-4f1d-a17f-62dd20550cb5] [op=none] [2025/04/04 10:39:03.808 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=3377ff2e-5473-4f1d-a17f-62dd20550cb5] [2025/04/04 10:39:03.808 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=3377ff2e-5473-4f1d-a17f-62dd20550cb5] [ownerKey=/tidb/br-stream/owner/6f1896005d397f6e] [currRev=1861] [2025/04/04 10:39:03.808 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d397456] [ownerID=5bd539bb-12d5-4cf6-9cf6-08910d073330] [op=none] [2025/04/04 10:39:03.808 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=5bd539bb-12d5-4cf6-9cf6-08910d073330] [op=none] [2025/04/04 10:39:03.808 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:39:03.812 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestDuplicateKeyErrorMessage\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:748\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:39:03.813 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestDuplicateKeyErrorMessage\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:748\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:39:03.814 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestDuplicateKeyErrorMessage\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:748\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:39:03.814 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=5bd539bb-12d5-4cf6-9cf6-08910d073330] [2025/04/04 10:39:03.815 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:39:03.815 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:39:03.823 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:39:03.830 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:39:03.834 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:39:03.834 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:39:03.834 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:39:03.834 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:39:03.834 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:39:03.834 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:39:03.834 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:39:03.834 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:39:03.834 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:39:03.835 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:39:03.835 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=5bd539bb-12d5-4cf6-9cf6-08910d073330] [2025/04/04 10:39:03.836 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:39:03.836 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:39:03.836 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:39:03.836 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:39:03.837 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:39:03.837 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:39:03.837 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:39:03.837 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:39:03.837 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:39:03.837 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:39:03.837 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:39:03.837 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:39:03.837 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:39:03.837 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:39:03.837 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:39:03.838 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:39:03.840 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/5ea25432-9517-456e-8fa2-67282fb7632e] [2025/04/04 10:39:03.841 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=5bd539bb-12d5-4cf6-9cf6-08910d073330] [ttl-worker=task-manager] [ttl-worker=5bd539bb-12d5-4cf6-9cf6-08910d073330] [originalCount=0] [newCount=4] [2025/04/04 10:39:03.841 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=5bd539bb-12d5-4cf6-9cf6-08910d073330] [ttl-worker=task-manager] [ttl-worker=5bd539bb-12d5-4cf6-9cf6-08910d073330] [originalCount=0] [newCount=4] [2025/04/04 10:39:03.841 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:39:03.841 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=5bd539bb-12d5-4cf6-9cf6-08910d073330] [2025/04/04 10:39:03.841 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:39:03.841 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:39:03.841 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763143841952557 [2025/04/04 10:39:03.845 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:39:03.851 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=15.969208ms] [2025/04/04 10:39:03.851 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:39:03.851 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:39:03.854 +00:00] [INFO] [set.go:172] ["set global var"] [conn=32] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:39:03.875 +00:00] [INFO] [set.go:172] ["set global var"] [conn=32] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:39:03.877 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=32] [schemaVersion=392] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/04 10:39:03.878 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=32] [schemaVersion=392] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 10:39:03.891 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:414, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:03.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:39:03.891 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:414, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:03.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/04 10:39:03.897 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=414] [conn=32] [job="ID:414, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:412, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:03.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:03.913 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=392] [neededSchemaVersion=393] ["elapsed time"=1.977385ms] [gotSchemaVersion=393] [phyTblIDs="[412]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:39:03.917 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=414] [version=393] [2025/04/04 10:39:03.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=393] ["take time"=9.567663ms] [job="ID:414, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:03.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:03.929 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=414] [conn=32] [job="ID:414, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:412, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:03.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:03.944 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=393] [neededSchemaVersion=394] ["elapsed time"=1.921091ms] [gotSchemaVersion=394] [phyTblIDs="[412]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:39:03.947 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=414] [version=394] [2025/04/04 10:39:03.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=394] ["take time"=8.966845ms] [job="ID:414, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:03.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:03.957 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=414] [conn=32] [job="ID:414, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:412, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:03.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:03.963 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 412, Old Table Name: _t1)"] [2025/04/04 10:39:03.976 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=394] [neededSchemaVersion=395] ["elapsed time"=1.083775ms] [gotSchemaVersion=395] [phyTblIDs="[412]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:39:03.979 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=414] [version=395] [2025/04/04 10:39:03.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=395] ["take time"=8.0068ms] [job="ID:414, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:03.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:03.989 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=414] [tableIDs="[412]"] [comment="drop table: table ID"] [2025/04/04 10:39:03.996 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=414] [jobType="drop table"] [2025/04/04 10:39:03.997 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=414] [conn=32] [job="ID:414, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:03.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:04.015 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=414] [2025/04/04 10:39:04.026 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:415, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:03.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:39:04.026 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:415, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:03.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/04 10:39:04.032 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=415] [conn=32] [job="ID:415, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:406, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:03.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:04.048 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=395] [neededSchemaVersion=396] ["elapsed time"=1.795369ms] [gotSchemaVersion=396] [phyTblIDs="[406]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:39:04.051 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=415] [version=396] [2025/04/04 10:39:04.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=396] ["take time"=8.919685ms] [job="ID:415, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:03.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:04.062 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=415] [conn=32] [job="ID:415, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:406, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:03.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:04.078 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=396] [neededSchemaVersion=397] ["elapsed time"=1.885222ms] [gotSchemaVersion=397] [phyTblIDs="[406]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:39:04.081 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=415] [version=397] [2025/04/04 10:39:04.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=397] ["take time"=8.996802ms] [job="ID:415, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:03.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:04.091 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=415] [conn=32] [job="ID:415, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:406, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:03.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:04.096 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 406, Old Table Name: t1)"] [2025/04/04 10:39:04.109 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=397] [neededSchemaVersion=398] ["elapsed time"=1.089922ms] [gotSchemaVersion=398] [phyTblIDs="[406]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:39:04.112 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=415] [version=398] [2025/04/04 10:39:04.114 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=398] ["take time"=8.255846ms] [job="ID:415, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:03.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:04.123 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=415] [tableIDs="[406]"] [comment="drop table: table ID"] [2025/04/04 10:39:04.126 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=415] [jobType="drop table"] [2025/04/04 10:39:04.127 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=415] [conn=32] [job="ID:415, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:03.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:04.144 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=415] [2025/04/04 10:39:04.144 +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: 1743763144144897209 [2025/04/04 10:39:04.148 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=33] [schemaVersion=398] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/04 10:39:04.160 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:417, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:04.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:39:04.160 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:417, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:04.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/04 10:39:04.164 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=417] [conn=33] [job="ID:417, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:04.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:04.169 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 416, Table Name: t1)"] [2025/04/04 10:39:04.183 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=398] [neededSchemaVersion=399] ["elapsed time"=1.481367ms] [gotSchemaVersion=399] [phyTblIDs="[416]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:39:04.187 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=417] [version=399] [2025/04/04 10:39:04.188 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=399] ["take time"=8.61903ms] [job="ID:417, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:04.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:04.199 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=417] [conn=33] [job="ID:417, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:04.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:04.210 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=417] [2025/04/04 10:39:04.210 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=33] [schemaVersion=399] [cur_db=test] [sql="create table t1(a int primary key, b int)"] [user=] [2025/04/04 10:39:04.213 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117045668970507] [2025/04/04 10:39:04.219 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117045668970512] [generation=1] [session=33] [keys=1] [size=29B] ["flushed keys"=1] ["flushed size"=29B] ["take time"=663.27µs] [2025/04/04 10:39:04.219 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117045668970512] [startKey=7480000000000001a05f728000000000000001] [endKey=7480000000000001a05f728000000000000001] [2025/04/04 10:39:04.219 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117045668970512] [commitTS=0] [session=33] [2025/04/04 10:39:04.220 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=5bd539bb-12d5-4cf6-9cf6-08910d073330] [] [2025/04/04 10:39:04.220 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:39:04.220 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=5bd539bb-12d5-4cf6-9cf6-08910d073330] [2025/04/04 10:39:04.220 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:39:04.220 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:39:04.220 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:39:04.220 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 59, tp general"] ["take time"=67.036µs] [2025/04/04 10:39:04.220 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 60, tp general"] ["take time"=28.156µs] [2025/04/04 10:39:04.220 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 61, tp general"] ["take time"=27.51µs] [2025/04/04 10:39:04.220 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=5bd539bb-12d5-4cf6-9cf6-08910d073330] [2025/04/04 10:39:04.220 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=5bd539bb-12d5-4cf6-9cf6-08910d073330] [2025/04/04 10:39:04.221 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:39:04.221 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:39:04.222 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=5bd539bb-12d5-4cf6-9cf6-08910d073330] ["take time"=2.756666ms] [2025/04/04 10:39:04.222 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=5bd539bb-12d5-4cf6-9cf6-08910d073330] [2025/04/04 10:39:04.222 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:39:04.222 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/5ea25432-9517-456e-8fa2-67282fb7632e] [2025/04/04 10:39:04.222 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=5bd539bb-12d5-4cf6-9cf6-08910d073330] [ttl-worker=task-manager] [ttl-worker=5bd539bb-12d5-4cf6-9cf6-08910d073330] [originalCount=4] [newCount=0] [2025/04/04 10:39:04.223 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:39:04.223 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:39:04.223 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:39:04.223 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:39:04.223 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=5bd539bb-12d5-4cf6-9cf6-08910d073330] [ttl-worker=task-manager] [ttl-worker=5bd539bb-12d5-4cf6-9cf6-08910d073330] [originalCount=4] [newCount=0] [2025/04/04 10:39:04.225 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:39:04.225 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:39:04.225 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:39:04.225 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:39:04.227 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=5bd539bb-12d5-4cf6-9cf6-08910d073330] [2025/04/04 10:39:04.227 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:39:04.228 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=631] [2025/04/04 10:39:04.228 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:39:04.228 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:39:04.228 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:39:04.228 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:39:04.228 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:39:04.228 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=3377ff2e-5473-4f1d-a17f-62dd20550cb5] [] [2025/04/04 10:39:04.228 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:39:04.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:39:04.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:39:04.229 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:39:04.229 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=3377ff2e-5473-4f1d-a17f-62dd20550cb5] [2025/04/04 10:39:04.228 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:39:04.229 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:39:04.229 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:04.229 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:39:04.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:39:04.229 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=3377ff2e-5473-4f1d-a17f-62dd20550cb5] [2025/04/04 10:39:04.228 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:39:04.229 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:04.229 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:39:04.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:39:04.229 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:04.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:39:04.229 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:04.229 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:39:04.229 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:04.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:39:04.229 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:04.229 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:39:04.229 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:39:04.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:39:04.229 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:04.229 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:39:04.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:39:04.229 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:04.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:39:04.228 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:39:04.229 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:39:04.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:39:04.228 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:04.229 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:04.229 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:39:04.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:39:04.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:39:04.228 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:39:04.228 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:39:04.229 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:39:04.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:39:04.229 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:39:04.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:39:04.229 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:39:04.229 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:39:04.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:39:04.229 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:39:04.229 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:39:04.229 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:39:04.229 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=3377ff2e-5473-4f1d-a17f-62dd20550cb5] [2025/04/04 10:39:04.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:39:04.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:39:04.229 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:39:04.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:39:04.229 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:04.229 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:04.229 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:39:04.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:39:04.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:39:04.229 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=5bd539bb-12d5-4cf6-9cf6-08910d073330] [error="context canceled"] [2025/04/04 10:39:04.230 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=5bd539bb-12d5-4cf6-9cf6-08910d073330] [2025/04/04 10:39:04.231 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:39:04.231 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:39:04.231 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:39:04.231 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:39:04.231 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:39:04.231 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:39:04.231 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:39:04.231 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:39:04.231 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:39:04.231 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=3377ff2e-5473-4f1d-a17f-62dd20550cb5] [daemon-id=LogBackup::Advancer] [2025/04/04 10:39:04.231 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:39:04.232 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=5bd539bb-12d5-4cf6-9cf6-08910d073330] [error="context canceled"] [2025/04/04 10:39:04.232 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=5bd539bb-12d5-4cf6-9cf6-08910d073330] [2025/04/04 10:39:04.246 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:39:04.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:39:04.290 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=5bd539bb-12d5-4cf6-9cf6-08910d073330] [error="context canceled"] [2025/04/04 10:39:04.290 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:39:04.291 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:39:04.302 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=82.059996ms] [2025/04/04 10:39:05.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 10:39:09.220 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117045668970512 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:39:09.220 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117045668970512 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:39:09.220 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117045668970512 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:39:09.220 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:39:09.220 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:39:09.220 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:39:09.220 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:39:09.220 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:39:09.220 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:39:09.220 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:39:09.220 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:39:09.220 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-15] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:39:09.220 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:39:09.220 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:39:09.220 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:39:09.221 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestDuplicateKeyErrorMessage (5.59s) === NAME === RUN TestInsertIgnoreOnDuplicateKeyUpdate [2025/04/04 10:39:09.229 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:39:09.229 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:39:09.230 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347877260180] [2025/04/04 10:39:09.230 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:39:09.230 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:39:09.231 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:39:09.231 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:39:09.231 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:39:09.231 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:39:09.231 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:39:09.231 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:39:09.235 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:39:09.240 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:39:09.240 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:39:09.241 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:39:09.249 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404347877260180] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:39:09.258 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:39:09.292 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1599] ["lease id"=223196005d3978ba] [2025/04/04 10:39:09.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 10:39:09.378 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=399] ["elapsed time"=81.555748ms] [2025/04/04 10:39:09.378 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:39:09.380 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:39:09.390 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [runWorker=true] [jobVersion=v2] [2025/04/04 10:39:09.390 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:39:09.391 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [2025/04/04 10:39:09.392 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:39:09.392 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 142339817472/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:39:09.393 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:39:09.393 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:39:09.393 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:39:09.393 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:39:09.393 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:39:09.393 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:39:09.393 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:39:09.393 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:39:09.393 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:39:09.393 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:39:09.393 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:39:09.393 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:39:09.393 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=6c99fa8f-6d81-4bae-8f4c-e3c89100f02d] [2025/04/04 10:39:09.395 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d39748f] [ownerID=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [op=none] [2025/04/04 10:39:09.395 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [2025/04/04 10:39:09.395 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [ownerKey=/tidb/ddl/fg/owner/3eaa96005d39748f] [currRev=1902] [2025/04/04 10:39:09.395 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:39:09.395 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=6c99fa8f-6d81-4bae-8f4c-e3c89100f02d] [daemon-id=LogBackup::Advancer] [2025/04/04 10:39:09.396 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:39:09.396 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f1896005d397f97] [ownerID=6c99fa8f-6d81-4bae-8f4c-e3c89100f02d] [op=none] [2025/04/04 10:39:09.396 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=6c99fa8f-6d81-4bae-8f4c-e3c89100f02d] [2025/04/04 10:39:09.396 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=6c99fa8f-6d81-4bae-8f4c-e3c89100f02d] [ownerKey=/tidb/br-stream/owner/6f1896005d397f97] [currRev=1903] [2025/04/04 10:39:09.397 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d39748f] [ownerID=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [op=none] [2025/04/04 10:39:09.397 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [op=none] [2025/04/04 10:39:09.397 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:39:09.401 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestInsertIgnoreOnDuplicateKeyUpdate\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:763\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:39:09.402 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestInsertIgnoreOnDuplicateKeyUpdate\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:763\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:39:09.402 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestInsertIgnoreOnDuplicateKeyUpdate\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:763\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:39:09.403 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [2025/04/04 10:39:09.404 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:39:09.404 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:39:09.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:39:09.419 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:39:09.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:39:09.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:39:09.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:39:09.423 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:39:09.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:39:09.423 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:39:09.423 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:39:09.423 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:39:09.423 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:39:09.424 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:39:09.424 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [2025/04/04 10:39:09.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:39:09.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:39:09.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:39:09.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:39:09.425 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:39:09.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:39:09.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:39:09.425 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:39:09.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:39:09.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:39:09.425 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:39:09.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:39:09.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:39:09.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:39:09.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:39:09.427 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:39:09.429 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:39:09.430 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/b8597b0f-ccfd-4f74-8d64-5c142673f314] [2025/04/04 10:39:09.430 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:39:09.430 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:39:09.430 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/04 10:39:09.430 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [ttl-worker=task-manager] [ttl-worker=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [originalCount=0] [newCount=4] testkit.go:123: RefreshSession rand seed: 1743763149430386629 [2025/04/04 10:39:09.430 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [ttl-worker=task-manager] [ttl-worker=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [originalCount=0] [newCount=4] [2025/04/04 10:39:09.430 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [2025/04/04 10:39:09.433 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:39:09.439 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=15.438228ms] [2025/04/04 10:39:09.439 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:39:09.439 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:39:09.448 +00:00] [INFO] [set.go:172] ["set global var"] [conn=34] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:39:09.459 +00:00] [INFO] [set.go:172] ["set global var"] [conn=34] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:39:09.462 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=34] [schemaVersion=399] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 10:39:09.475 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:418, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:09.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:39:09.475 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:418, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:09.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/04 10:39:09.481 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=418] [conn=34] [job="ID:418, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:09.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:09.497 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=399] [neededSchemaVersion=400] ["elapsed time"=1.749324ms] [gotSchemaVersion=400] [phyTblIDs="[416]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:39:09.501 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=418] [version=400] [2025/04/04 10:39:09.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=400] ["take time"=9.419447ms] [job="ID:418, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:09.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:09.512 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=418] [conn=34] [job="ID:418, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:09.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:09.527 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=400] [neededSchemaVersion=401] ["elapsed time"=1.780353ms] [gotSchemaVersion=401] [phyTblIDs="[416]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:39:09.530 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=418] [version=401] [2025/04/04 10:39:09.532 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=401] ["take time"=8.286323ms] [job="ID:418, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:09.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:09.539 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=418] [conn=34] [job="ID:418, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:09.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:09.545 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 416, Old Table Name: t1)"] [2025/04/04 10:39:09.557 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=401] [neededSchemaVersion=402] ["elapsed time"=949.635µs] [gotSchemaVersion=402] [phyTblIDs="[416]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:39:09.561 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=418] [version=402] [2025/04/04 10:39:09.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=402] ["take time"=7.765573ms] [job="ID:418, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:09.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:09.571 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=418] [tableIDs="[416]"] [comment="drop table: table ID"] [2025/04/04 10:39:09.578 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=418] [jobType="drop table"] [2025/04/04 10:39:09.578 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=418] [conn=34] [job="ID:418, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:09.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:09.596 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=418] [2025/04/04 10:39:09.596 +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: 1743763149596889297 [2025/04/04 10:39:09.600 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=35] [schemaVersion=402] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/04 10:39:09.613 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:420, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:09.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:39:09.613 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:420, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:09.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int, b int, unique index u1(a, b), unique index u2(a))"] [2025/04/04 10:39:09.618 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=420] [conn=35] [job="ID:420, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:419, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:09.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:09.623 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 419, Table Name: t1)"] [2025/04/04 10:39:09.637 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=402] [neededSchemaVersion=403] ["elapsed time"=1.553988ms] [gotSchemaVersion=403] [phyTblIDs="[419]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:39:09.641 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=420] [version=403] [2025/04/04 10:39:09.642 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=403] ["take time"=8.267373ms] [job="ID:420, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:09.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:09.656 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=420] [conn=35] [job="ID:420, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:419, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:09.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:09.674 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=420] [2025/04/04 10:39:09.674 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=35] [schemaVersion=403] [cur_db=test] [sql="create table t1(a int, b int, unique index u1(a, b), unique index u2(a))"] [user=] [2025/04/04 10:39:09.681 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117047097393169] [generation=1] [session=35] [keys=6] [size=228B] ["flushed keys"=6] ["flushed size"=228B] ["take time"=1.37645ms] [2025/04/04 10:39:09.681 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=6] [flush_wait_duration=1.480003ms] [total_duration=5.217926ms] ["memdb traversal cache hit"=12] ["memdb traversal cache miss"=12] [size=228B] [startTS=457117047097393169] [2025/04/04 10:39:09.682 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117047097393169] [commitTS=457117047097393173] [2025/04/04 10:39:09.682 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117047097393169] [startKey=7480000000000001a35f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000001a35f728000000000000002] [concurrency=8] [2025/04/04 10:39:09.685 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117047097393169] [startKey=7480000000000001a35f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000001a35f728000000000000002] ["cost time"=2.450125ms] ["completed regions"=1] [2025/04/04 10:39:09.685 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117047097393169] [commitTS=457117047097393173] [session=35] [2025/04/04 10:39:09.687 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117047097393174] [generation=1] [session=35] [keys=3] [size=115B] ["flushed keys"=3] ["flushed size"=115B] ["take time"=872.158µs] [2025/04/04 10:39:09.687 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=3] [flush_wait_duration=960.93µs] [total_duration=3.908248ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=19] [size=115B] [startTS=457117047097393174] [2025/04/04 10:39:09.688 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117047097393174] [commitTS=457117047110762497] [2025/04/04 10:39:09.689 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117047097393174] [startKey=7480000000000001a35f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000001a35f728000000000000001] [concurrency=8] [2025/04/04 10:39:09.691 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117047097393174] [startKey=7480000000000001a35f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000001a35f728000000000000001] ["cost time"=2.257164ms] ["completed regions"=1] [2025/04/04 10:39:09.691 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117047097393174] [commitTS=457117047110762497] [session=35] [2025/04/04 10:39:09.692 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:39:09.692 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [] [2025/04/04 10:39:09.692 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:39:09.692 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [2025/04/04 10:39:09.692 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:39:09.692 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:39:09.692 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 62, tp general"] ["take time"=62.943µs] [2025/04/04 10:39:09.692 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 63, tp general"] ["take time"=28.76µs] [2025/04/04 10:39:09.692 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [2025/04/04 10:39:09.692 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [2025/04/04 10:39:09.693 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:39:09.693 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:39:09.694 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=da78466c-bdd0-40c5-bfcd-c80efff90c0e] ["take time"=2.054328ms] [2025/04/04 10:39:09.694 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [2025/04/04 10:39:09.694 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:39:09.694 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/b8597b0f-ccfd-4f74-8d64-5c142673f314] [2025/04/04 10:39:09.694 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [ttl-worker=task-manager] [ttl-worker=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [originalCount=4] [newCount=0] [2025/04/04 10:39:09.694 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:39:09.694 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:39:09.694 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:39:09.694 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:39:09.694 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [ttl-worker=task-manager] [ttl-worker=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [originalCount=4] [newCount=0] [2025/04/04 10:39:09.697 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:39:09.697 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:39:09.697 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:39:09.697 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:39:09.699 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [2025/04/04 10:39:09.699 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:39:09.700 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1599] [2025/04/04 10:39:09.700 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:39:09.700 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:39:09.700 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:39:09.700 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:09.701 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:39:09.700 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:39:09.701 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:39:09.701 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:39:09.701 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:39:09.701 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:39:09.701 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:39:09.701 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:39:09.701 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=6c99fa8f-6d81-4bae-8f4c-e3c89100f02d] [] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:39:09.701 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:39:09.701 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:39:09.701 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:39:09.701 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:39:09.701 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:39:09.701 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:09.701 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:39:09.701 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:39:09.701 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:09.701 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:39:09.701 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:39:09.701 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:39:09.701 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:39:09.701 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:39:09.701 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:39:09.701 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:09.701 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:39:09.701 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:39:09.701 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:09.701 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:39:09.701 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:39:09.701 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:39:09.700 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:39:09.701 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:09.701 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:39:09.701 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:39:09.701 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=6c99fa8f-6d81-4bae-8f4c-e3c89100f02d] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:39:09.701 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:39:09.701 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=6c99fa8f-6d81-4bae-8f4c-e3c89100f02d] [2025/04/04 10:39:09.701 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=6c99fa8f-6d81-4bae-8f4c-e3c89100f02d] [2025/04/04 10:39:09.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:39:09.702 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [error="context canceled"] [2025/04/04 10:39:09.702 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [2025/04/04 10:39:09.702 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=6c99fa8f-6d81-4bae-8f4c-e3c89100f02d] [daemon-id=LogBackup::Advancer] [2025/04/04 10:39:09.703 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:39:09.702 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:39:09.703 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:39:09.703 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:39:09.703 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:39:09.703 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:39:09.703 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:39:09.703 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [error="context canceled"] [2025/04/04 10:39:09.703 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:39:09.703 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:39:09.703 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:39:09.704 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [error="context canceled"] [2025/04/04 10:39:09.704 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [2025/04/04 10:39:09.704 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [error="context canceled"] [2025/04/04 10:39:09.704 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=da78466c-bdd0-40c5-bfcd-c80efff90c0e] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:39:09.718 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:39:09.718 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:39:09.765 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:39:09.765 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:39:09.776 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.298455ms] [2025/04/04 10:39:11.235 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:39:14.686 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117047097393169 commit_ts:457117047097393173 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:39:14.686 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117047097393169 commit_ts:457117047097393173 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:39:14.686 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117047097393169 commit_ts:457117047097393173 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:39:14.692 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117047097393174 commit_ts:457117047110762497 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:39:14.692 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117047097393174 commit_ts:457117047110762497 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:39:14.692 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117047097393174 commit_ts:457117047110762497 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:39:14.692 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:39:14.692 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:39:14.692 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:39:14.692 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:39:14.692 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:39:14.692 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:39:14.693 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:39:14.693 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:39:14.692 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-16] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:39:14.693 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:39:14.693 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:39:14.693 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:39:14.694 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestInsertIgnoreOnDuplicateKeyUpdate (5.47s) === NAME === RUN TestConflictError [2025/04/04 10:39:14.701 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:39:14.702 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:39:14.702 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347877260180] [2025/04/04 10:39:14.703 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:39:14.703 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:39:14.703 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:39:14.703 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:39:14.703 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:39:14.703 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:39:14.704 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:39:14.704 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:39:14.707 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:39: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 10:39:14.713 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:39:14.714 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:39:14.723 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404347877260180] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:39:14.733 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:39:14.768 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1668] ["lease id"=3eaa96005d3974b3] [2025/04/04 10:39:14.770 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:39:14.857 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=403] ["elapsed time"=84.811943ms] [2025/04/04 10:39:14.857 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:39:14.859 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:39:14.868 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=7b393a4f-4245-4f2b-9ee7-3159173537ed] [runWorker=true] [jobVersion=v2] [2025/04/04 10:39:14.868 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:39:14.870 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=7b393a4f-4245-4f2b-9ee7-3159173537ed] [2025/04/04 10:39:14.871 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:39:14.871 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 142339829760/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:39:14.871 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:39:14.871 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:39:14.872 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:39:14.872 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:39:14.872 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:39:14.872 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:39:14.872 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:39:14.872 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:39:14.872 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:39:14.872 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:39:14.872 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:39:14.872 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:39:14.872 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=057d636c-154a-4fa4-b665-d4b8f6940e0b] [2025/04/04 10:39:14.874 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d397fbd] [ownerID=7b393a4f-4245-4f2b-9ee7-3159173537ed] [op=none] [2025/04/04 10:39:14.874 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=7b393a4f-4245-4f2b-9ee7-3159173537ed] [2025/04/04 10:39:14.874 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=7b393a4f-4245-4f2b-9ee7-3159173537ed] [ownerKey=/tidb/ddl/fg/owner/6f1896005d397fbd] [currRev=1933] [2025/04/04 10:39:14.874 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:39:14.875 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=057d636c-154a-4fa4-b665-d4b8f6940e0b] [daemon-id=LogBackup::Advancer] [2025/04/04 10:39:14.875 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:39:14.875 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/223196005d3978e4] [ownerID=057d636c-154a-4fa4-b665-d4b8f6940e0b] [op=none] [2025/04/04 10:39:14.875 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=057d636c-154a-4fa4-b665-d4b8f6940e0b] [2025/04/04 10:39:14.875 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=057d636c-154a-4fa4-b665-d4b8f6940e0b] [ownerKey=/tidb/br-stream/owner/223196005d3978e4] [currRev=1934] [2025/04/04 10:39:14.876 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d397fbd] [ownerID=7b393a4f-4245-4f2b-9ee7-3159173537ed] [op=none] [2025/04/04 10:39:14.876 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=7b393a4f-4245-4f2b-9ee7-3159173537ed] [op=none] [2025/04/04 10:39:14.876 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:39:14.883 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestConflictError\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:784\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:39:14.884 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestConflictError\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:784\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:39:14.884 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestConflictError\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:784\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:39:14.885 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=7b393a4f-4245-4f2b-9ee7-3159173537ed] [2025/04/04 10:39:14.885 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:39:14.886 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:39:14.894 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:39:14.901 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:39:14.906 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:39:14.906 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:39:14.906 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:39:14.906 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:39:14.906 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:39:14.906 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:39:14.906 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:39:14.906 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:39:14.906 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:39:14.907 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:39:14.907 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=7b393a4f-4245-4f2b-9ee7-3159173537ed] [2025/04/04 10:39:14.908 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:39:14.908 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:39:14.908 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:39:14.908 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:39:14.908 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:39:14.908 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:39:14.908 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:39:14.908 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:39:14.908 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:39:14.908 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:39:14.909 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:39:14.909 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:39:14.909 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:39:14.909 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:39:14.909 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:39:14.910 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:39:14.912 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/ff15eba7-8893-4938-8ef2-d2c3f87c9adb] [2025/04/04 10:39:14.913 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=7b393a4f-4245-4f2b-9ee7-3159173537ed] [ttl-worker=task-manager] [ttl-worker=7b393a4f-4245-4f2b-9ee7-3159173537ed] [originalCount=0] [newCount=4] [2025/04/04 10:39:14.913 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=7b393a4f-4245-4f2b-9ee7-3159173537ed] [ttl-worker=task-manager] [ttl-worker=7b393a4f-4245-4f2b-9ee7-3159173537ed] [originalCount=0] [newCount=4] [2025/04/04 10:39:14.913 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=7b393a4f-4245-4f2b-9ee7-3159173537ed] [2025/04/04 10:39:14.913 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:39:14.913 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:39:14.913 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/04 10:39:14.913 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] testkit.go:123: RefreshSession rand seed: 1743763154913937110 [2025/04/04 10:39:14.918 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:39:14.924 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=16.260565ms] [2025/04/04 10:39:14.924 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:39:14.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:39:14.926 +00:00] [INFO] [set.go:172] ["set global var"] [conn=36] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:39:14.929 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=36] [schemaVersion=403] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 10:39:14.942 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:421, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:14.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:39:14.942 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:421, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:14.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/04 10:39:14.947 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=421] [conn=36] [job="ID:421, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:419, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:14.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:14.963 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=403] [neededSchemaVersion=404] ["elapsed time"=2.097646ms] [gotSchemaVersion=404] [phyTblIDs="[419]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:39:14.967 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=421] [version=404] [2025/04/04 10:39:14.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=404] ["take time"=9.419126ms] [job="ID:421, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:14.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:14.978 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=421] [conn=36] [job="ID:421, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:419, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:14.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:14.994 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=404] [neededSchemaVersion=405] ["elapsed time"=2.199409ms] [gotSchemaVersion=405] [phyTblIDs="[419]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:39:14.998 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=421] [version=405] [2025/04/04 10:39:14.999 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=405] ["take time"=9.29632ms] [job="ID:421, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:14.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:15.007 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=421] [conn=36] [job="ID:421, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:419, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:14.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:15.014 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 419, Old Table Name: t1)"] [2025/04/04 10:39:15.027 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=405] [neededSchemaVersion=406] ["elapsed time"=966.996µs] [gotSchemaVersion=406] [phyTblIDs="[419]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:39:15.030 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=421] [version=406] [2025/04/04 10:39:15.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=406] ["take time"=7.972288ms] [job="ID:421, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:14.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:15.041 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=421] [tableIDs="[419]"] [comment="drop table: table ID"] [2025/04/04 10:39:15.048 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=421] [jobType="drop table"] [2025/04/04 10:39:15.049 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=421] [conn=36] [job="ID:421, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:14.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:15.067 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=421] [2025/04/04 10:39:15.068 +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: 1743763155068323205 [2025/04/04 10:39:15.071 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=37] [schemaVersion=406] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 10:39:15.084 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:423, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:15.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:39:15.084 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:423, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:15.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/04 10:39:15.090 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=423] [conn=37] [job="ID:423, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:422, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:15.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:15.095 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 422, Table Name: t1)"] [2025/04/04 10:39:15.109 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=406] [neededSchemaVersion=407] ["elapsed time"=1.609584ms] [gotSchemaVersion=407] [phyTblIDs="[422]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:39:15.113 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=423] [version=407] [2025/04/04 10:39:15.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=407] ["take time"=9.291129ms] [job="ID:423, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:15.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:15.127 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=423] [conn=37] [job="ID:423, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:422, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:15.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:15.140 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=423] [2025/04/04 10:39:15.141 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=37] [schemaVersion=407] [cur_db=test] [sql="create table t1(a int primary key, b int)"] [user=] [2025/04/04 10:39:15.153 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:425, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:15.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1(a int primary key, b int)"] [2025/04/04 10:39:15.153 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:425, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:15.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:39:15.159 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=425] [conn=37] [job="ID:425, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:424, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:15.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:15.164 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 424, Table Name: _t1)"] [2025/04/04 10:39:15.178 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=407] [neededSchemaVersion=408] ["elapsed time"=1.436414ms] [gotSchemaVersion=408] [phyTblIDs="[424]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:39:15.182 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=425] [version=408] [2025/04/04 10:39:15.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=408] ["take time"=8.618188ms] [job="ID:425, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:15.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:15.195 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=425] [conn=37] [job="ID:425, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:424, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:15.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:15.207 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=425] [2025/04/04 10:39:15.207 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=37] [schemaVersion=408] [cur_db=test] [sql="create table _t1(a int primary key, b int)"] [user=] [2025/04/04 10:39:15.226 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117048552292364] [generation=1] [session=37] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.686039ms] [2025/04/04 10:39:15.226 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117048552292364] [generation=2] [session=37] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=38.103µs] [2025/04/04 10:39:15.226 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.737014ms] [total_duration=7.385785ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457117048552292364] [2025/04/04 10:39:15.228 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117048552292364] [commitTS=457117048552292365] [2025/04/04 10:39:15.228 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117048552292364] [startKey=7480000000000001a85f728000000000000000] [endKey=7480000000000001a85f728000000000000063] [concurrency=8] [2025/04/04 10:39:15.232 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117048552292364] [startKey=7480000000000001a85f728000000000000000] [endKey=7480000000000001a85f728000000000000063] ["cost time"=3.393278ms] ["completed regions"=1] [2025/04/04 10:39:15.232 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117048552292364] [commitTS=457117048552292365] [session=37] [2025/04/04 10:39:15.235 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117048552292367] [generation=1] [session=37] [keys=32] [size=928B] ["flushed keys"=32] ["flushed size"=928B] ["take time"=789.078µs] [2025/04/04 10:39:15.236 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:39:15.236 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457117048552292367] [startKey=7480000000000001a85f728000000000000000] [endKey=7480000000000001a85f728000000000000061] [concurrency=8] [2025/04/04 10:39:15.236 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=7b393a4f-4245-4f2b-9ee7-3159173537ed] [] [2025/04/04 10:39:15.236 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:39:15.236 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=7b393a4f-4245-4f2b-9ee7-3159173537ed] [2025/04/04 10:39:15.236 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:39:15.236 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:39:15.236 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:39:15.237 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 64, tp general"] ["take time"=55.141µs] [2025/04/04 10:39:15.237 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 65, tp general"] ["take time"=29.01µs] [2025/04/04 10:39:15.237 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 66, tp general"] ["take time"=39.774µs] [2025/04/04 10:39:15.237 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=7b393a4f-4245-4f2b-9ee7-3159173537ed] [2025/04/04 10:39:15.237 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=7b393a4f-4245-4f2b-9ee7-3159173537ed] [2025/04/04 10:39:15.238 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:39:15.238 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:39:15.238 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457117048552292367] [startKey=7480000000000001a85f728000000000000000] [endKey=7480000000000001a85f728000000000000061] ["cost time"=2.005457ms] ["completed regions"=1] [2025/04/04 10:39:15.238 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457117048552292367] [commitTS=0] [session=37] [2025/04/04 10:39:15.239 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=7b393a4f-4245-4f2b-9ee7-3159173537ed] ["take time"=2.454152ms] [2025/04/04 10:39:15.239 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=7b393a4f-4245-4f2b-9ee7-3159173537ed] [2025/04/04 10:39:15.239 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:39:15.239 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/ff15eba7-8893-4938-8ef2-d2c3f87c9adb] [2025/04/04 10:39:15.239 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=7b393a4f-4245-4f2b-9ee7-3159173537ed] [ttl-worker=task-manager] [ttl-worker=7b393a4f-4245-4f2b-9ee7-3159173537ed] [originalCount=4] [newCount=0] [2025/04/04 10:39:15.239 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:39:15.239 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:39:15.239 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:39:15.239 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:39:15.239 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=7b393a4f-4245-4f2b-9ee7-3159173537ed] [ttl-worker=task-manager] [ttl-worker=7b393a4f-4245-4f2b-9ee7-3159173537ed] [originalCount=4] [newCount=0] [2025/04/04 10:39:15.241 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:39:15.241 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:39:15.241 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:39:15.242 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:39:15.244 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=7b393a4f-4245-4f2b-9ee7-3159173537ed] [2025/04/04 10:39:15.244 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1668] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:39:15.245 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:39:15.245 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:39:15.245 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:15.245 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:39:15.245 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:39:15.245 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:39:15.245 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:15.245 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:39:15.245 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:15.245 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:39:15.245 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:39:15.245 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:39:15.245 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:15.245 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:15.245 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=057d636c-154a-4fa4-b665-d4b8f6940e0b] [] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:39:15.245 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:39:15.245 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:39:15.245 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=057d636c-154a-4fa4-b665-d4b8f6940e0b] [2025/04/04 10:39:15.245 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:39:15.245 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=057d636c-154a-4fa4-b665-d4b8f6940e0b] [2025/04/04 10:39:15.245 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:39:15.245 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:39:15.245 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:39:15.245 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:39:15.245 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:15.245 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:39:15.245 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:39:15.245 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:39:15.245 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:39:15.245 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:15.245 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:39:15.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:39:15.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:39:15.245 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:39:15.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:39:15.245 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:39:15.245 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:39:15.245 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:15.245 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:39:15.245 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:39:15.245 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=057d636c-154a-4fa4-b665-d4b8f6940e0b] [2025/04/04 10:39:15.246 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:15.246 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:39:15.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:39:15.246 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=7b393a4f-4245-4f2b-9ee7-3159173537ed] [error="context canceled"] [2025/04/04 10:39:15.246 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=7b393a4f-4245-4f2b-9ee7-3159173537ed] [2025/04/04 10:39:15.247 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=057d636c-154a-4fa4-b665-d4b8f6940e0b] [daemon-id=LogBackup::Advancer] [2025/04/04 10:39:15.247 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:39:15.247 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=7b393a4f-4245-4f2b-9ee7-3159173537ed] [error="context canceled"] [2025/04/04 10:39:15.247 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:39:15.247 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:39:15.247 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:39:15.247 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:39:15.247 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:39:15.247 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:39:15.247 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:39:15.247 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:39:15.247 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:39:15.248 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=7b393a4f-4245-4f2b-9ee7-3159173537ed] [error="context canceled"] [2025/04/04 10:39:15.248 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=7b393a4f-4245-4f2b-9ee7-3159173537ed] [2025/04/04 10:39:15.266 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:39:15.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:39:15.308 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=7b393a4f-4245-4f2b-9ee7-3159173537ed] [error="context canceled"] [2025/04/04 10:39:15.308 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:39:15.308 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:39:15.319 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=82.810662ms] [2025/04/04 10:39:16.708 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:39:20.233 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117048552292364 commit_ts:457117048552292365 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:39:20.233 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117048552292364 commit_ts:457117048552292365 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:39:20.233 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117048552292364 commit_ts:457117048552292365 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:39:20.239 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117048552292367 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:39:20.239 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117048552292367 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:39:20.239 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117048552292367 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:39:20.239 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:39:20.239 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:39:20.239 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:39:20.239 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:39:20.239 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:39:20.239 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:39:20.239 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:39:20.239 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:39:20.239 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:39:20.239 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:39:20.239 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-17] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:39:20.239 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:39:20.241 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestConflictError (5.55s) === NAME === RUN TestRejectUnsupportedTables [2025/04/04 10:39:20.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 10:39:20.250 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:39:20.250 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347877260180] [2025/04/04 10:39:20.251 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:39:20.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 10:39:20.251 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:39:20.251 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:39:20.251 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:39:20.252 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:39:20.252 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:39:20.252 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:39:20.256 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:39:20.261 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:39:20.262 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:39:20.262 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:39:20.273 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404347877260180] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:39:20.282 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:39:20.318 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1813] ["lease id"=6f1896005d397fdf] [2025/04/04 10:39:20.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 10:39:20.406 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=408] ["elapsed time"=83.851107ms] [2025/04/04 10:39:20.406 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:39:20.408 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:39:20.418 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=b3751701-d465-4999-ace1-f8c4de5bbae6] [runWorker=true] [jobVersion=v2] [2025/04/04 10:39:20.418 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:39:20.420 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=b3751701-d465-4999-ace1-f8c4de5bbae6] [2025/04/04 10:39:20.421 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:39:20.421 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 142339842048/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:39:20.421 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:39:20.421 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:39:20.421 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:39:20.421 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:39:20.421 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:39:20.421 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:39:20.421 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:39:20.421 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:39:20.421 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:39:20.421 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:39:20.421 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:39:20.421 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:39:20.422 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=5cd45543-eb2c-465e-bfae-632370545869] [2025/04/04 10:39:20.423 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d397fe4] [ownerID=b3751701-d465-4999-ace1-f8c4de5bbae6] [op=none] [2025/04/04 10:39:20.424 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=b3751701-d465-4999-ace1-f8c4de5bbae6] [2025/04/04 10:39:20.424 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=b3751701-d465-4999-ace1-f8c4de5bbae6] [ownerKey=/tidb/ddl/fg/owner/6f1896005d397fe4] [currRev=1968] [2025/04/04 10:39:20.425 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa96005d3974ed] [ownerID=5cd45543-eb2c-465e-bfae-632370545869] [op=none] [2025/04/04 10:39:20.425 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=5cd45543-eb2c-465e-bfae-632370545869] [2025/04/04 10:39:20.425 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=5cd45543-eb2c-465e-bfae-632370545869] [ownerKey=/tidb/br-stream/owner/3eaa96005d3974ed] [currRev=1968] [2025/04/04 10:39:20.425 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:39:20.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:39:20.426 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=5cd45543-eb2c-465e-bfae-632370545869] [daemon-id=LogBackup::Advancer] [2025/04/04 10:39:20.426 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d397fe4] [ownerID=b3751701-d465-4999-ace1-f8c4de5bbae6] [op=none] [2025/04/04 10:39:20.426 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=b3751701-d465-4999-ace1-f8c4de5bbae6] [op=none] [2025/04/04 10:39:20.426 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:39:20.433 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestRejectUnsupportedTables\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:808\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:39:20.434 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestRejectUnsupportedTables\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:808\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:39:20.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.TestRejectUnsupportedTables\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:808\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:39:20.436 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=b3751701-d465-4999-ace1-f8c4de5bbae6] [2025/04/04 10:39:20.437 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:39:20.437 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:39:20.445 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:39:20.452 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:39:20.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:39:20.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:39:20.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:39:20.456 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:39:20.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:39:20.456 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:39:20.456 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:39:20.456 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:39:20.456 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:39:20.457 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:39:20.457 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=b3751701-d465-4999-ace1-f8c4de5bbae6] [2025/04/04 10:39:20.459 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:39:20.459 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:39:20.459 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:39:20.459 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:39:20.459 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:39:20.459 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:39:20.459 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:39:20.459 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:39:20.459 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:39:20.459 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:39:20.459 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:39:20.459 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:39:20.459 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:39:20.459 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:39:20.459 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:39:20.461 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:39:20.463 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/4ae91a3b-81be-44aa-bac2-7c8b09df8d05] [2025/04/04 10:39:20.463 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=b3751701-d465-4999-ace1-f8c4de5bbae6] [ttl-worker=task-manager] [ttl-worker=b3751701-d465-4999-ace1-f8c4de5bbae6] [originalCount=0] [newCount=4] [2025/04/04 10:39:20.463 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=b3751701-d465-4999-ace1-f8c4de5bbae6] [ttl-worker=task-manager] [ttl-worker=b3751701-d465-4999-ace1-f8c4de5bbae6] [originalCount=0] [newCount=4] [2025/04/04 10:39:20.463 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=b3751701-d465-4999-ace1-f8c4de5bbae6] [2025/04/04 10:39:20.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:39:20.464 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:39:20.464 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763160464438843 [2025/04/04 10:39:20.464 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:39:20.469 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:39:20.479 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.73234ms] [2025/04/04 10:39:20.479 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:39:20.479 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:39:20.483 +00:00] [INFO] [set.go:172] ["set global var"] [conn=38] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:39:20.486 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=408] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/04 10:39:20.487 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=408] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 10:39:20.500 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:426, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:39:20.500 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:426, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/04 10:39:20.506 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=426] [conn=38] [job="ID:426, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:424, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:20.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.522 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=408] [neededSchemaVersion=409] ["elapsed time"=1.840552ms] [gotSchemaVersion=409] [phyTblIDs="[424]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:39:20.526 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=426] [version=409] [2025/04/04 10:39: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=409] ["take time"=9.65588ms] [job="ID:426, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.537 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=426] [conn=38] [job="ID:426, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:424, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:20.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.552 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=409] [neededSchemaVersion=410] ["elapsed time"=1.764239ms] [gotSchemaVersion=410] [phyTblIDs="[424]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:39:20.556 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=426] [version=410] [2025/04/04 10:39: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=410] ["take time"=8.879154ms] [job="ID:426, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.566 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=426] [conn=38] [job="ID:426, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:424, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:20.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.572 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 424, Old Table Name: _t1)"] [2025/04/04 10:39:20.584 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=410] [neededSchemaVersion=411] ["elapsed time"=1.003681ms] [gotSchemaVersion=411] [phyTblIDs="[424]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:39:20.588 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=426] [version=411] [2025/04/04 10:39: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=411] ["take time"=8.150339ms] [job="ID:426, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.599 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=426] [tableIDs="[424]"] [comment="drop table: table ID"] [2025/04/04 10:39:20.607 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=426] [jobType="drop table"] [2025/04/04 10:39:20.608 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=426] [conn=38] [job="ID:426, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.629 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=426] [2025/04/04 10:39:20.642 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:427, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/04 10:39:20.642 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:427, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:39:20.648 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=427] [conn=38] [job="ID:427, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:422, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:20.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.666 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=411] [neededSchemaVersion=412] ["elapsed time"=2.055061ms] [gotSchemaVersion=412] [phyTblIDs="[422]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:39:20.671 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=427] [version=412] [2025/04/04 10:39:20.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=412] ["take time"=10.825854ms] [job="ID:427, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.684 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=427] [conn=38] [job="ID:427, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:422, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:20.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.701 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=412] [neededSchemaVersion=413] ["elapsed time"=1.937257ms] [gotSchemaVersion=413] [phyTblIDs="[422]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:39:20.705 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=427] [version=413] [2025/04/04 10:39:20.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=413] ["take time"=10.006419ms] [job="ID:427, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.716 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=427] [conn=38] [job="ID:427, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:422, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:20.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.723 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 422, Old Table Name: t1)"] [2025/04/04 10:39:20.736 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=413] [neededSchemaVersion=414] ["elapsed time"=1.021764ms] [gotSchemaVersion=414] [phyTblIDs="[422]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:39:20.740 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=427] [version=414] [2025/04/04 10:39:20.742 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=414] ["take time"=8.428013ms] [job="ID:427, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.752 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=427] [tableIDs="[422]"] [comment="drop table: table ID"] [2025/04/04 10:39:20.756 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=427] [jobType="drop table"] [2025/04/04 10:39:20.757 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=427] [conn=38] [job="ID:427, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.775 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=427] [2025/04/04 10:39:20.776 +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: 1743763160776500402 [2025/04/04 10:39:20.781 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=414] [cur_db=test] [sql="drop table if exists parent, child"] [user=] [2025/04/04 10:39:20.795 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:429, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:428, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:39:20.795 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:429, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:428, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table parent(a int primary key)"] [2025/04/04 10:39:20.800 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=429] [conn=39] [job="ID:429, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:428, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:20.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.805 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 428, Table Name: parent)"] [2025/04/04 10:39:20.819 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=414] [neededSchemaVersion=415] ["elapsed time"=1.40608ms] [gotSchemaVersion=415] [phyTblIDs="[428]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:39:20.823 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=429] [version=415] [2025/04/04 10:39:20.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=415] ["take time"=9.030244ms] [job="ID:429, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:428, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.836 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=429] [conn=39] [job="ID:429, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:428, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:20.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.847 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=429] [2025/04/04 10:39:20.847 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=415] [cur_db=test] [sql="create table parent(a int primary key)"] [user=] [2025/04/04 10:39:20.861 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:431, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:39:20.861 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:431, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table child(a int, foreign key (a) references parent(a))"] [2025/04/04 10:39:20.866 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=431] [conn=39] [job="ID:431, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:430, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:20.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.883 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=415] [neededSchemaVersion=416] ["elapsed time"=1.512531ms] [gotSchemaVersion=416] [phyTblIDs="[430]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:39:20.887 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=431] [version=416] [2025/04/04 10:39:20.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=416] ["take time"=8.97052ms] [job="ID:431, Type:create table, State:running, SchemaState:delete only, SchemaID:2, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.899 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=431] [conn=39] [job="ID:431, Type:create table, State:running, SchemaState:delete only, SchemaID:2, TableID:430, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:20.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.904 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 430, Table Name: child)"] [2025/04/04 10:39:20.918 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=416] [neededSchemaVersion=417] ["elapsed time"=1.489555ms] [gotSchemaVersion=417] [phyTblIDs="[430]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:39:20.922 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=431] [version=417] [2025/04/04 10:39:20.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=417] ["take time"=9.253479ms] [job="ID:431, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.935 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=431] [conn=39] [job="ID:431, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:430, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:20.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:20.946 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=431] [2025/04/04 10:39:20.947 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=417] [cur_db=test] [sql="create table child(a int, foreign key (a) references parent(a))"] [user=] [2025/04/04 10:39:20.949 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117050059882501] [2025/04/04 10:39:20.959 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:39:20.959 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=417] [error="[planner:1452]Cannot add or update a child row: a foreign key constraint fails (`test`.`child`, CONSTRAINT `fk_1` FOREIGN KEY (`a`) REFERENCES `parent` (`a`))"] [session="{\n \"currDBName\": \"test\",\n \"id\": 39,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 10:39:20.962 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117050059882508] [2025/04/04 10:39:20.975 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117050059882511] [2025/04/04 10:39:20.984 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117050059882515] [generation=1] [session=39] [keys=1] [size=25B] ["flushed keys"=1] ["flushed size"=25B] ["take time"=904.301µs] [2025/04/04 10:39:20.984 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=996.598µs] [total_duration=1.355007ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=25B] [startTS=457117050059882515] [2025/04/04 10:39:20.985 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117050059882515] [commitTS=457117050072989697] [2025/04/04 10:39:20.986 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-commit-457117050059882515] [startKey=7480000000000001ac5f728000000000000004] [endKey=7480000000000001ac5f728000000000000004] [2025/04/04 10:39:20.986 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=0] [startTS=457117050059882515] [commitTS=457117050072989697] [session=39] [2025/04/04 10:39:20.988 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117050072989698] [generation=1] [session=39] [keys=2] [size=67B] ["flushed keys"=2] ["flushed size"=67B] ["take time"=874.778µs] [2025/04/04 10:39:20.988 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=973.549µs] [total_duration=1.404811ms] ["memdb traversal cache hit"=4] ["memdb traversal cache miss"=3] [size=67B] [startTS=457117050072989698] [2025/04/04 10:39:20.989 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117050072989698] [commitTS=457117050072989699] [2025/04/04 10:39:20.989 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117050072989698] [startKey=7480000000000001ae5f698000000000000001038000000000000004038000000000000003] [endKey=7480000000000001ae5f728000000000000003] [concurrency=8] [2025/04/04 10:39:20.991 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117050072989698] [startKey=7480000000000001ae5f698000000000000001038000000000000004038000000000000003] [endKey=7480000000000001ae5f728000000000000003] ["cost time"=2.295822ms] ["completed regions"=1] [2025/04/04 10:39:20.992 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117050072989698] [commitTS=457117050072989699] [session=39] [2025/04/04 10:39:20.994 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=417] [cur_db=test] [sql="create temporary table temp(a int)"] [user=] [2025/04/04 10:39:21.008 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:434, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:39:21.008 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:434, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table cached(a int)"] [2025/04/04 10:39:21.014 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=434] [conn=39] [job="ID:434, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:20.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:21.018 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 433, Table Name: cached)"] [2025/04/04 10:39:21.032 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=417] [neededSchemaVersion=418] ["elapsed time"=1.521483ms] [gotSchemaVersion=418] [phyTblIDs="[433]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:39:21.036 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=434] [version=418] [2025/04/04 10:39:21.038 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=418] ["take time"=9.756483ms] [job="ID:434, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:433, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:20.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:21.050 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=434] [conn=39] [job="ID:434, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:20.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:21.061 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=434] [2025/04/04 10:39:21.061 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=418] [cur_db=test] [sql="create table cached(a int)"] [user=] [2025/04/04 10:39:21.078 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:435, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:21.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:39:21.078 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:435, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:1, start time: 2025-04-04 10:39:21.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table cached cache"] [2025/04/04 10:39:21.082 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=435] [conn=39] [job="ID:435, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:21.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:21.097 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=418] [neededSchemaVersion=419] ["elapsed time"=1.454054ms] [gotSchemaVersion=419] [phyTblIDs="[433]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2025/04/04 10:39:21.101 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=435] [version=419] [2025/04/04 10:39:21.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=419] ["take time"=8.944421ms] [job="ID:435, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:21.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:21.112 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=435] [conn=39] [job="ID:435, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:21.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:21.127 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=419] [neededSchemaVersion=420] ["elapsed time"=1.445972ms] [gotSchemaVersion=420] [phyTblIDs="[433]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2025/04/04 10:39:21.131 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=435] [version=420] [2025/04/04 10:39:21.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=420] ["take time"=8.49231ms] [job="ID:435, Type:alter table cache, State:done, SchemaState:public, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:21.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:21.141 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=435] [conn=39] [job="ID:435, Type:alter table cache, State:synced, SchemaState:public, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-04 10:39:21.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:39:21.152 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=435] [2025/04/04 10:39:21.152 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=420] [cur_db=test] [sql="alter table cached cache"] [user=] [2025/04/04 10:39:21.167 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:39:21.167 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:39:21.167 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=b3751701-d465-4999-ace1-f8c4de5bbae6] [] [2025/04/04 10:39:21.167 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=b3751701-d465-4999-ace1-f8c4de5bbae6] [2025/04/04 10:39:21.168 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:39:21.168 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:39:21.168 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 67, tp general"] ["take time"=64.157µs] [2025/04/04 10:39:21.168 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 68, tp general"] ["take time"=59.536µs] [2025/04/04 10:39:21.168 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 69, tp general"] ["take time"=36.112µs] [2025/04/04 10:39:21.168 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 70, tp general"] ["take time"=33.253µs] [2025/04/04 10:39:21.168 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 71, tp general"] ["take time"=36.498µs] [2025/04/04 10:39:21.168 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 72, tp general"] ["take time"=29.245µs] [2025/04/04 10:39:21.168 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=b3751701-d465-4999-ace1-f8c4de5bbae6] [2025/04/04 10:39:21.168 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=b3751701-d465-4999-ace1-f8c4de5bbae6] [2025/04/04 10:39:21.169 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:39:21.169 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:39:21.172 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=b3751701-d465-4999-ace1-f8c4de5bbae6] ["take time"=4.344405ms] [2025/04/04 10:39:21.172 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=b3751701-d465-4999-ace1-f8c4de5bbae6] [2025/04/04 10:39:21.172 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:39:21.172 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/4ae91a3b-81be-44aa-bac2-7c8b09df8d05] [2025/04/04 10:39:21.172 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=b3751701-d465-4999-ace1-f8c4de5bbae6] [ttl-worker=task-manager] [ttl-worker=b3751701-d465-4999-ace1-f8c4de5bbae6] [originalCount=4] [newCount=0] [2025/04/04 10:39:21.172 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:39:21.172 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:39:21.172 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:39:21.172 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:39:21.172 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=b3751701-d465-4999-ace1-f8c4de5bbae6] [ttl-worker=task-manager] [ttl-worker=b3751701-d465-4999-ace1-f8c4de5bbae6] [originalCount=4] [newCount=0] [2025/04/04 10:39:21.175 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:39:21.175 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:39:21.175 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:39:21.175 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:39:21.177 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=b3751701-d465-4999-ace1-f8c4de5bbae6] [2025/04/04 10:39:21.177 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:39:21.178 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1813] [2025/04/04 10:39:21.178 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:39:21.178 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:21.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:39:21.178 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:39:21.178 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:39:21.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:39:21.178 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:21.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:39:21.178 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:39:21.179 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:21.179 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:39:21.178 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:21.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:39:21.179 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:39:21.179 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=5cd45543-eb2c-465e-bfae-632370545869] [] [2025/04/04 10:39:21.179 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:39:21.179 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:21.179 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:21.179 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:39:21.179 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=5cd45543-eb2c-465e-bfae-632370545869] [2025/04/04 10:39:21.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:39:21.179 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:39:21.179 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:39:21.179 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:39:21.179 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:21.179 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=5cd45543-eb2c-465e-bfae-632370545869] [2025/04/04 10:39:21.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:39:21.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:39:21.179 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:39:21.179 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=5cd45543-eb2c-465e-bfae-632370545869] [2025/04/04 10:39:21.179 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:21.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:39:21.178 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:39:21.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:39:21.179 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:21.178 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:39:21.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:39:21.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:39:21.178 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:39:21.179 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:39:21.178 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:39:21.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:39:21.179 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:21.178 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:39:21.179 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:39:21.178 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:39:21.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:39:21.179 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:39:21.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:39:21.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:39:21.179 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:39:21.179 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:39:21.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:39:21.179 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:39:21.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:39:21.179 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:39:21.179 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:39:21.179 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:39:21.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:39:21.179 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:39:21.179 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:39:21.180 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:39:21.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:39:21.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:39:21.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:39:21.180 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:39:21.181 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:39:21.181 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=b3751701-d465-4999-ace1-f8c4de5bbae6] [error="context canceled"] [2025/04/04 10:39:21.181 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=5cd45543-eb2c-465e-bfae-632370545869] [daemon-id=LogBackup::Advancer] [2025/04/04 10:39:21.181 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:39:21.181 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:39:21.181 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=b3751701-d465-4999-ace1-f8c4de5bbae6] [2025/04/04 10:39:21.181 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:39:21.181 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:39:21.181 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:39:21.181 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:39:21.181 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=b3751701-d465-4999-ace1-f8c4de5bbae6] [error="context canceled"] [2025/04/04 10:39:21.181 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:39:21.181 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:39:21.181 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:39:21.182 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=b3751701-d465-4999-ace1-f8c4de5bbae6] [error="context canceled"] [2025/04/04 10:39:21.182 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=b3751701-d465-4999-ace1-f8c4de5bbae6] [2025/04/04 10:39:21.199 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:39:21.199 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:39:21.246 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=b3751701-d465-4999-ace1-f8c4de5bbae6] [error="context canceled"] [2025/04/04 10:39:21.246 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:39:21.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:39:21.259 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=91.490898ms] [2025/04/04 10:39:22.257 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:39:25.986 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117050059882515 commit_ts:457117050072989697 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:39:25.986 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117050059882515 commit_ts:457117050072989697 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:39:25.986 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117050059882515 commit_ts:457117050072989697 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:39:25.992 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457117050072989698 commit_ts:457117050072989699 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:39:25.992 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=7] [storeAddr=127.0.0.1:20161] [status="start_ts:457117050072989698 commit_ts:457117050072989699 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:39:25.992 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20160] [status="start_ts:457117050072989698 commit_ts:457117050072989699 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:39:25.993 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:39:25.993 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:39:25.993 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:39:25.993 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:39:25.993 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:39:25.993 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:39:25.993 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:39:25.993 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:39:25.993 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:39:25.993 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-18] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:39:25.993 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:39:25.993 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:39:25.994 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestRejectUnsupportedTables (5.75s) === NAME PASS ================================================================================ Target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test up-to-date: bazel-bin/tests/realtikvtest/pipelineddmltest/pipelineddmltest_test_/pipelineddmltest_test INFO: Elapsed time: 31.910s, Critical Path: 13.90s INFO: 4571 processes: 4558 remote cache hit, 13 internal. INFO: Build completed successfully, 4571 total actions //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (cached) PASSED in 119.3s PASSED pipelineddmltest_test.TestConflictError (5.6s) PASSED pipelineddmltest_test.TestDuplicateKeyErrorMessage (5.6s) PASSED pipelineddmltest_test.TestInsertIgnoreOnDuplicateKeyUpdate (5.5s) PASSED pipelineddmltest_test.TestPipelinedDMLCommitFailed (6.1s) PASSED pipelineddmltest_test.TestPipelinedDMLCommitSkipSecondaries (1.2s) PASSED pipelineddmltest_test.TestPipelinedDMLDelete (6.1s) PASSED pipelineddmltest_test.TestPipelinedDMLDisableRetry (6.2s) PASSED pipelineddmltest_test.TestPipelinedDMLInsert (6.1s) PASSED pipelineddmltest_test.TestPipelinedDMLInsertIgnore (6.1s) PASSED pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdate (1.2s) PASSED pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn (6.1s) PASSED pipelineddmltest_test.TestPipelinedDMLInsertRPC (9.7s) PASSED pipelineddmltest_test.TestPipelinedDMLNegative (0.6s) PASSED pipelineddmltest_test.TestPipelinedDMLPositive (25.8s) PASSED pipelineddmltest_test.TestPipelinedDMLUpdate (6.3s) 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 0 out of 1 test: 1 test passes.  [4,435 / 4,568] GoCompilePkg pkg/executor/internal/querywatch/querywatch.a; Downloading pkg/executor/internal/querywatch/querywatch.a, 9.1 MiB / 10.2 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] // container [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [4,641 / 4,642] GoLink tests/realtikvtest/importintotest4/importintotest4_test_/importintotest4_test; Downloading tests/realtikvtest/importintotest4/importintotest4_test_/importintotest4_test, 154.8 MiB / 227.3 MiB; 1s remote-cache [Pipeline] } [Pipeline] script [Pipeline] { [4,565 / 4,639] GoCompilePkg br/pkg/restore/snap_client/snap_client.a; Downloading br/pkg/restore/snap_client/snap_client.a, 8.6 MiB / 13.6 MiB; 0s remote-cache ... (3 actions, 0 running) [Pipeline] } [Pipeline] sh [Pipeline] // dir [Pipeline] // withCredentials [Pipeline] } [Pipeline] // container [4,725 / 4,750] GoCompilePkg pkg/server/handler/ttlhandler/ttlhandler.a; Downloading pkg/server/handler/ttlhandler/ttlhandler.a, 7.0 MiB / 11.3 MiB; 0s remote-cache ... (7 actions, 0 running) [Pipeline] // dir [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [4,510 / 4,568] GoCompilePkg pkg/planner/core/core.a; Downloading pkg/planner/core/core.a, 30.3 MiB / 46.0 MiB; 0s remote-cache ... (2 actions, 0 running) [Pipeline] // script [Pipeline] } [Pipeline] script [Pipeline] { [4,638 / 4,639] GoLink tests/realtikvtest/importintotest2/importintotest2_test_/importintotest2_test; Downloading tests/realtikvtest/importintotest2/importintotest2_test_/importintotest2_test, 85.8 MiB / 227.3 MiB; 0s remote-cache [4,606 / 4,639] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; 0s remote-cache ... (2 actions, 0 running) [4,572 / 4,573] GoLink tests/realtikvtest/flashbacktest/flashbacktest_test_/flashbacktest_test; 1s remote-cache INFO: From Testing //tests/realtikvtest/flashbacktest:flashbacktest_test: ==================== Test output for //tests/realtikvtest/flashbacktest:flashbacktest_test: === RUN TestFlashback [2025/04/04 10:35:32.681 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:32.682 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:32.682 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404346513542897] [2025/04/04 10:35:32.683 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:32.684 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:32.684 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:32.684 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:32.684 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:32.684 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:32.684 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:32.685 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:32.690 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:35:32.696 +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 10:35:32.697 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:32.698 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:32.720 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:32.720 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:32.726 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:32.726 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:32.736 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:32.756 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404346513542897] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:35:32.778 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:35:32.817 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1924] ["lease id"=6f1896005d3c9b4a] [2025/04/04 10:35:32.819 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:35:32.826 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/flashbacktest/flashbacktest_test.TestFlashback\n\ttests/realtikvtest/flashbacktest/flashback_test.go:65\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 10:35:32.933 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=105.876498ms] [2025/04/04 10:35:32.933 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:32.934 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/04 10:35:32.934 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [runWorker=true] [jobVersion=v2] [2025/04/04 10:35:32.934 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:35:32.936 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:32.938 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:35:32.938 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237167587328/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:35:32.938 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:32.938 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:32.938 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:32.938 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:32.938 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:32.938 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:32.938 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:32.939 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:32.938 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:35:32.939 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:32.939 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:32.939 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:32.939 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=a3bfac35-894d-4e53-bc26-93819781f20b] [2025/04/04 10:35:32.940 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d3c99ed] [ownerID=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [op=none] [2025/04/04 10:35:32.940 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:32.941 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [ownerKey=/tidb/ddl/fg/owner/3eaa96005d3c99ed] [currRev=91] [2025/04/04 10:35:32.941 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:32.942 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=a3bfac35-894d-4e53-bc26-93819781f20b] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:32.942 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:35:32.942 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa96005d3c99ef] [ownerID=a3bfac35-894d-4e53-bc26-93819781f20b] [op=none] [2025/04/04 10:35:32.942 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=a3bfac35-894d-4e53-bc26-93819781f20b] [2025/04/04 10:35:32.942 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=a3bfac35-894d-4e53-bc26-93819781f20b] [ownerKey=/tidb/br-stream/owner/3eaa96005d3c99ef] [currRev=92] [2025/04/04 10:35:32.943 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d3c99ed] [ownerID=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [op=none] [2025/04/04 10:35:32.943 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [op=none] [2025/04/04 10:35:32.943 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:35:32.945 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 10:35:32.960 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:32.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/04 10:35:32.960 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:32.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:32.966 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:32.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.106 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=125.574456ms] [2025/04/04 10:35:33.106 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:33.112 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.112 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/04 10:35:33.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=1] ["take time"=135.193264ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:32.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.127 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:32.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.142 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/04 10:35:33.142 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/04 10:35:33.143 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/04 10:35:33.148 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=America/Los_Angeles] [2025/04/04 10:35:33.173 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.173 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/04 10:35:33.182 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.238 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.583579ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.242 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.242 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/04 10:35:33.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=2] ["take time"=14.691166ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.263 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.295 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/04 10:35:33.296 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 10:35:33.309 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2025/04/04 10:35:33.310 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.315 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.333 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=1.949938ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.337 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.337 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/04 10:35:33.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=3] ["take time"=8.523467ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.349 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.361 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/04 10:35:33.361 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2025/04/04 10:35:33.375 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35: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 10:35:33.375 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.380 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.398 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=1.989461ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.401 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.401 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/04 10:35:33.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=4] ["take time"=8.817187ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.414 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.426 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/04 10:35:33.427 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [user=] [2025/04/04 10:35:33.451 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.451 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35: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 10:35:33.460 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.497 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.413638ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.500 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.500 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/04 10:35:33.502 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=11.305164ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.517 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.538 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/04 10:35:33.538 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 10:35:33.553 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.553 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [2025/04/04 10:35:33.559 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.582 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.798025ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.585 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.585 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/04 10:35:33.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=6] ["take time"=9.39993ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.599 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.613 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/04 10:35:33.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 10:35:33.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 10:35:33.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.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 10:35: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 10:35:33.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 10:35:33.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [Pipeline] sh [2025/04/04 10:35:33.658 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.583416ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.661 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.661 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/04 10:35:33.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=7] ["take time"=9.486758ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.674 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.689 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/04 10:35:33.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 10:35:33.701 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.701 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2025/04/04 10:35:33.707 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.723 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.77567ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.726 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.726 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/04 10:35:33.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=8] ["take time"=8.483801ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.738 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.749 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/04 10:35:33.749 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2025/04/04 10:35:33.762 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.762 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2025/04/04 10:35:33.767 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.785 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.8965ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.788 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.788 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/04 10:35:33.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=9] ["take time"=8.440258ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.799 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.810 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/04 10:35:33.811 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2025/04/04 10:35:33.825 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.825 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2025/04/04 10:35:33.830 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.851 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.290269ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.854 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.854 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/04 10:35:33.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=10] ["take time"=9.190353ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.867 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.880 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/04 10:35:33.880 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2025/04/04 10:35:33.894 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.894 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2025/04/04 10:35:33.899 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.920 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.275515ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.923 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.923 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/04 10:35:33.925 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=9.580693ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.936 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.940 +00:00] [WARN] [runaway.go:85] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:33.950 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/04 10:35:33.950 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2025/04/04 10:35:33.952 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:33.967 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.967 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 10:35:33.973 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.000 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.138977ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.003 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.003 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/04 10:35:34.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=12] ["take time"=9.855584ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.018 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.035 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/04 10:35:34.035 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 10:35:34.051 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.051 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2025/04/04 10:35:34.057 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.081 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.611909ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.085 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.085 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/04 10:35:34.086 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=9.645403ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.099 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.117 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/04 10:35:34.117 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2025/04/04 10:35:34.131 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2025/04/04 10:35:34.131 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.136 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.156 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.216588ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.160 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.160 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/04 10:35:34.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=14] ["take time"=9.247186ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.172 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.185 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/04 10:35:34.186 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 10:35:34.200 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.200 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35: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 10:35:34.206 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.225 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.212045ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.229 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.229 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/04 10:35:34.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=15] ["take time"=9.203529ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.241 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.254 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/04 10:35:34.254 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 10:35:34.267 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.267 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2025/04/04 10:35:34.273 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.291 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=1.973475ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.294 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.294 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/04 10:35: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=16] ["take time"=8.730718ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.306 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.319 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/04 10:35:34.319 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 10:35:34.332 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.332 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2025/04/04 10:35:34.338 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.358 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.33184ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.362 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.362 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/04 10:35:34.364 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=9.632324ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.375 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.389 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/04 10:35:34.389 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/04 10:35:34.403 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.403 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [2025/04/04 10:35:34.409 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.429 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.165709ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.432 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.432 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/04 10:35:34.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=18] ["take time"=8.816867ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.444 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.457 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/04 10:35:34.457 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/04 10:35:34.473 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.473 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 10:35:34.479 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.506 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.148679ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.509 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.509 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/04 10:35:34.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=19] ["take time"=9.515409ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.522 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.538 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/04 10:35:34.539 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 10:35:34.559 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.559 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 10:35:34.565 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.588 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.365595ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.591 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.591 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/04 10:35:34.593 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=9.569661ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.605 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.618 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/04 10:35:34.618 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 10:35:34.631 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.631 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2025/04/04 10:35:34.637 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.654 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.741898ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.657 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.657 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/04 10:35:34.659 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=8.357728ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.669 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.680 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/04 10:35:34.681 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2025/04/04 10:35:34.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 10:35:34.693 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.693 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/04 10:35:34.698 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.714 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.381056ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.717 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.717 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/04 10:35: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=22] ["take time"=7.821028ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.728 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.741 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/04 10:35:34.741 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/04 10:35:34.756 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.756 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2025/04/04 10:35:34.762 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.786 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.834509ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.791 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.792 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/04 10:35:34.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=23] ["take time"=11.797183ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.807 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.822 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/04 10:35:34.822 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2025/04/04 10:35:34.836 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 10:35:34.836 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.842 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.862 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.094232ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.865 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.865 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/04 10:35:34.867 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=9.353624ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.878 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.891 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/04 10:35:34.892 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 10:35:34.911 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.911 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [2025/04/04 10:35:34.917 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.937 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.146133ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.938 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:35:34.938 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2384] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/04 10:35:34.941 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.941 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/04 10:35:34.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=25] ["take time"=9.438028ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.954 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.967 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/04 10:35:34.967 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/04 10:35:34.980 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.980 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2025/04/04 10:35:34.985 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.003 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.744881ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.006 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.006 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/04 10:35:35.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=26] ["take time"=8.603475ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.018 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.030 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/04 10:35:35.030 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/04 10:35:35.043 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.043 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2025/04/04 10:35:35.048 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.066 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=1.963814ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.070 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.070 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/04 10:35:35.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=27] ["take time"=8.593107ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.082 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.093 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/04 10:35:35.094 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/04 10:35:35.107 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.107 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2025/04/04 10:35:35.112 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.130 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.854037ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.133 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.133 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/04 10:35:35.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=28] ["take time"=8.310136ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.145 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.156 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/04 10:35:35.156 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/04 10:35:35.158 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:35.170 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.170 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2025/04/04 10:35:35.175 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.198 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.273161ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.201 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.201 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/04 10:35:35.203 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=11.347924ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.214 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.227 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/04 10:35:35.227 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/04 10:35:35.241 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.241 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 10:35:35.246 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.267 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.36047ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.270 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.270 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/04 10:35:35.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=30] ["take time"=8.829574ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.282 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.296 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/04 10:35:35.296 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 10:35:35.310 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.310 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 10:35:35.315 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.336 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.382937ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.340 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.340 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/04 10:35:35.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=31] ["take time"=8.759878ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.352 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.365 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/04 10:35:35.366 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 10:35:35.382 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.382 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/04 10:35:35.388 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.415 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.285098ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.418 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.418 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/04 10:35:35.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=32] ["take time"=9.766829ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.432 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.449 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/04 10:35:35.450 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/04 10:35:35.461 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.461 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/04 10:35:35.466 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.482 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.57934ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.485 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.485 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/04 10:35:35.487 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=8.088828ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.497 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.508 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/04 10:35:35.508 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/04 10:35:35.525 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.525 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/04 10:35:35.531 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.552 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.276032ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:35:35.556 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.556 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/04 10:35:35.557 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=8.947546ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.568 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.582 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/04 10:35:35.596 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.596 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2025/04/04 10:35:35.603 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.623 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.156174ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.631 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.631 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/04 10:35:35.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=35] ["take time"=13.225472ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.645 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.658 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/04 10:35:35.658 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/04 10:35:35.672 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.672 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2025/04/04 10:35:35.677 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.698 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=1.882002ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.701 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.701 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/04 10:35:35.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=36] ["take time"=11.122376ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.713 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.725 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/04 10:35:35.725 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/04 10:35:35.738 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.738 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2025/04/04 10:35:35.744 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.762 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.798292ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.765 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.765 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/04 10:35:35.767 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=8.604064ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.776 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.788 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/04 10:35:35.788 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/04 10:35:35.806 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.806 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2025/04/04 10:35:35.812 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.840 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.400229ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.844 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.844 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/04 10:35:35.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=38] ["take time"=10.21862ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.858 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.876 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/04 10:35:35.876 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/04 10:35:35.892 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.892 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2025/04/04 10:35:35.899 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.924 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.079413ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.927 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.927 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/04 10:35:35.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=39] ["take time"=9.559056ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.940 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.956 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/04 10:35:35.957 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/04 10:35:35.974 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.974 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2025/04/04 10:35:35.980 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.007 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.58135ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.011 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.011 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/04 10:35: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=40] ["take time"=10.270571ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.025 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.041 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/04 10:35:36.042 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/04 10:35:36.059 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.059 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35: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 10:35:36.065 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.094 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.591517ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.097 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.097 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/04 10:35:36.098 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=9.983307ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.111 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.128 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/04 10:35:36.128 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 10:35:36.145 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.145 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/04 10:35:36.152 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.182 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.723901ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.185 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.185 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/04 10:35:36.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=42] ["take time"=9.9172ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.199 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.216 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/04 10:35:36.217 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 10:35:36.233 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.233 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2025/04/04 10:35:36.240 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.267 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.195138ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.270 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.270 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/04 10:35:36.271 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=9.765976ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.284 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.300 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/04 10:35:36.301 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2025/04/04 10:35:36.316 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.316 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 10:35:36.322 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.344 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.888132ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.348 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.348 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/04 10:35:36.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=44] ["take time"=9.616199ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.361 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.376 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/04 10:35:36.377 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 10:35:36.392 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.392 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 10:35:36.399 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.427 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.744742ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.431 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.431 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/04 10:35:36.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=45] ["take time"=9.584629ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.444 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.459 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/04 10:35:36.459 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 10:35:36.478 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.478 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2025/04/04 10:35:36.484 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.515 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=3.779483ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.518 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.518 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/04 10:35:36.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=46] ["take time"=10.210147ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.534 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.552 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/04 10:35:36.552 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2025/04/04 10:35:36.568 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.568 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 10:35:36.574 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.598 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.710938ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.601 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.601 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/04 10:35:36.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=47] ["take time"=9.196455ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.614 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.629 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/04 10:35:36.630 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 10:35:36.643 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.643 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2025/04/04 10:35:36.648 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.666 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=1.808122ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.669 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.669 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/04 10:35:36.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=48] ["take time"=8.17289ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.681 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.692 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/04 10:35:36.692 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2025/04/04 10:35:36.706 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.706 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2025/04/04 10:35:36.711 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.730 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.14892ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.734 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.734 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/04 10:35:36.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=49] ["take time"=9.141567ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.746 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.759 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/04 10:35:36.759 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2025/04/04 10:35:36.760 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:36.772 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.772 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/04 10:35:36.777 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.797 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.216489ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.800 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.800 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/04 10:35:36.802 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=9.074646ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.812 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.824 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/04 10:35:36.824 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/04 10:35:36.835 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.835 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/04 10:35:36.840 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.852 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=612.956µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:36.856 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.856 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/04 10:35:36.857 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=7.163043ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.866 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.875 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/04 10:35:36.876 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/04 10:35:36.889 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.889 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2025/04/04 10:35:36.895 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.912 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.769265ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:35:36.916 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.916 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/04 10:35:36.917 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=8.38143ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.928 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.940 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/04 10:35:36.946 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:35:36.946 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:36.946 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:36.946 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:36.956 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.956 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35: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 10:35:36.962 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.987 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.05976ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.991 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.991 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/04 10:35:36.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=53] ["take time"=9.801406ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.005 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.021 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/04 10:35:37.021 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/04 10:35:37.035 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:37.035 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/04 10:35:37.040 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.060 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.128236ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:37.063 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:37.063 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/04 10:35:37.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=54] ["take time"=8.748353ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.075 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.088 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/04 10:35:37.088 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/04 10:35:37.103 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:37.103 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35: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 10:35:37.109 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.129 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.346908ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:37.132 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:37.132 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/04 10:35:37.134 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=8.97725ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.145 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.158 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/04 10:35:37.158 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/04 10:35:37.309 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.367501283s] [2025/04/04 10:35:37.312 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:35:37.312 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:35:37.312 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [] [2025/04/04 10:35:37.312 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:37.312 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:37.312 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:37.312 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=67.684µs] [2025/04/04 10:35:37.312 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=43.661µs] [2025/04/04 10:35:37.312 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=34.611µs] [2025/04/04 10:35:37.312 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=38.62µs] [2025/04/04 10:35:37.313 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=38.981µs] [2025/04/04 10:35:37.313 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=32.011µs] [2025/04/04 10:35:37.313 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=32.301µs] [2025/04/04 10:35:37.313 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=31.286µs] [2025/04/04 10:35:37.313 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=29.329µs] [2025/04/04 10:35:37.313 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=26.703µs] [2025/04/04 10:35:37.313 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:37.313 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:37.314 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:35:37.314 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:35:37.324 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=a9805a27-663b-4f3e-83be-13b4fb2aaadc] ["take time"=12.476095ms] [2025/04/04 10:35:37.324 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:37.325 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1924] [2025/04/04 10:35:37.325 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=a3bfac35-894d-4e53-bc26-93819781f20b] [] [2025/04/04 10:35:37.325 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:35:37.325 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=a3bfac35-894d-4e53-bc26-93819781f20b] [2025/04/04 10:35:37.325 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:35:37.325 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:35:37.325 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:37.325 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:37.325 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:37.325 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:35:37.325 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:37.325 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:37.325 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=a3bfac35-894d-4e53-bc26-93819781f20b] [2025/04/04 10:35:37.325 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:37.325 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=a3bfac35-894d-4e53-bc26-93819781f20b] [2025/04/04 10:35:37.325 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:35:37.325 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:37.327 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:35:37.327 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:35:37.327 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=a3bfac35-894d-4e53-bc26-93819781f20b] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:37.327 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:35:37.327 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:37.327 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:37.327 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:35:37.327 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:37.331 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=19.453621ms] [2025/04/04 10:35:37.331 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404346513542897] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:35:37.341 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:35:37.377 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=764] ["lease id"=223196005d3c9a5a] [2025/04/04 10:35:37.378 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:35:37.495 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=114.575944ms] [2025/04/04 10:35:37.496 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:37.504 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [runWorker=true] [jobVersion=v2] [2025/04/04 10:35:37.504 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:35:37.506 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [lease=3eaa96005d3c99ed] [2025/04/04 10:35:37.506 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:35:37.506 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237167636480/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:35:37.506 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:37.506 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:37.507 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:37.507 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:37.507 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:37.507 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:37.507 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:37.507 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:37.507 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:37.507 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:37.507 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:35:37.507 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:37.507 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e9a4f17e-baa3-46b1-9149-28afa5413561] [2025/04/04 10:35:37.509 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d3c99ed] [ownerID=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [op=none] [2025/04/04 10:35:37.509 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:37.509 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [ownerKey=/tidb/ddl/fg/owner/3eaa96005d3c99ed] [currRev=272] [2025/04/04 10:35:37.509 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:37.509 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e9a4f17e-baa3-46b1-9149-28afa5413561] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:37.510 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:35:37.510 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f1896005d3c9bca] [ownerID=e9a4f17e-baa3-46b1-9149-28afa5413561] [op=none] [2025/04/04 10:35:37.510 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e9a4f17e-baa3-46b1-9149-28afa5413561] [2025/04/04 10:35:37.510 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e9a4f17e-baa3-46b1-9149-28afa5413561] [ownerKey=/tidb/br-stream/owner/6f1896005d3c9bca] [currRev=273] [2025/04/04 10:35:37.511 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d3c99ed] [ownerID=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [op=none] [2025/04/04 10:35:37.511 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [op=none] [2025/04/04 10:35:37.511 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:35:37.517 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:37.518 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:37.518 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:35:37.520 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/223196005d3c9a62] [ownerID=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [op=none] [2025/04/04 10:35:37.520 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:37.520 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [ownerKey=/tidb/bindinfo/owner/223196005d3c9a62] [currRev=274] [2025/04/04 10:35:37.526 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/04 10:35:37.529 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:35:37.530 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:37.537 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:37.545 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:37.545 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:37.545 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:37.545 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:35:37.545 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:37.545 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:35:37.545 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:35:37.545 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:35:37.545 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:35:37.546 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:37.546 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:37.547 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:37.547 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:37.547 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:37.547 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:37.547 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:37.547 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:37.547 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:35:37.547 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:35:37.547 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:37.547 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:37.547 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/04 10:35:37.547 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:37.547 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:37.547 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:37.547 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:37.549 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f1896005d3c9bd1] [ownerID=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [op=none] [2025/04/04 10:35:37.549 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:37.549 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [ownerKey=/tidb/stats/owner/6f1896005d3c9bd1] [currRev=275] [2025/04/04 10:35:37.549 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=52] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:35:37.551 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/93529515-c03a-48f3-a41b-96ef3791da93] [2025/04/04 10:35:37.552 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [ttl-worker=task-manager] [ttl-worker=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [originalCount=0] [newCount=4] [2025/04/04 10:35:37.552 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [ttl-worker=task-manager] [ttl-worker=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [originalCount=0] [newCount=4] [2025/04/04 10:35:37.552 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:37.554 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:35:37.560 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:37.560 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:35:37.560 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743762937560831631 [2025/04/04 10:35:37.563 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:35:37.571 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=25.318779ms] [2025/04/04 10:35:37.571 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:35:37.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:37.581 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743762937583152834 [2025/04/04 10:35:37.596 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 10:35:37.609 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:37.609 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index i(a))"] [2025/04/04 10:35:37.615 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.619 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 112, Table Name: t)"] [2025/04/04 10:35:37.638 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=1.534058ms] [gotSchemaVersion=56] [phyTblIDs="[112]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:37.641 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/04 10:35:37.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=56] ["take time"=8.50358ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.654 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.670 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/04 10:35:37.670 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=test] [sql="create table t(a int, index i(a))"] [user=] [2025/04/04 10:35:38.519 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:35:38.519 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:38.520 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:38.520 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:38.552 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:35:38.552 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:35:38.552 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/93529515-c03a-48f3-a41b-96ef3791da93] [watcherID=f0e249a6-8a69-4d56-aa2c-ff7c8cf15a67] [2025/04/04 10:35:38.560 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:35:38.565 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=16] [new=52] [2025/04/04 10:35:38.565 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:35:38.565 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:35:38.565 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:35:38.565 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:35:38.682 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:35:38.648 +0000 UTC"] [2025/04/04 10:35:38.697 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:114, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:35:38.648000'"] [2025/04/04 10:35:38.697 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:38.702 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:38.707 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=114] [2025/04/04 10:35:38.714 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:38.784 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=100ms] [prevState=normal] [newState=adapting] [2025/04/04 10:35:38.887 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=132.504µs] [gotSchemaVersion=57] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:35:38.890 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=57] [2025/04/04 10:35:38.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=57] ["take time"=6.709625ms] [job="ID:114, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:38.901 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:38.901 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=10] ["first split key"=6d44423a3200000000fb0000000000000068] [2025/04/04 10:35:38.905 +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 10:35:38.905 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[28,32]"] [2025/04/04 10:35:38.905 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=10] ["first split key"=6d4442730000000000fa0000000000000068] [2025/04/04 10:35:38.911 +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 10:35:38.911 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[36,40]"] [2025/04/04 10:35: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"=748000000000000000] [2025/04/04 10:35:38.913 +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 10:35:38.913 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[44,48]"] [2025/04/04 10:35:38.913 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000005] [2025/04/04 10:35:38.918 +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 10:35:38.918 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[52,56]"] [2025/04/04 10:35:38.918 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000007] [2025/04/04 10:35:38.923 +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 10:35:38.923 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[60,64]"] [2025/04/04 10:35:38.923 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000009] [2025/04/04 10:35:38.928 +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 10:35:38.928 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[68,72]"] [2025/04/04 10:35:38.928 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000000b] [2025/04/04 10:35:38.933 +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 10:35:38.933 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[76,80]"] [2025/04/04 10:35:38.933 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000000d] [2025/04/04 10:35:38.938 +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 10:35:38.938 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[84,88]"] [2025/04/04 10:35:38.938 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000000f] [2025/04/04 10:35:38.943 +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 10:35:38.943 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[92,96]"] [2025/04/04 10:35:38.943 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000011] [2025/04/04 10:35:38.948 +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 10:35:38.949 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[100,104]"] [2025/04/04 10:35:38.949 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000013] [2025/04/04 10:35:38.953 +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 10:35:38.954 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[108,112]"] [2025/04/04 10:35:38.954 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000015] [2025/04/04 10:35:38.959 +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 10:35:38.959 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[116,120]"] [2025/04/04 10:35:38.959 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000001f] [2025/04/04 10:35:38.963 +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 10:35:38.963 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[124,128]"] [2025/04/04 10:35: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"=748000000000000023] [2025/04/04 10:35:38.968 +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 10:35:38.968 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[132,136]"] [2025/04/04 10:35: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"=748000000000000025] [2025/04/04 10:35:38.973 +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 10:35:38.973 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[140,144]"] [2025/04/04 10:35: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"=748000000000000027] [2025/04/04 10:35:38.978 +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 10:35:38.978 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[148,152]"] [2025/04/04 10:35: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"=74800000000000002b] [2025/04/04 10:35:38.983 +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 10:35:38.984 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[156,160]"] [2025/04/04 10:35:38.984 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000002d] [2025/04/04 10:35:38.989 +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 10:35:38.989 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[164,168]"] [2025/04/04 10:35:38.989 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000033] [2025/04/04 10:35:38.994 +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 10:35:38.994 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[172,176]"] [2025/04/04 10:35:38.994 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000035] [2025/04/04 10:35:38.999 +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 10:35:38.999 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[180,184]"] [2025/04/04 10:35:38.999 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000037] [2025/04/04 10:35:39.004 +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 10:35:39.004 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[188,192]"] [2025/04/04 10:35:39.004 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000039] [2025/04/04 10:35:39.009 +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 10:35:39.009 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[196,200]"] [2025/04/04 10:35:39.009 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000003b] [2025/04/04 10:35:39.013 +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 10:35:39.013 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[204,208]"] [2025/04/04 10:35:39.013 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000041] [2025/04/04 10:35:39.018 +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 10:35:39.018 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[212,216]"] [2025/04/04 10:35:39.018 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000043] [2025/04/04 10:35:39.023 +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 10:35:39.023 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[220,224]"] [2025/04/04 10:35:39.023 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000047] [2025/04/04 10:35:39.028 +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 10:35:39.028 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[228,232]"] [2025/04/04 10:35:39.029 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000049] [2025/04/04 10:35:39.033 +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 10:35:39.034 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[236,240]"] [2025/04/04 10:35:39.034 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000004d] [2025/04/04 10:35:39.039 +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 10:35:39.039 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[244,248]"] [2025/04/04 10:35:39.039 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000004f] [2025/04/04 10:35:39.044 +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 10:35:39.044 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[252,256]"] [2025/04/04 10:35:39.044 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000051] [2025/04/04 10:35:39.049 +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 10:35:39.049 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[260,264]"] [2025/04/04 10:35:39.049 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000053] [2025/04/04 10:35:39.054 +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 10:35:39.054 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[268,272]"] [2025/04/04 10:35:39.054 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000055] [2025/04/04 10:35:39.059 +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 10:35:39.059 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[276,280]"] [2025/04/04 10:35:39.060 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000057] [2025/04/04 10:35:39.064 +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 10:35:39.064 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[284,288]"] [2025/04/04 10:35:39.064 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000059] [2025/04/04 10:35:39.066 +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 10:35:39.066 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[292,296]"] [2025/04/04 10:35:39.066 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000005b] [2025/04/04 10:35:39.071 +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 10:35:39.071 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[300,304]"] [2025/04/04 10:35:39.071 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000005d] [2025/04/04 10:35:39.076 +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 10:35:39.076 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[308,312]"] [2025/04/04 10:35:39.076 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000005f] [2025/04/04 10:35:39.081 +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 10:35:39.082 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[316,320]"] [2025/04/04 10:35:39.082 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000061] [2025/04/04 10:35:39.087 +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 10:35:39.087 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[324,328]"] [2025/04/04 10:35:39.087 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000063] [2025/04/04 10:35:39.092 +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 10:35:39.092 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[332,336]"] [2025/04/04 10:35:39.092 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000065] [2025/04/04 10:35:39.097 +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 10:35:39.097 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[340,344]"] [2025/04/04 10:35:39.097 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000006b] [2025/04/04 10:35:39.102 +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 10:35:39.102 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[348,352]"] [2025/04/04 10:35:39.103 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000006d] [2025/04/04 10:35:39.108 +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 10:35:39.108 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[356,360]"] [2025/04/04 10:35:39.108 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000006f] [2025/04/04 10:35:39.113 +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 10:35:39.113 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[364,368]"] [2025/04/04 10:35:39.113 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:35:39.117 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:35:39.118 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.686658ms] ["completed regions"=1] [2025/04/04 10:35:39.118 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:35:39.122 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:35:39.123 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.727908ms] ["completed regions"=1] [2025/04/04 10:35:39.124 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:35:39.127 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:35:39.128 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=3.867222ms] ["completed regions"=1] [2025/04/04 10:35:39.128 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:35:39.131 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:35:39.132 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.594265ms] ["completed regions"=1] [2025/04/04 10:35:39.132 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:35:39.135 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:35:39.136 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.742501ms] ["completed regions"=1] [2025/04/04 10:35:39.136 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:35:39.139 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:35:39.140 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.623643ms] ["completed regions"=1] [2025/04/04 10:35:39.140 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:35:39.143 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:35:39.144 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.488414ms] ["completed regions"=1] [2025/04/04 10:35:39.144 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:35:39.147 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:35:39.147 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.369757ms] ["completed regions"=1] [2025/04/04 10:35:39.147 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:35:39.150 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:35:39.151 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.241187ms] ["completed regions"=1] [2025/04/04 10:35:39.151 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:35:39.154 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:35:39.155 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.381406ms] ["completed regions"=1] [2025/04/04 10:35:39.155 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:35:39.158 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:35:39.158 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.234245ms] ["completed regions"=1] [2025/04/04 10:35:39.158 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:35:39.161 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:35:39.162 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.125312ms] ["completed regions"=1] [2025/04/04 10:35:39.162 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:35:39.165 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:35:39.166 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.645063ms] ["completed regions"=1] [2025/04/04 10:35:39.166 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:35:39.169 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:35:39.170 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.55798ms] ["completed regions"=1] [2025/04/04 10:35:39.170 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:35:39.172 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:35:39.173 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.021124ms] ["completed regions"=1] [2025/04/04 10:35:39.173 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:35:39.176 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:35:39.177 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.00778ms] ["completed regions"=1] [2025/04/04 10:35:39.177 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:35:39.179 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:35:39.180 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=2.982812ms] ["completed regions"=1] [2025/04/04 10:35:39.180 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:35:39.182 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:35:39.183 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=2.794456ms] ["completed regions"=1] [2025/04/04 10:35:39.183 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:35:39.185 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:35:39.186 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=2.819148ms] ["completed regions"=1] [2025/04/04 10:35:39.186 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:35:39.188 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:35:39.189 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=2.738186ms] ["completed regions"=1] [2025/04/04 10:35:39.189 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:35:39.192 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:35:39.192 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.784ms] ["completed regions"=1] [2025/04/04 10:35:39.193 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:35:39.195 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:35:39.195 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.641524ms] ["completed regions"=1] [2025/04/04 10:35:39.195 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:35:39.198 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:35:39.198 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.617421ms] ["completed regions"=1] [2025/04/04 10:35:39.198 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:35:39.200 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:35:39.201 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.505703ms] ["completed regions"=1] [2025/04/04 10:35:39.201 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:35:39.203 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:35:39.204 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.539611ms] ["completed regions"=1] [2025/04/04 10:35:39.204 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:35:39.206 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:35:39.207 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.664116ms] ["completed regions"=1] [2025/04/04 10:35:39.207 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:35:39.209 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:35:39.210 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.451347ms] ["completed regions"=1] [2025/04/04 10:35:39.210 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:35:39.212 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:35:39.213 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.336419ms] ["completed regions"=1] [2025/04/04 10:35:39.213 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:35:39.215 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:35:39.216 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.306969ms] ["completed regions"=1] [2025/04/04 10:35:39.216 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:35:39.217 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:35:39.218 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.301866ms] ["completed regions"=1] [2025/04/04 10:35:39.218 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:35:39.220 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:35:39.221 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.163778ms] ["completed regions"=1] [2025/04/04 10:35:39.221 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:35:39.223 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:35:39.224 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.276918ms] ["completed regions"=1] [2025/04/04 10:35:39.224 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:35:39.225 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:35:39.226 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.02546ms] ["completed regions"=1] [2025/04/04 10:35:39.226 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:35:39.227 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:35:39.228 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=1.95329ms] ["completed regions"=1] [2025/04/04 10:35:39.228 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:35:39.230 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:35:39.231 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=1.986175ms] ["completed regions"=1] [2025/04/04 10:35:39.231 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:35:39.232 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:35:39.233 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=1.90788ms] ["completed regions"=1] [2025/04/04 10:35:39.233 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:35:39.234 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:35:39.235 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=1.740202ms] ["completed regions"=1] [2025/04/04 10:35:39.235 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:35:39.236 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:35:39.237 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=1.805828ms] ["completed regions"=1] [2025/04/04 10:35:39.237 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:35:39.238 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:35:39.239 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.798833ms] ["completed regions"=1] [2025/04/04 10:35:39.239 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:35:39.240 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:35:39.241 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.663333ms] ["completed regions"=1] [2025/04/04 10:35:39.241 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:35:39.242 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:35:39.243 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.641964ms] ["completed regions"=1] [2025/04/04 10:35:39.243 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:35:39.244 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:35:39.245 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.506614ms] ["completed regions"=1] [2025/04/04 10:35:39.245 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:35:39.246 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/04 10:35:39.247 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=1.941256ms] ["completed regions"=1] [2025/04/04 10:35:39.254 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=114] [2025/04/04 10:35:39.260 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:39.261 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:35:39.265 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:35:39.266 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=43] [] [2025/04/04 10:35:39.266 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.696791ms] ["completed regions"=1] [2025/04/04 10:35:39.266 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:35:39.269 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:35:39.270 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=43] [] [2025/04/04 10:35:39.270 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.044766ms] ["completed regions"=1] [2025/04/04 10:35:39.270 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:35:39.273 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:35:39.274 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=43] [] [2025/04/04 10:35:39.274 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=3.835021ms] ["completed regions"=1] [2025/04/04 10:35:39.275 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:35:39.278 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:35:39.278 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=43] [] [2025/04/04 10:35:39.278 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.655892ms] ["completed regions"=1] [2025/04/04 10:35:39.279 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:35:39.282 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:35:39.282 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=43] [] [2025/04/04 10:35:39.283 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.735374ms] ["completed regions"=1] [2025/04/04 10:35:39.283 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:35:39.286 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:35:39.286 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=43] [] [2025/04/04 10:35:39.287 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.640774ms] ["completed regions"=1] [2025/04/04 10:35:39.287 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:35:39.289 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:35:39.290 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=43] [] [2025/04/04 10:35:39.290 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.615463ms] ["completed regions"=1] [2025/04/04 10:35:39.291 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:35:39.293 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:35:39.294 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=43] [] [2025/04/04 10:35:39.294 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.444693ms] ["completed regions"=1] [2025/04/04 10:35:39.294 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:35:39.297 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:35:39.298 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=43] [] [2025/04/04 10:35:39.298 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.416912ms] ["completed regions"=1] [2025/04/04 10:35:39.298 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:35:39.301 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:35:39.302 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=43] [] [2025/04/04 10:35:39.302 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.542301ms] ["completed regions"=1] [2025/04/04 10:35:39.302 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:35:39.305 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:35:39.306 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=43] [] [2025/04/04 10:35:39.306 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.375528ms] ["completed regions"=1] [2025/04/04 10:35:39.306 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:35:39.308 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:35:39.309 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=43] [] [2025/04/04 10:35:39.309 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.292661ms] ["completed regions"=1] [2025/04/04 10:35:39.309 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:35:39.312 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:35:39.313 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=43] [] [2025/04/04 10:35:39.313 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.375231ms] ["completed regions"=1] [2025/04/04 10:35:39.313 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:35:39.316 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:35:39.317 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=43] [] [2025/04/04 10:35:39.317 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.23655ms] ["completed regions"=1] [2025/04/04 10:35:39.317 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:35:39.319 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:35:39.320 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=43] [] [2025/04/04 10:35:39.320 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.178958ms] ["completed regions"=1] [2025/04/04 10:35:39.320 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:35:39.323 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:35:39.324 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=43] [] [2025/04/04 10:35:39.324 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.066079ms] ["completed regions"=1] [2025/04/04 10:35:39.324 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:35:39.326 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:35:39.327 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=43] [] [2025/04/04 10:35:39.327 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=2.99182ms] ["completed regions"=1] [2025/04/04 10:35:39.327 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:35:39.329 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:35:39.330 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=43] [] [2025/04/04 10:35:39.330 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=2.98668ms] ["completed regions"=1] [2025/04/04 10:35:39.330 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:35:39.333 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:35:39.333 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=43] [] [2025/04/04 10:35:39.334 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=2.86288ms] ["completed regions"=1] [2025/04/04 10:35:39.334 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:35:39.336 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:35:39.337 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=43] [] [2025/04/04 10:35:39.337 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.222644ms] ["completed regions"=1] [2025/04/04 10:35:39.337 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:35:39.339 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:35:39.340 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=43] [] [2025/04/04 10:35:39.340 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.859669ms] ["completed regions"=1] [2025/04/04 10:35:39.340 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:35:39.343 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:35:39.343 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=43] [] [2025/04/04 10:35:39.343 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.812713ms] ["completed regions"=1] [2025/04/04 10:35:39.344 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:35:39.346 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:35:39.347 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=43] [] [2025/04/04 10:35:39.347 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.847779ms] ["completed regions"=1] [2025/04/04 10:35:39.347 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:35:39.349 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:35:39.350 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=43] [] [2025/04/04 10:35:39.350 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.83932ms] ["completed regions"=1] [2025/04/04 10:35:39.350 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:35:39.352 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:35:39.353 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=43] [] [2025/04/04 10:35:39.353 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.653701ms] ["completed regions"=1] [2025/04/04 10:35:39.353 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:35:39.355 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:35:39.356 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=43] [] [2025/04/04 10:35:39.356 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.440168ms] ["completed regions"=1] [2025/04/04 10:35:39.356 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:35:39.357 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:35:39.358 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=43] [] [2025/04/04 10:35:39.358 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.467773ms] ["completed regions"=1] [2025/04/04 10:35:39.359 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:35:39.360 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:35:39.361 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=43] [] [2025/04/04 10:35:39.361 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.473015ms] ["completed regions"=1] [2025/04/04 10:35:39.361 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:35:39.363 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:35:39.365 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=43] [] [2025/04/04 10:35:39.365 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.851991ms] ["completed regions"=1] [2025/04/04 10:35:39.365 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:35:39.366 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:35:39.367 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=43] [] [2025/04/04 10:35:39.367 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.423771ms] ["completed regions"=1] [2025/04/04 10:35:39.367 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:35:39.369 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:35:39.370 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=43] [] [2025/04/04 10:35:39.370 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.285499ms] ["completed regions"=1] [2025/04/04 10:35:39.370 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:35:39.372 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:35:39.373 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=43] [] [2025/04/04 10:35:39.373 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.49898ms] ["completed regions"=1] [2025/04/04 10:35:39.373 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:35:39.374 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:35:39.375 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=43] [] [2025/04/04 10:35:39.375 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.106367ms] ["completed regions"=1] [2025/04/04 10:35:39.375 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:35:39.377 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:35:39.378 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=43] [] [2025/04/04 10:35:39.378 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.128115ms] ["completed regions"=1] [2025/04/04 10:35:39.378 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:35:39.379 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:35:39.380 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=43] [] [2025/04/04 10:35:39.380 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.094605ms] ["completed regions"=1] [2025/04/04 10:35:39.380 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:35:39.382 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:35:39.383 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=43] [] [2025/04/04 10:35:39.383 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=1.95041ms] ["completed regions"=1] [2025/04/04 10:35:39.383 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:35:39.384 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:35:39.385 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=43] [] [2025/04/04 10:35:39.385 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=1.865181ms] ["completed regions"=1] [2025/04/04 10:35:39.385 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:35:39.386 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:35:39.387 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=43] [] [2025/04/04 10:35:39.387 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=1.766481ms] ["completed regions"=1] [2025/04/04 10:35:39.387 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:35:39.388 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:35:39.389 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=43] [] [2025/04/04 10:35:39.389 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.816878ms] ["completed regions"=1] [2025/04/04 10:35:39.389 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:35:39.390 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:35:39.391 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=43] [] [2025/04/04 10:35:39.391 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.931995ms] ["completed regions"=1] [2025/04/04 10:35:39.391 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:35:39.392 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:35:39.393 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=43] [] [2025/04/04 10:35:39.393 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.736014ms] ["completed regions"=1] [2025/04/04 10:35:39.393 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:35:39.394 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:35:39.395 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=43] [] [2025/04/04 10:35:39.395 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.597717ms] ["completed regions"=1] [2025/04/04 10:35:39.395 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:35:39.396 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/04 10:35:39.398 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=43] ["total regions"=43] [] [2025/04/04 10:35:39.399 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=2.80888ms] ["completed regions"=1] [2025/04/04 10:35:39.399 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:35:39.413 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 10:35:39.507 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:35:39.548 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=135.385417ms] [2025/04/04 10:35:39.548 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:39.553 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=58] [2025/04/04 10:35:39.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=58] ["take time"=144.521604ms] [job="ID:114, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:39.631 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:39.646 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=114] [2025/04/04 10:35:39.647 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.965894691\n# Parse_time: 0.000118207\n# Compile_time: 0.00034174\n# Rewrite_time: 0.000004268\n# Optimize_time: 0.000083405\n# Wait_TS: 0.001013428\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-04 10:35:38.648000';"] [2025/04/04 10:35:39.650 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=i] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/04 10:35:39.671 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [] [2025/04/04 10:35:39.671 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:35:39.671 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:39.671 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:35:39.671 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:39.671 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:39.671 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=40.518µs] [2025/04/04 10:35:39.672 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=46.291µs] [2025/04/04 10:35:39.672 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:39.672 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:39.673 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:35:39.673 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:35:39.674 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=a9805a27-663b-4f3e-83be-13b4fb2aaadc] ["take time"=2.911537ms] [2025/04/04 10:35:39.674 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:39.674 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:35:39.674 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:35:39.674 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/93529515-c03a-48f3-a41b-96ef3791da93] [watcherID=f0e249a6-8a69-4d56-aa2c-ff7c8cf15a67] [2025/04/04 10:35:39.674 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/93529515-c03a-48f3-a41b-96ef3791da93] [2025/04/04 10:35:39.674 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [ttl-worker=task-manager] [ttl-worker=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [originalCount=4] [newCount=0] [2025/04/04 10:35:39.674 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:39.674 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:39.674 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:39.674 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:39.674 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [ttl-worker=task-manager] [ttl-worker=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [originalCount=4] [newCount=0] [2025/04/04 10:35:39.677 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:39.677 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:39.677 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:39.677 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:39.679 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:39.679 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=764] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:35:39.680 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:35:39.680 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:35:39.680 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:39.680 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:39.680 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:35:39.680 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:35:39.680 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:35:39.680 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:39.680 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:35:39.680 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:35:39.680 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:39.680 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:39.680 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:39.680 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:39.680 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:35:39.680 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:35:39.680 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:39.680 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e9a4f17e-baa3-46b1-9149-28afa5413561] [] [2025/04/04 10:35:39.680 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:39.681 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e9a4f17e-baa3-46b1-9149-28afa5413561] [2025/04/04 10:35:39.681 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:39.680 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:39.680 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:35:39.681 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:35:39.681 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:35:39.680 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:39.681 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:39.681 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:35:39.680 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:39.680 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:39.681 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:35:39.680 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:39.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:39.681 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:39.681 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:39.681 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:39.680 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:39.681 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e9a4f17e-baa3-46b1-9149-28afa5413561] [2025/04/04 10:35:39.681 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e9a4f17e-baa3-46b1-9149-28afa5413561] [2025/04/04 10:35:39.681 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:39.681 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:39.681 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:39.682 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:35:39.682 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:35:39.682 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:39.682 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e9a4f17e-baa3-46b1-9149-28afa5413561] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:39.682 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:35:39.682 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:39.682 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:35:39.682 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:35:39.682 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [] [2025/04/04 10:35:39.682 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:39.682 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:39.682 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:39.682 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:35:39.682 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:39.683 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [2025/04/04 10:35:39.683 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [error="context canceled"] [2025/04/04 10:35:39.683 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=a9805a27-663b-4f3e-83be-13b4fb2aaadc] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:39.702 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:35:39.702 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:39.744 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:35:39.744 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:39.753 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=82.388164ms] [2025/04/04 10:35:39.756 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:39.756 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:39.756 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:39.756 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:39.756 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:39.756 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:39.756 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:39.756 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:39.756 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:39.756 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:39.756 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:39.756 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:39.757 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashback (7.09s) === NAME === RUN TestPrepareFlashbackFailed [2025/04/04 10:35:39.763 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:39.764 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:39.765 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404346513542897] [2025/04/04 10:35:39.765 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:39.765 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:39.766 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:39.766 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:39.766 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:39.766 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:39.766 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:39.766 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:39.770 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:35:39.775 +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 10:35:39.775 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:39.776 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:39.784 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404346513542897] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:35:39.794 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:35:39.828 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1464] ["lease id"=3eaa96005d3c9a83] [2025/04/04 10:35:39.830 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:35:39.958 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=58] ["elapsed time"=125.431112ms] [2025/04/04 10:35:39.958 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:39.962 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:35:39.968 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=3aceed30-a080-42c2-824b-15caccce4a64] [runWorker=true] [jobVersion=v2] [2025/04/04 10:35:39.968 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:35:39.969 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=3aceed30-a080-42c2-824b-15caccce4a64] [2025/04/04 10:35:39.970 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:35:39.970 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237167763456/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:35:39.971 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:39.971 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:39.971 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:39.971 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:39.971 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:39.971 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:39.971 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:39.971 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:35:39.971 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:39.971 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:39.971 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:39.971 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:39.971 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=990b25ae-504b-4614-8732-379f1900bfe3] [2025/04/04 10:35:39.973 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d3c9beb] [ownerID=3aceed30-a080-42c2-824b-15caccce4a64] [op=none] [2025/04/04 10:35:39.973 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=3aceed30-a080-42c2-824b-15caccce4a64] [2025/04/04 10:35:39.973 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=3aceed30-a080-42c2-824b-15caccce4a64] [ownerKey=/tidb/ddl/fg/owner/6f1896005d3c9beb] [currRev=308] [2025/04/04 10:35:39.973 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:39.973 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=990b25ae-504b-4614-8732-379f1900bfe3] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:39.974 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:35:39.974 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/223196005d3c9a7a] [ownerID=990b25ae-504b-4614-8732-379f1900bfe3] [op=none] [2025/04/04 10:35:39.974 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=990b25ae-504b-4614-8732-379f1900bfe3] [2025/04/04 10:35:39.974 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=990b25ae-504b-4614-8732-379f1900bfe3] [ownerKey=/tidb/br-stream/owner/223196005d3c9a7a] [currRev=309] [2025/04/04 10:35:39.975 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d3c9beb] [ownerID=3aceed30-a080-42c2-824b-15caccce4a64] [op=none] [2025/04/04 10:35:39.975 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=3aceed30-a080-42c2-824b-15caccce4a64] [op=none] [2025/04/04 10:35:39.975 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:35:39.981 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=3aceed30-a080-42c2-824b-15caccce4a64] [2025/04/04 10:35:39.982 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:39.982 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:35:39.993 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:40.000 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:40.009 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:40.009 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:40.009 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:35:40.009 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:40.009 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:35:40.009 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:40.009 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:35:40.009 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:35:40.009 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:35:40.010 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:40.010 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=3aceed30-a080-42c2-824b-15caccce4a64] [2025/04/04 10:35:40.011 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:40.011 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:40.011 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:40.011 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:40.011 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:40.011 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:35:40.011 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:40.011 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:35:40.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:40.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:40.012 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:35:40.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:40.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:40.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:40.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:40.014 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:35:40.014 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa96005d3c9a8d] [ownerID=3aceed30-a080-42c2-824b-15caccce4a64] [op=none] [2025/04/04 10:35:40.014 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=3aceed30-a080-42c2-824b-15caccce4a64] [2025/04/04 10:35:40.014 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=3aceed30-a080-42c2-824b-15caccce4a64] [ownerKey=/tidb/stats/owner/3eaa96005d3c9a8d] [currRev=311] [2025/04/04 10:35:40.015 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/a797be36-94d7-4f9a-a567-40f6e5729803] [2025/04/04 10:35:40.016 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=3aceed30-a080-42c2-824b-15caccce4a64] [ttl-worker=task-manager] [ttl-worker=3aceed30-a080-42c2-824b-15caccce4a64] [originalCount=0] [newCount=4] [2025/04/04 10:35:40.016 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=3aceed30-a080-42c2-824b-15caccce4a64] [ttl-worker=task-manager] [ttl-worker=3aceed30-a080-42c2-824b-15caccce4a64] [originalCount=0] [newCount=4] [2025/04/04 10:35:40.016 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=3aceed30-a080-42c2-824b-15caccce4a64] [2025/04/04 10:35:40.019 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:35:40.023 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:40.023 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:35:40.023 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743762940023804517 [2025/04/04 10:35:40.027 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:35:40.033 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=22.896609ms] [2025/04/04 10:35:40.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:40.033 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:35:40.045 +00:00] [INFO] [set.go:172] ["set global var"] [conn=3] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:35:40.065 +00:00] [INFO] [set.go:172] ["set global var"] [conn=3] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:35:40.069 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=58] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:35:40.081 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:40.081 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:115, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:35: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:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.187 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=85.010992ms] [2025/04/04 10:35:40.187 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/04 10:35:40.187 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:40.191 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=59] [2025/04/04 10:35:40.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=59] ["take time"=92.349693ms] [job="ID:115, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.202 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=3] [job="ID:115, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.217 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=1.952399ms] [gotSchemaVersion=60] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:40.221 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=60] [2025/04/04 10:35:40.222 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=8.587038ms] [job="ID:115, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.230 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=3] [job="ID:115, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.236 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 112, Old Table Name: t)"] [2025/04/04 10:35:40.249 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=977.325µs] [gotSchemaVersion=61] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:40.252 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=61] [2025/04/04 10:35:40.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=61] ["take time"=7.823581ms] [job="ID:115, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.262 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=115] [tableIDs="[112]"] [comment="drop table: table ID"] [2025/04/04 10:35:40.268 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=115] [jobType="drop table"] [2025/04/04 10:35:40.269 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=115] [conn=3] [job="ID:115, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.286 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/04 10:35:40.286 +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: 1743762940286979873 [2025/04/04 10:35:40.300 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=61] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 10:35:40.311 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:40.311 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:117, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index i(a))"] [2025/04/04 10:35:40.317 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=4] [job="ID:117, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.321 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 116, Table Name: t)"] [2025/04/04 10:35:40.336 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.572799ms] [gotSchemaVersion=62] [phyTblIDs="[116]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:40.339 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=62] [2025/04/04 10:35:40.341 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=8.43641ms] [job="ID:117, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.352 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=117] [conn=4] [job="ID:117, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.363 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/04 10:35:40.363 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=62] [cur_db=test] [sql="create table t(a int, index i(a))"] [user=] [2025/04/04 10:35:40.982 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:35:40.982 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:40.982 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:40.982 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:41.016 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:35:41.016 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:35:41.016 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/a797be36-94d7-4f9a-a567-40f6e5729803] [watcherID=e6061118-53ca-41a7-8961-21369d4d261b] [2025/04/04 10:35:41.023 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:35:41.028 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:35:41.028 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:35:41.028 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:35:41.028 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:35:41.378 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:35:41.348 +0000 UTC"] [2025/04/04 10:35:41.390 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:41.390 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:118, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:35:41.348000'"] [2025/04/04 10:35:41.396 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=4] [job="ID:118, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.401 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=118] [2025/04/04 10:35:41.408 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=4] [job="ID:118, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.505 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=155ms] [prevState=unknown(0)] [newState=adapting] [2025/04/04 10:35:41.533 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=123.345µs] [gotSchemaVersion=63] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:35:41.536 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=118] [version=63] [2025/04/04 10:35:41.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=63] ["take time"=7.137066ms] [job="ID:118, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.547 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=4] [job="ID:118, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.580 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:35:41.583 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:35:41.588 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:35:41.590 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=9.554857ms] ["completed regions"=1] [2025/04/04 10:35:41.590 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:35:41.594 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:35:41.598 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:35:41.599 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=8.620021ms] ["completed regions"=1] [2025/04/04 10:35:41.599 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:35:41.602 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:35:41.606 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:35:41.607 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=7.944549ms] ["completed regions"=1] [2025/04/04 10:35:41.607 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:35:41.611 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:35:41.615 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:35:41.616 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=8.316524ms] ["completed regions"=1] [2025/04/04 10:35:41.616 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:35:41.620 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:35:41.623 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:35:41.624 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=6.878123ms] ["completed regions"=1] [2025/04/04 10:35:41.624 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:35:41.627 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:35:41.631 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:35:41.632 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=7.600764ms] ["completed regions"=1] [2025/04/04 10:35:41.632 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:35:41.635 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:35:41.639 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:35:41.640 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=7.98523ms] ["completed regions"=1] [2025/04/04 10:35:41.640 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:35:41.643 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:35:41.648 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:35:41.649 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=8.95707ms] ["completed regions"=1] [2025/04/04 10:35:41.649 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:35:41.652 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:35:41.657 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:35:41.658 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=7.982362ms] ["completed regions"=1] [2025/04/04 10:35:41.658 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:35:41.661 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:35:41.665 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:35:41.666 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=7.750776ms] ["completed regions"=1] [2025/04/04 10:35:41.666 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:35:41.669 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:35:41.673 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:35:41.674 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=7.593634ms] ["completed regions"=1] [2025/04/04 10:35:41.674 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:35:41.677 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:35:41.681 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:35:41.682 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=7.260976ms] ["completed regions"=1] [2025/04/04 10:35:41.682 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:35:41.685 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:35:41.689 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:35:41.690 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=7.436352ms] ["completed regions"=1] [2025/04/04 10:35:41.690 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:35:41.692 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:35:41.696 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:35:41.697 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=7.207651ms] ["completed regions"=1] [2025/04/04 10:35:41.697 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:35:41.700 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:35:41.704 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:35:41.705 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=6.740036ms] ["completed regions"=1] [2025/04/04 10:35:41.705 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:35:41.707 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:35:41.710 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:35:41.711 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=6.135583ms] ["completed regions"=1] [2025/04/04 10:35:41.711 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:35:41.714 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:35:41.718 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:35:41.719 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=7.193929ms] ["completed regions"=1] [2025/04/04 10:35:41.719 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:35:41.721 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:35:41.724 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:35:41.725 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=6.12494ms] ["completed regions"=1] [2025/04/04 10:35:41.725 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:35:41.728 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:35:41.732 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:35:41.733 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=7.199409ms] ["completed regions"=1] [2025/04/04 10:35:41.733 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:35:41.735 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:35:41.739 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:35:41.740 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=7.033346ms] ["completed regions"=1] [2025/04/04 10:35:41.740 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:35:41.743 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:35:41.747 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:35:41.748 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=6.883729ms] ["completed regions"=1] [2025/04/04 10:35:41.748 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:35:41.750 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:35:41.754 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:35:41.755 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=7.180237ms] ["completed regions"=1] [2025/04/04 10:35:41.755 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:35:41.757 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:35:41.761 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:35:41.762 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=6.835486ms] ["completed regions"=1] [2025/04/04 10:35:41.762 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:35:41.765 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:35:41.768 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:35:41.769 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=5.864314ms] ["completed regions"=1] [2025/04/04 10:35:41.769 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:35:41.771 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:35:41.775 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:35:41.776 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=6.995629ms] ["completed regions"=1] [2025/04/04 10:35:41.776 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:35:41.778 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:35:41.781 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:35:41.782 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=5.741954ms] ["completed regions"=1] [2025/04/04 10:35:41.782 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:35:41.784 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:35:41.787 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:35:41.788 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=5.613711ms] ["completed regions"=1] [2025/04/04 10:35:41.788 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:35:41.790 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:35:41.794 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:35:41.794 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=5.787021ms] ["completed regions"=1] [2025/04/04 10:35:41.795 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:35:41.796 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:35:41.800 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:35:41.801 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=6.530341ms] ["completed regions"=1] [2025/04/04 10:35:41.802 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:35:41.803 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:35:41.807 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:35:41.808 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=6.497034ms] ["completed regions"=1] [2025/04/04 10:35:41.808 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:35:41.810 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:35:41.814 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:35:41.815 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=6.491617ms] ["completed regions"=1] [2025/04/04 10:35:41.815 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:35:41.817 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:35:41.820 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:35:41.821 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=5.342897ms] ["completed regions"=1] [2025/04/04 10:35:41.821 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:35:41.823 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:35:41.826 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:35:41.827 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=5.597141ms] ["completed regions"=1] [2025/04/04 10:35:41.827 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:35:41.829 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:35:41.833 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:35:41.834 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=6.423123ms] ["completed regions"=1] [2025/04/04 10:35:41.834 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:35:41.835 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:35:41.839 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:35:41.840 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=6.035008ms] ["completed regions"=1] [2025/04/04 10:35:41.840 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:35:41.842 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:35:41.846 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:35:41.847 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=6.101314ms] ["completed regions"=1] [2025/04/04 10:35:41.847 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:35:41.848 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:35:41.851 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:35:41.852 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=4.885393ms] ["completed regions"=1] [2025/04/04 10:35:41.852 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:35:41.853 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:35:41.857 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:35:41.858 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=5.88554ms] ["completed regions"=1] [2025/04/04 10:35:41.858 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:35:41.860 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:35:41.863 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:35:41.863 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=4.760713ms] ["completed regions"=1] [2025/04/04 10:35:41.864 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:35:41.865 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:35:41.868 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:35:41.869 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=4.826034ms] ["completed regions"=1] [2025/04/04 10:35:41.869 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:35:41.870 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:35:41.873 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:35:41.874 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=5.008223ms] ["completed regions"=1] [2025/04/04 10:35:41.874 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:35:41.875 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:35:41.878 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:35:41.879 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=4.84332ms] ["completed regions"=1] [2025/04/04 10:35:41.879 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:35:41.881 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/04 10:35:41.885 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/04 10:35:41.886 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=6.223044ms] ["completed regions"=1] [2025/04/04 10:35:41.892 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=118] [2025/04/04 10:35:41.898 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=4] [job="ID:118, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.899 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:35:41.903 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:35:41.904 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=43] [] [2025/04/04 10:35:41.905 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.196701ms] ["completed regions"=1] [2025/04/04 10:35:41.905 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:35:41.908 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:35:41.909 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=43] [] [2025/04/04 10:35:41.909 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.305125ms] ["completed regions"=1] [2025/04/04 10:35:41.909 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:35:41.912 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:35:41.914 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=43] [] [2025/04/04 10:35:41.914 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.103134ms] ["completed regions"=1] [2025/04/04 10:35:41.914 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:35:41.917 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:35:41.918 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=43] [] [2025/04/04 10:35:41.918 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.920104ms] ["completed regions"=1] [2025/04/04 10:35:41.918 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:35:41.921 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:35:41.922 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=43] [] [2025/04/04 10:35:41.922 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.849254ms] ["completed regions"=1] [2025/04/04 10:35:41.922 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:35:41.925 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:35:41.926 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=43] [] [2025/04/04 10:35:41.926 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.906153ms] ["completed regions"=1] [2025/04/04 10:35:41.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 10:35:41.929 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:35:41.930 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=43] [] [2025/04/04 10:35:41.931 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.764257ms] ["completed regions"=1] [2025/04/04 10:35:41.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 10:35:41.933 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:35:41.935 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=43] [] [2025/04/04 10:35:41.935 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.848885ms] ["completed regions"=1] [2025/04/04 10:35:41.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 10:35:41.938 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:35:41.939 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=43] [] [2025/04/04 10:35:41.939 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.819579ms] ["completed regions"=1] [2025/04/04 10:35:41.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 10:35:41.942 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:35:41.943 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=43] [] [2025/04/04 10:35:41.943 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.708991ms] ["completed regions"=1] [2025/04/04 10:35:41.943 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:35:41.946 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:35:41.947 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=43] [] [2025/04/04 10:35:41.947 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.53106ms] ["completed regions"=1] [2025/04/04 10:35:41.947 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:35:41.950 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:35:41.951 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=43] [] [2025/04/04 10:35:41.951 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.974708ms] ["completed regions"=1] [2025/04/04 10:35:41.951 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:35:41.954 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:35:41.955 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=43] [] [2025/04/04 10:35:41.955 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.38021ms] ["completed regions"=1] [2025/04/04 10:35:41.955 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:35:41.958 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:35:41.959 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=43] [] [2025/04/04 10:35:41.959 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.235102ms] ["completed regions"=1] [2025/04/04 10:35:41.959 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:35:41.961 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:35:41.962 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=43] [] [2025/04/04 10:35:41.963 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.338306ms] ["completed regions"=1] [2025/04/04 10:35:41.963 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:35:41.965 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:35:41.966 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=43] [] [2025/04/04 10:35:41.966 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.187563ms] ["completed regions"=1] [2025/04/04 10:35:41.966 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:35:41.969 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:35:41.969 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=43] [] [2025/04/04 10:35:41.970 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.122859ms] ["completed regions"=1] [2025/04/04 10:35:41.970 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:35:41.970 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:35:41.972 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:35:41.973 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=43] [] [2025/04/04 10:35:41.973 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.551258ms] ["completed regions"=1] [2025/04/04 10:35:41.974 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:35:41.976 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:35:41.977 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=43] [] [2025/04/04 10:35:41.977 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.486665ms] ["completed regions"=1] [2025/04/04 10:35:41.977 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:35:41.980 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:35:41.981 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=43] [] [2025/04/04 10:35:41.981 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=2.940646ms] ["completed regions"=1] [2025/04/04 10:35:41.981 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:35:41.983 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:35:41.984 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=43] [] [2025/04/04 10:35:41.984 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.875991ms] ["completed regions"=1] [2025/04/04 10:35:41.984 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:35:41.986 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:35:41.987 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=43] [] [2025/04/04 10:35:41.988 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.158467ms] ["completed regions"=1] [2025/04/04 10:35:41.988 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:35:41.990 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:35:41.992 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=43] [] [2025/04/04 10:35:41.992 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.893093ms] ["completed regions"=1] [2025/04/04 10:35:41.992 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:35:41.994 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:35:41.995 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=43] [] [2025/04/04 10:35:41.995 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.867669ms] ["completed regions"=1] [2025/04/04 10:35:41.995 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:35:41.997 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:35:41.998 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=43] [] [2025/04/04 10:35:41.998 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.761312ms] ["completed regions"=1] [2025/04/04 10:35:41.998 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:35:42.000 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:35:42.002 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=43] [] [2025/04/04 10:35:42.002 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.837394ms] ["completed regions"=1] [2025/04/04 10:35:42.002 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:35:42.004 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:35:42.005 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=43] [] [2025/04/04 10:35:42.005 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.950789ms] ["completed regions"=1] [2025/04/04 10:35:42.005 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:35:42.007 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:35:42.008 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=43] [] [2025/04/04 10:35:42.008 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.824335ms] ["completed regions"=1] [2025/04/04 10:35:42.008 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:35:42.010 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:35:42.011 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=43] [] [2025/04/04 10:35:42.012 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.811108ms] ["completed regions"=1] [2025/04/04 10:35:42.012 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:35:42.014 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:35:42.015 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=43] [] [2025/04/04 10:35:42.015 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.736191ms] ["completed regions"=1] [2025/04/04 10:35:42.015 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:35:42.017 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:35:42.018 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=43] [] [2025/04/04 10:35:42.018 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.583855ms] ["completed regions"=1] [2025/04/04 10:35:42.018 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:35:42.020 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:35:42.021 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=43] [] [2025/04/04 10:35:42.021 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.583289ms] ["completed regions"=1] [2025/04/04 10:35:42.021 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:35:42.023 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:35:42.024 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=43] [] [2025/04/04 10:35:42.024 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.604676ms] ["completed regions"=1] [2025/04/04 10:35:42.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 10:35:42.026 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:35:42.027 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=43] [] [2025/04/04 10:35:42.027 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.383828ms] ["completed regions"=1] [2025/04/04 10:35:42.027 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:35:42.028 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:35:42.029 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=43] [] [2025/04/04 10:35:42.030 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.260509ms] ["completed regions"=1] [2025/04/04 10:35:42.030 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:35:42.031 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:35:42.032 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=43] [] [2025/04/04 10:35:42.032 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.353281ms] ["completed regions"=1] [2025/04/04 10:35:42.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 10:35:42.034 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:35:42.035 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=43] [] [2025/04/04 10:35:42.035 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.207802ms] ["completed regions"=1] [2025/04/04 10:35:42.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 10:35:42.036 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:35:42.037 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=43] [] [2025/04/04 10:35:42.038 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.140579ms] ["completed regions"=1] [2025/04/04 10:35:42.038 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:35:42.039 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:35:42.040 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=43] [] [2025/04/04 10:35:42.040 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.033506ms] ["completed regions"=1] [2025/04/04 10:35:42.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 10:35:42.041 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:35:42.042 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=43] [] [2025/04/04 10:35:42.042 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.960892ms] ["completed regions"=1] [2025/04/04 10:35:42.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 10:35:42.044 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:35:42.045 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=43] [] [2025/04/04 10:35:42.045 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.926828ms] ["completed regions"=1] [2025/04/04 10:35:42.045 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:35:42.046 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:35:42.047 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=43] [] [2025/04/04 10:35:42.047 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.990627ms] ["completed regions"=1] [2025/04/04 10:35:42.047 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:35:42.048 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/04 10:35:42.051 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=43] ["total regions"=43] [] [2025/04/04 10:35:42.051 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.400083ms] ["completed regions"=1] [2025/04/04 10:35:42.051 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:35:42.066 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 10:35:42.154 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=88.306574ms] [2025/04/04 10:35:42.154 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:42.158 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=118] [version=64] [2025/04/04 10:35:42.159 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=95.119008ms] [job="ID:118, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.243 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=118] [conn=4] [job="ID:118, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.255 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=118] [2025/04/04 10:35:42.256 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 4\n# Query_time: 0.878850319\n# Parse_time: 0.000087597\n# Compile_time: 0.000271764\n# Rewrite_time: 0.000003587\n# Optimize_time: 0.000094866\n# Wait_TS: 0.000419247\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-04 10:35:41.348000';"] [2025/04/04 10:35:42.258 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=i] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/04 10:35:42.284 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=3aceed30-a080-42c2-824b-15caccce4a64] [] [2025/04/04 10:35:42.284 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:35:42.284 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=3aceed30-a080-42c2-824b-15caccce4a64] [2025/04/04 10:35:42.284 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:35:42.284 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:42.284 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:42.284 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=48.454µs] [2025/04/04 10:35:42.284 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=35.698µs] [2025/04/04 10:35:42.284 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=28.976µs] [2025/04/04 10:35:42.284 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=3aceed30-a080-42c2-824b-15caccce4a64] [2025/04/04 10:35:42.284 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=3aceed30-a080-42c2-824b-15caccce4a64] [2025/04/04 10:35:42.285 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:35:42.285 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:35:42.287 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=3aceed30-a080-42c2-824b-15caccce4a64] ["take time"=3.011167ms] [2025/04/04 10:35:42.287 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=3aceed30-a080-42c2-824b-15caccce4a64] [2025/04/04 10:35:42.287 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:35:42.287 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:35:42.287 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/a797be36-94d7-4f9a-a567-40f6e5729803] [watcherID=e6061118-53ca-41a7-8961-21369d4d261b] [2025/04/04 10:35:42.287 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/a797be36-94d7-4f9a-a567-40f6e5729803] [2025/04/04 10:35:42.287 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=3aceed30-a080-42c2-824b-15caccce4a64] [ttl-worker=task-manager] [ttl-worker=3aceed30-a080-42c2-824b-15caccce4a64] [originalCount=4] [newCount=0] [2025/04/04 10:35:42.287 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:42.287 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:42.287 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:42.287 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:42.287 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=3aceed30-a080-42c2-824b-15caccce4a64] [ttl-worker=task-manager] [ttl-worker=3aceed30-a080-42c2-824b-15caccce4a64] [originalCount=4] [newCount=0] [2025/04/04 10:35:42.289 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:42.289 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:42.290 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:42.290 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:42.292 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=3aceed30-a080-42c2-824b-15caccce4a64] [2025/04/04 10:35:42.292 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1464] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:35:42.293 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=990b25ae-504b-4614-8732-379f1900bfe3] [] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:35:42.293 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:42.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:42.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:42.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:42.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:42.293 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:42.293 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:35:42.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:42.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=3aceed30-a080-42c2-824b-15caccce4a64] [2025/04/04 10:35:42.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:35:42.293 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:35:42.293 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:35:42.293 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:35:42.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:42.293 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:35:42.293 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=3aceed30-a080-42c2-824b-15caccce4a64] [] [2025/04/04 10:35:42.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:42.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:42.293 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:42.293 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=3aceed30-a080-42c2-824b-15caccce4a64] [2025/04/04 10:35:42.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:42.293 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:42.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:42.293 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=990b25ae-504b-4614-8732-379f1900bfe3] [2025/04/04 10:35:42.293 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:35:42.293 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=3aceed30-a080-42c2-824b-15caccce4a64] [2025/04/04 10:35:42.293 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=990b25ae-504b-4614-8732-379f1900bfe3] [2025/04/04 10:35:42.293 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=3aceed30-a080-42c2-824b-15caccce4a64] [2025/04/04 10:35:42.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:35:42.293 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:35:42.293 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=990b25ae-504b-4614-8732-379f1900bfe3] [2025/04/04 10:35:42.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:42.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:35:42.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:42.293 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:42.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:35:42.294 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:35:42.293 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:35:42.293 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:42.293 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:35:42.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:42.293 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:35:42.294 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:42.293 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:35:42.294 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=3aceed30-a080-42c2-824b-15caccce4a64] [2025/04/04 10:35:42.294 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:42.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:42.294 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:35:42.294 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:42.294 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:42.294 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:35:42.294 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:35:42.294 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:35:42.294 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:42.295 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:35:42.295 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=990b25ae-504b-4614-8732-379f1900bfe3] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:42.295 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:42.295 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:35:42.295 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:35:42.295 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:42.295 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:35:42.295 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:35:42.295 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:42.295 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:42.295 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:35:42.296 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=3aceed30-a080-42c2-824b-15caccce4a64] [error="context canceled"] [2025/04/04 10:35:42.296 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=3aceed30-a080-42c2-824b-15caccce4a64] [2025/04/04 10:35:42.313 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:35:42.313 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:42.359 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=3aceed30-a080-42c2-824b-15caccce4a64] [error="context canceled"] [2025/04/04 10:35:42.359 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:35:42.359 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:42.369 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.654712ms] [2025/04/04 10:35:42.372 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:42.372 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:42.372 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:42.372 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:42.372 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:42.372 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:42.372 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:42.372 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:42.372 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:42.372 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:42.372 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:42.372 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:42.373 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPrepareFlashbackFailed (2.62s) === NAME === RUN TestFlashbackAddDropIndex [2025/04/04 10:35:42.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 10:35:42.381 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:42.382 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404346513542897] [2025/04/04 10:35:42.382 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:42.382 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:42.382 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:42.382 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:42.382 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:42.383 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:42.383 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:42.383 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:42.387 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:35:42.392 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:42.393 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:42.393 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:42.405 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404346513542897] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:35:42.416 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:35:42.450 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=138] ["lease id"=6f1896005d3c9c0d] [2025/04/04 10:35:42.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 10:35:42.541 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=64] ["elapsed time"=86.25938ms] [2025/04/04 10:35:42.541 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:42.543 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:35:42.549 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=8b5972b4-b039-4396-b344-ccc58f4bf65a] [runWorker=true] [jobVersion=v2] [2025/04/04 10:35:42.549 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:35:42.551 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=8b5972b4-b039-4396-b344-ccc58f4bf65a] [2025/04/04 10:35:42.552 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:35:42.553 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237167849472/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:35:42.553 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:42.553 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:42.553 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:42.553 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:42.553 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:42.553 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:42.553 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:42.553 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:42.553 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:42.553 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:35:42.553 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:42.553 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:42.553 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=d94d36bc-ea7f-49de-96cb-5b7883aa83ba] [2025/04/04 10:35:42.556 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d3c9aaa] [ownerID=8b5972b4-b039-4396-b344-ccc58f4bf65a] [op=none] [2025/04/04 10:35:42.556 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=8b5972b4-b039-4396-b344-ccc58f4bf65a] [2025/04/04 10:35:42.556 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=8b5972b4-b039-4396-b344-ccc58f4bf65a] [ownerKey=/tidb/ddl/fg/owner/3eaa96005d3c9aaa] [currRev=354] [2025/04/04 10:35:42.557 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa96005d3c9aac] [ownerID=d94d36bc-ea7f-49de-96cb-5b7883aa83ba] [op=none] [2025/04/04 10:35:42.557 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=d94d36bc-ea7f-49de-96cb-5b7883aa83ba] [2025/04/04 10:35:42.557 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=d94d36bc-ea7f-49de-96cb-5b7883aa83ba] [ownerKey=/tidb/br-stream/owner/3eaa96005d3c9aac] [currRev=354] [2025/04/04 10:35:42.557 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:42.557 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=d94d36bc-ea7f-49de-96cb-5b7883aa83ba] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:42.558 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:35:42.559 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d3c9aaa] [ownerID=8b5972b4-b039-4396-b344-ccc58f4bf65a] [op=none] [2025/04/04 10:35:42.559 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=8b5972b4-b039-4396-b344-ccc58f4bf65a] [op=none] [2025/04/04 10:35:42.559 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:35:42.563 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=8b5972b4-b039-4396-b344-ccc58f4bf65a] [2025/04/04 10:35:42.564 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:42.564 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:35:42.577 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:42.584 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:42.590 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:42.590 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:42.590 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:42.590 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:35:42.590 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:42.590 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:35:42.590 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:35:42.590 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:35:42.590 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:35:42.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:42.591 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=8b5972b4-b039-4396-b344-ccc58f4bf65a] [2025/04/04 10:35:42.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:42.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:42.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:42.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:42.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:42.592 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:35:42.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:42.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:42.592 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:35:42.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:42.592 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:35:42.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:42.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:42.593 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:42.593 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:42.594 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f1896005d3c9c17] [ownerID=8b5972b4-b039-4396-b344-ccc58f4bf65a] [op=none] [2025/04/04 10:35:42.595 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=8b5972b4-b039-4396-b344-ccc58f4bf65a] [2025/04/04 10:35:42.595 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:35:42.595 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=8b5972b4-b039-4396-b344-ccc58f4bf65a] [ownerKey=/tidb/stats/owner/6f1896005d3c9c17] [currRev=356] [2025/04/04 10:35:42.597 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/939a9411-8f2b-47db-bb6c-a03d9633c284] [2025/04/04 10:35:42.597 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=8b5972b4-b039-4396-b344-ccc58f4bf65a] [ttl-worker=task-manager] [ttl-worker=8b5972b4-b039-4396-b344-ccc58f4bf65a] [originalCount=0] [newCount=4] [2025/04/04 10:35:42.597 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=8b5972b4-b039-4396-b344-ccc58f4bf65a] [ttl-worker=task-manager] [ttl-worker=8b5972b4-b039-4396-b344-ccc58f4bf65a] [originalCount=0] [newCount=4] [2025/04/04 10:35:42.597 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=8b5972b4-b039-4396-b344-ccc58f4bf65a] [2025/04/04 10:35:42.598 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:35:42.598 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:42.598 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:35:42.598 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743762942599084402 [2025/04/04 10:35:42.604 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:35:42.610 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.318624ms] [2025/04/04 10:35:42.610 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:35:42.610 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:42.620 +00:00] [INFO] [set.go:172] ["set global var"] [conn=5] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:35:42.631 +00:00] [INFO] [set.go:172] ["set global var"] [conn=5] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:35:42.634 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=64] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:35:42.646 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:119, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:35:42.646 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:42.652 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=5] [job="ID:119, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.668 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=1.942676ms] [gotSchemaVersion=65] [phyTblIDs="[116]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:42.672 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=65] [2025/04/04 10:35:42.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=65] ["take time"=9.184365ms] [job="ID:119, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.683 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=5] [job="ID:119, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.698 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.832774ms] [gotSchemaVersion=66] [phyTblIDs="[116]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:42.701 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=66] [2025/04/04 10:35:42.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=66] ["take time"=8.564017ms] [job="ID:119, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.711 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=5] [job="ID:119, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.717 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 116, Old Table Name: t)"] [2025/04/04 10:35:42.730 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=1.125917ms] [gotSchemaVersion=67] [phyTblIDs="[116]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:42.734 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=67] [2025/04/04 10:35:42.735 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=8.258996ms] [job="ID:119, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.745 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=119] [tableIDs="[116]"] [comment="drop table: table ID"] [2025/04/04 10:35:42.753 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=119] [jobType="drop table"] [2025/04/04 10:35:42.754 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=119] [conn=5] [job="ID:119, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.772 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/04 10:35:42.773 +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: 1743762942773370498 [2025/04/04 10:35:42.787 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=67] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 10:35:42.800 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:42.800 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index i(a))"] [2025/04/04 10:35:42.807 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=121] [conn=6] [job="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.811 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 120, Table Name: t)"] [2025/04/04 10:35:42.826 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=1.680572ms] [gotSchemaVersion=68] [phyTblIDs="[120]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:42.830 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=121] [version=68] [2025/04/04 10:35:42.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=68] ["take time"=8.536937ms] [job="ID:121, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.842 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=121] [conn=6] [job="ID:121, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.853 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=121] [2025/04/04 10:35:42.853 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=68] [cur_db=test] [sql="create table t(a int, index i(a))"] [user=] [2025/04/04 10:35:43.562 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:35:43.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:43.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:43.563 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:43.597 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:35:43.597 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:35:43.598 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/939a9411-8f2b-47db-bb6c-a03d9633c284] [watcherID=e3f8ac0d-f801-4bc7-924e-4d13860d8fcb] [2025/04/04 10:35:43.599 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:35:43.605 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:35:43.605 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:35:43.605 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:35:43.605 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:35:43.867 +00:00] [INFO] [executor.go:5057] ["initialize reorg meta"] [category=ddl] [jobSchema=test] [jobTable=t] [jobType="add index"] [enableDistTask=true] [enableFastReorg=true] [targetScope=] [maxNodeCount=3] [concurrency=4] [batchSize=256] [2025/04/04 10:35:43.879 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:122, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t add index k(a)"] [2025/04/04 10:35:43.879 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/04 10:35:43.885 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:43.887 +00:00] [INFO] [index.go:720] ["[ddl] run add index job"] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"k\",\"L\":\"k\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"a\",\"L\":\"a\"},\"offset\":0,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false,\"vector_index\":null}"] [2025/04/04 10:35:43.901 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=1.771737ms] [gotSchemaVersion=69] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:35:43.905 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=69] [2025/04/04 10:35:43.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=69] ["take time"=8.685899ms] [job="ID:122, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:43.916 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:43.932 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=1.749284ms] [gotSchemaVersion=70] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:35:43.935 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=70] [2025/04/04 10:35:43.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=70] ["take time"=8.462739ms] [job="ID:122, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:43.945 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:43.960 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=70] [neededSchemaVersion=71] ["elapsed time"=1.71971ms] [gotSchemaVersion=71] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:35:43.964 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=71] [2025/04/04 10:35:43.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=71] ["take time"=8.812312ms] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:43.974 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:43.976 +00:00] [INFO] [index.go:1363] ["index backfill state running"] [category=ddl] ["job ID"=122] [table=t] ["ingest mode"=true] [index=k] [2025/04/04 10:35:43.978 +00:00] [INFO] [reorg.go:913] ["job get table range"] [category=ddl] [jobID=122] [physicalTableID=120] [startKey=7480000000000000785f728000000000000001] [endKey=7480000000000000785f72800000000000000300] [2025/04/04 10:35:43.992 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=122] [2025/04/04 10:35:43.998 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457116993178042379, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:44.000 +00:00] [INFO] [index.go:1363] ["index backfill state running"] [category=ddl] ["job ID"=122] [table=t] ["ingest mode"=true] [index=k] [2025/04/04 10:35:44.017 +00:00] [INFO] [index.go:2593] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/122] [2025/04/04 10:35:44.027 +00:00] [INFO] [index.go:2804] ["estimate row size"] [tableID=120] [size=0] [error="less than 3 regions"] [2025/04/04 10:35:44.069 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/04 10:35:44.069 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2025/04/04 10:35:44.387 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:35:44.553 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:35:44.571 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2025/04/04 10:35:44.571 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:44.574 +00:00] [INFO] [backfilling_dist_scheduler.go:125] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=1] [curr-step=init] [next-step=read-index] [2025/04/04 10:35:44.574 +00:00] [INFO] [backfilling_dist_scheduler.go:132] ["available local disk space resource"] [category=ddl] [type=backfill] [task-id=1] [curr-step=init] [next-step=read-index] [size=25GiB] [2025/04/04 10:35:44.576 +00:00] [INFO] [backfilling_dist_scheduler.go:318] ["calculate region batch"] [category=ddl] [type=backfill] [task-id=1] [curr-step=init] [next-step=read-index] [totalRegionCnt=1] [regionBatch=1] [instanceCnt=1] [useCloud=false] [2025/04/04 10:35:44.577 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2025/04/04 10:35:44.712 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=backfill] [concurrency=4] [remaining-slots=12] [2025/04/04 10:35:45.024 +00:00] [INFO] [backfilling_read_index.go:93] ["read index executor init subtask exec env"] [category=ddl] [2025/04/04 10:35:45.024 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:35:45.024 +00:00] [INFO] [config.go:181] ["change memory setting for ingest"] ["local writer memory cache size"=134217728] ["engine memory cache size"=536870912] ["worker concurrency"=8] [2025/04/04 10:35:45.024 +00:00] [INFO] [backend_mgr.go:181] ["create local backend for adding index"] [category=ddl-ingest] [sortDir=/tmp/tidb/tmp_ddl-4000/122] [keyspaceName=] ["job ID"=122] ["current memory usage"=0] ["max memory quota"=17179869184] ["has unique index"=false] [2025/04/04 10:35:45.031 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:45.031 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404346513542897] [2025/04/04 10:35:45.031 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:45.032 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:45.032 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:45.032 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:45.032 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:45.032 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:45.032 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:45.033 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:45.046 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:45.047 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:45.048 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=8GiB]"] [2025/04/04 10:35:45.055 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=backfill] [server-id=:4000] [subtaskID=1] [step=read-index] [2025/04/04 10:35:45.055 +00:00] [INFO] [backfilling_read_index.go:107] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2025/04/04 10:35:45.056 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:35:45.059 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [2025/04/04 10:35:45.059 +00:00] [INFO] [engine_mgr.go:93] ["open an engine for index reorg task"] ["job ID"=122] ["index IDs"="[2]"] ["current memory usage"=0] ["memory limitation"=17179869184] [2025/04/04 10:35:45.059 +00:00] [INFO] [backfilling_operators.go:192] ["build add index local storage operators"] [task-id=1] [subtask-id=1] [jobID=122] [avgRowSize=0] [reader=2] [writer=4] [2025/04/04 10:35:45.060 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=120] ["start key"=7480000000000000785f728000000000000001] ["end key"=7480000000000000785f72800000000000000300] [2025/04/04 10:35:45.069 +00:00] [INFO] [engine.go:151] ["create one local writer for index reorg task"] ["job ID"=122] ["index ID"=2] ["worker ID"=1] ["allocate memory"=134217768] ["current memory usage"=0] ["max memory quota"=17179869184] [2025/04/04 10:35:45.069 +00:00] [INFO] [backfilling.go:546] ["load table ranges from PD done"] [category=ddl] [physicalTableID=120] ["range start"=7480000000000000785f728000000000000001] ["range end"=7480000000000000785f72800000000000000300] ["range count"=1] [2025/04/04 10:35:45.070 +00:00] [INFO] [backfilling_operators.go:561] ["start a table scan task"] [task-id=1] [subtask-id=1] [id=0] [task="TableScanTask: id=0, startKey=7480000000000000785f728000000000000001, endKey=7480000000000000785f72800000000000000300"] [2025/04/04 10:35:45.078 +00:00] [INFO] [engine.go:151] ["create one local writer for index reorg task"] ["job ID"=122] ["index ID"=2] ["worker ID"=2] ["allocate memory"=134217768] ["current memory usage"=0] ["max memory quota"=17179869184] [2025/04/04 10:35:45.078 +00:00] [INFO] [backfilling_operators.go:796] ["finish a index ingest task"] [task-id=1] [subtask-id=1] [id=0] [2025/04/04 10:35:45.091 +00:00] [INFO] [engine.go:151] ["create one local writer for index reorg task"] ["job ID"=122] ["index ID"=2] ["worker ID"=3] ["allocate memory"=134217768] ["current memory usage"=0] ["max memory quota"=17179869184] [2025/04/04 10:35:45.091 +00:00] [INFO] [engine.go:151] ["create one local writer for index reorg task"] ["job ID"=122] ["index ID"=2] ["worker ID"=4] ["allocate memory"=134217768] ["current memory usage"=0] ["max memory quota"=17179869184] [2025/04/04 10:35:45.091 +00:00] [INFO] [backfilling_operators.go:520] ["table scan operator total count"] [task-id=1] [subtask-id=1] [count=3] [2025/04/04 10:35:45.092 +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/20c12432-66c5-4e4e-9fde-f32307d74d6f.sst] [firstKey=7480000000000000785F698000000000000002038000000000000001038000000000000001] [lastKey=7480000000000000785F698000000000000002038000000000000003038000000000000003] [2025/04/04 10:35:45.096 +00:00] [INFO] [manager.go:654] ["acquire distributed lock success"] [key=/tidb/distributeLock/122] [2025/04/04 10:35:45.096 +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: 237167874048/467794132992, backend usage: 0"] [2025/04/04 10:35:45.096 +00:00] [INFO] [backend.go:289] ["set ingest ts before import"] [category=ddl-ingest] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [jobID=122] [ts=457116993335328777] [2025/04/04 10:35:45.096 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [retryCnt=0] [2025/04/04 10:35:45.101 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:45.123 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] ["region ranges"=1] [count=3] [size=114] [2025/04/04 10:35:45.123 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:45.124 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000785f698000000000000002038000000000000001038000000000000001] [endOfAllRanges=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [startKeyOfFirstRegion=7480000000000000ff785f698000000000ff0000020380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ff785f698000000000ff0000020380000000ff0000000303800000ff0000000003000000fd] [2025/04/04 10:35:45.141 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [size=114] [kvs=3] [importedSize=114] [importedCount=3] [2025/04/04 10:35:45.143 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [retryCnt=0] [takeTime=46.754244ms] [] [2025/04/04 10:35:45.148 +00:00] [INFO] [manager.go:660] ["release distributed lock success"] [key=/tidb/distributeLock/122] [2025/04/04 10:35:45.149 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [2025/04/04 10:35:45.151 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [takeTime=1.433218ms] [] [2025/04/04 10:35:45.151 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [2025/04/04 10:35:45.151 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [takeTime=724.702µs] [] [2025/04/04 10:35:45.151 +00:00] [INFO] [backend.go:360] ["close one backend for DDL job"] [jobID=122] ["current memory usage"=0] ["max memory quota"=17179869184] [2025/04/04 10:35:45.157 +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=101.414597ms] [] [2025/04/04 10:35:45.576 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2025/04/04 10:35:45.595 +00:00] [INFO] [read.go:674] ["Table information not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=112] [columnID=1] [2025/04/04 10:35:45.597 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=116] [indexID=1] [2025/04/04 10:35:45.598 +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 10:35:45.598 +00:00] [INFO] [read.go:659] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=116] [columnID=1] [2025/04/04 10:35:45.599 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/04 10:35:45.883 +00:00] [INFO] [reorg.go:409] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2025/04/04 10:35:45.903 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=71] [neededSchemaVersion=72] ["elapsed time"=1.690167ms] [gotSchemaVersion=72] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:35:45.906 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=72] [2025/04/04 10:35:45.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=72] ["take time"=8.372644ms] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:3, ArgLen:1, start time: 2025-04-04 10:35:43.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457116993178042379, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:45.916 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:3, ArgLen:0, start time: 2025-04-04 10:35:43.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457116993178042379, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:45.918 +00:00] [INFO] [index.go:1399] ["index backfill state ready to merge"] [category=ddl] ["job ID"=122] [table=t] [index=k] [2025/04/04 10:35:45.931 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=72] [neededSchemaVersion=73] ["elapsed time"=1.566067ms] [gotSchemaVersion=73] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:35:45.934 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=73] [2025/04/04 10:35:45.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=73] ["take time"=8.021856ms] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:3, ArgLen:1, start time: 2025-04-04 10:35:43.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:45.943 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:3, ArgLen:0, start time: 2025-04-04 10:35:43.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:45.946 +00:00] [INFO] [index.go:1418] ["temp index is empty, skipping reorg work"] [category=ddl] [jobID=122] [table=t] [2025/04/04 10:35:45.949 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add index, Table ID: 120, Table Name: t, Index ID: 2, Index Name: k)"] [2025/04/04 10:35:45.951 +00:00] [INFO] [index.go:1129] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2025/04/04 10:35:45.962 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=73] [neededSchemaVersion=74] ["elapsed time"=1.617079ms] [gotSchemaVersion=74] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:35:45.965 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=74] [2025/04/04 10:35:45.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=74] ["take time"=8.020097ms] [job="ID:122, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:120, RowCount:3, ArgLen:1, start time: 2025-04-04 10:35:43.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:45.976 +00:00] [INFO] [delete_range.go:448] ["insert into delete-range indices"] [category=ddl] [jobID=122] [tableID=120] [indexIDs="[9223090561878065154]"] [comment="add index: physical table ID(s)"] [2025/04/04 10:35:45.981 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=122] [jobType="add index"] [2025/04/04 10:35:45.982 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:120, RowCount:3, ArgLen:1, start time: 2025-04-04 10:35:43.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:46.001 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=122] [2025/04/04 10:35:46.002 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 6\n# Query_time: 2.136485644\n# Parse_time: 0.00012753\n# Compile_time: 0.000354235\n# Rewrite_time: 0.000006125\n# Optimize_time: 0.00070238\n# Wait_TS: 0.000380622\n# DB: test\n# Is_internal: false\n# Digest: 1fbe1c4139cd04724109d4c37ad89fa611eb1f981f53303829eaf6e89580a83a\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nalter table t add index k(a);"] [2025/04/04 10:35:46.002 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=74] [cur_db=test] [sql="alter table t add index k(a)"] [user=] [2025/04/04 10:35:46.017 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:drop index, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:46.017 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:123, Type:drop index, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t drop index i"] [2025/04/04 10:35:46.022 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=6] [job="ID:123, Type:drop index, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.037 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=74] [neededSchemaVersion=75] ["elapsed time"=1.595014ms] [gotSchemaVersion=75] [phyTblIDs="[120]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2025/04/04 10:35:46.041 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=75] [2025/04/04 10:35:46.042 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=75] ["take time"=8.133821ms] [job="ID:123, Type:drop index, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.051 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=6] [job="ID:123, Type:drop index, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.066 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=75] [neededSchemaVersion=76] ["elapsed time"=1.608291ms] [gotSchemaVersion=76] [phyTblIDs="[120]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2025/04/04 10:35:46.069 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=76] [2025/04/04 10:35:46.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=76] ["take time"=8.056779ms] [job="ID:123, Type:drop index, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.071 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/04 10:35:46.077 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:46.077 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/04 10:35:46.078 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=6] [job="ID:123, Type:drop index, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.082 +00:00] [INFO] [backfilling_read_index.go:175] ["read index executor cleanup subtask exec env"] [2025/04/04 10:35:46.085 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:46.085 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:46.085 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:46.085 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:46.085 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:46.085 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:46.085 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:46.085 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:46.085 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:46.085 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:46.085 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:46.085 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:46.087 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:46.087 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:46.087 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:46.087 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:46.087 +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.039634426s] [] [2025/04/04 10:35:46.087 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=backfill] [2025/04/04 10:35:46.094 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=76] [neededSchemaVersion=77] ["elapsed time"=1.64649ms] [gotSchemaVersion=77] [phyTblIDs="[120]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2025/04/04 10:35:46.097 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=77] [2025/04/04 10:35:46.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=77] ["take time"=8.276937ms] [job="ID:123, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.100 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:46.107 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=6] [job="ID:123, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.122 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=77] [neededSchemaVersion=78] ["elapsed time"=1.454455ms] [gotSchemaVersion=78] [phyTblIDs="[120]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2025/04/04 10:35:46.125 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=78] [2025/04/04 10:35:46.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=78] ["take time"=7.923783ms] [job="ID:123, Type:drop index, State:done, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.135 +00:00] [INFO] [delete_range.go:448] ["insert into delete-range indices"] [category=ddl] [jobID=123] [tableID=120] [indexIDs="[1]"] [comment="drop index: table ID"] [2025/04/04 10:35:46.140 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="drop index"] [2025/04/04 10:35:46.141 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=123] [conn=6] [job="ID:123, Type:drop index, State:synced, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.157 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=123] [2025/04/04 10:35:46.157 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=78] [cur_db=test] [sql="alter table t drop index i"] [user=] [2025/04/04 10:35:46.158 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:1176]Key 'i' doesn't exist in table 't'"] [SQL="select max(a) from t use index(i)"] [2025/04/04 10:35:46.166 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:35:43.848 +0000 UTC"] [2025/04/04 10:35:46.176 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:46.176 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:124, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:35:43.848000'"] [2025/04/04 10:35:46.182 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.187 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=124] [2025/04/04 10:35:46.194 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.310 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=78] [neededSchemaVersion=79] ["elapsed time"=141.304µs] [gotSchemaVersion=79] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:35:46.314 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=79] [2025/04/04 10:35:46.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=79] ["take time"=7.76776ms] [job="ID:124, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.325 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.355 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:35:46.360 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:35:46.362 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.256719ms] ["completed regions"=1] [2025/04/04 10:35:46.362 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:35:46.366 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:35:46.367 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.302488ms] ["completed regions"=1] [2025/04/04 10:35:46.367 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:35:46.371 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:35:46.372 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.098454ms] ["completed regions"=1] [2025/04/04 10:35:46.372 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:35:46.375 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:35:46.377 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.071887ms] ["completed regions"=1] [2025/04/04 10:35:46.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 10:35:46.380 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:35:46.381 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.070695ms] ["completed regions"=1] [2025/04/04 10:35:46.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 10:35:46.385 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:35:46.386 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.876062ms] ["completed regions"=1] [2025/04/04 10:35:46.386 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:35:46.389 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:35:46.390 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.116642ms] ["completed regions"=1] [2025/04/04 10:35:46.390 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:35:46.394 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:35:46.395 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.971307ms] ["completed regions"=1] [2025/04/04 10:35:46.395 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:35:46.398 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:35:46.399 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.752542ms] ["completed regions"=1] [2025/04/04 10:35:46.399 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:35:46.402 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:35:46.403 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.691006ms] ["completed regions"=1] [2025/04/04 10:35:46.403 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:35:46.406 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:35:46.407 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.551813ms] ["completed regions"=1] [2025/04/04 10:35:46.407 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:35:46.410 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:35:46.412 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.077957ms] ["completed regions"=1] [2025/04/04 10:35:46.412 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:35:46.415 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:35:46.416 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.356901ms] ["completed regions"=1] [2025/04/04 10:35:46.416 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:35:46.419 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:35:46.420 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.613059ms] ["completed regions"=1] [2025/04/04 10:35:46.420 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:35:46.422 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:35:46.423 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.275355ms] ["completed regions"=1] [2025/04/04 10:35:46.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 10:35:46.426 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:35:46.427 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.17285ms] ["completed regions"=1] [2025/04/04 10:35:46.427 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:35:46.430 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:35:46.431 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.588401ms] ["completed regions"=1] [2025/04/04 10:35:46.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 10:35:46.434 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:35:46.435 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.303097ms] ["completed regions"=1] [2025/04/04 10:35:46.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 10:35:46.437 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:35:46.438 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=2.974902ms] ["completed regions"=1] [2025/04/04 10:35:46.438 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:35:46.441 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:35:46.442 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.018671ms] ["completed regions"=1] [2025/04/04 10:35:46.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 10:35:46.444 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:35:46.445 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.020209ms] ["completed regions"=1] [2025/04/04 10:35:46.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 10:35:46.447 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:35:46.449 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.028831ms] ["completed regions"=1] [2025/04/04 10:35:46.449 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:35:46.451 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:35:46.452 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.87574ms] ["completed regions"=1] [2025/04/04 10:35:46.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 10:35:46.454 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:35:46.455 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.817936ms] ["completed regions"=1] [2025/04/04 10:35:46.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 10:35:46.458 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:35:46.459 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.075295ms] ["completed regions"=1] [2025/04/04 10:35:46.459 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:35:46.462 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:35:46.463 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.523912ms] ["completed regions"=1] [2025/04/04 10:35:46.463 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:35:46.465 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:35:46.466 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.71903ms] ["completed regions"=1] [2025/04/04 10:35:46.466 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:35:46.468 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:35:46.469 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.625126ms] ["completed regions"=1] [2025/04/04 10:35:46.469 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:35:46.471 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:35:46.472 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.669269ms] ["completed regions"=1] [2025/04/04 10:35:46.472 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:35:46.474 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:35:46.475 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.403238ms] ["completed regions"=1] [2025/04/04 10:35:46.475 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:35:46.477 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:35:46.478 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.401039ms] ["completed regions"=1] [2025/04/04 10:35:46.478 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:35:46.479 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:35:46.480 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.257747ms] ["completed regions"=1] [2025/04/04 10:35:46.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 10:35:46.482 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:35:46.483 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.291773ms] ["completed regions"=1] [2025/04/04 10:35:46.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 10:35:46.485 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:35:46.486 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.188372ms] ["completed regions"=1] [2025/04/04 10:35:46.486 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:35:46.487 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:35:46.488 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.236083ms] ["completed regions"=1] [2025/04/04 10:35:46.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 10:35:46.490 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:35:46.491 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.214094ms] ["completed regions"=1] [2025/04/04 10:35:46.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 10:35:46.493 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:35:46.494 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.089754ms] ["completed regions"=1] [2025/04/04 10:35:46.494 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:35:46.495 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:35:46.496 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.02269ms] ["completed regions"=1] [2025/04/04 10:35:46.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 10:35:46.497 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:35:46.498 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.07276ms] ["completed regions"=1] [2025/04/04 10:35:46.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 10:35:46.500 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:35:46.501 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.839609ms] ["completed regions"=1] [2025/04/04 10:35:46.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 10:35:46.502 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:35:46.503 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.792625ms] ["completed regions"=1] [2025/04/04 10:35:46.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 10:35:46.504 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:35:46.505 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.675927ms] ["completed regions"=1] [2025/04/04 10:35:46.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 10:35:46.506 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:35:46.507 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:35:46.509 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:35:46.510 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.559894ms] ["completed regions"=3] [2025/04/04 10:35:46.516 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=124] [2025/04/04 10:35:46.523 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.524 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:35:46.528 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:35:46.529 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 10:35:46.530 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.311557ms] ["completed regions"=1] [2025/04/04 10:35:46.530 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:35:46.533 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:35:46.534 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 10:35:46.534 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.499084ms] ["completed regions"=1] [2025/04/04 10:35:46.535 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:35:46.538 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:35:46.539 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 10:35:46.539 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.154916ms] ["completed regions"=1] [2025/04/04 10:35:46.539 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:35:46.542 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:35:46.543 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 10:35:46.543 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.030169ms] ["completed regions"=1] [2025/04/04 10:35:46.544 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:35:46.547 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:35:46.548 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 10:35:46.548 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.186073ms] ["completed regions"=1] [2025/04/04 10:35:46.548 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:35:46.551 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:35:46.552 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 10:35:46.553 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.96351ms] ["completed regions"=1] [2025/04/04 10:35:46.553 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:35:46.556 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:35:46.557 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 10:35:46.557 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.047599ms] ["completed regions"=1] [2025/04/04 10:35:46.557 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:35:46.560 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:35:46.561 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 10:35:46.562 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.097821ms] ["completed regions"=1] [2025/04/04 10:35:46.562 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:35:46.565 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:35:46.566 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 10:35:46.566 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.971405ms] ["completed regions"=1] [2025/04/04 10:35:46.566 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:35:46.569 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:35:46.570 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 10:35:46.570 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.821001ms] ["completed regions"=1] [2025/04/04 10:35:46.570 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:35:46.573 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:35:46.574 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 10:35:46.574 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.646557ms] ["completed regions"=1] [2025/04/04 10:35:46.574 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:35:46.577 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:35:46.580 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 10:35:46.580 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=5.07955ms] ["completed regions"=1] [2025/04/04 10:35:46.580 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:35:46.583 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:35:46.584 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 10:35:46.584 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.602819ms] ["completed regions"=1] [2025/04/04 10:35:46.584 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:35:46.587 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:35:46.588 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 10:35:46.588 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.613865ms] ["completed regions"=1] [2025/04/04 10:35:46.588 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:35:46.591 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:35:46.592 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 10:35:46.592 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.418843ms] ["completed regions"=1] [2025/04/04 10:35:46.592 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:35:46.594 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:35:46.595 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 10:35:46.595 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.262306ms] ["completed regions"=1] [2025/04/04 10:35:46.595 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:35:46.598 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:35:46.599 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 10:35:46.599 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.546676ms] ["completed regions"=1] [2025/04/04 10:35:46.599 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:35:46.602 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:35:46.603 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 10:35:46.603 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.537886ms] ["completed regions"=1] [2025/04/04 10:35:46.603 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:35:46.606 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:35:46.607 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 10:35:46.607 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.394562ms] ["completed regions"=1] [2025/04/04 10:35:46.607 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:35:46.610 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:35:46.611 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 10:35:46.611 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.376874ms] ["completed regions"=1] [2025/04/04 10:35:46.611 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:35:46.613 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:35:46.614 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 10:35:46.615 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.014179ms] ["completed regions"=1] [2025/04/04 10:35:46.615 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:35:46.617 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:35:46.618 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 10:35:46.618 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.088534ms] ["completed regions"=1] [2025/04/04 10:35:46.618 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:35:46.620 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:35:46.621 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 10:35:46.621 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.033967ms] ["completed regions"=1] [2025/04/04 10:35:46.622 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:35:46.624 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:35:46.625 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 10:35:46.625 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.858877ms] ["completed regions"=1] [2025/04/04 10:35:46.625 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:35:46.627 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:35:46.628 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 10:35:46.628 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.843383ms] ["completed regions"=1] [2025/04/04 10:35:46.628 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:35:46.630 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:35:46.631 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 10:35:46.631 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.739566ms] ["completed regions"=1] [2025/04/04 10:35:46.631 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:35:46.633 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:35:46.634 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 10:35:46.634 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.699282ms] ["completed regions"=1] [2025/04/04 10:35:46.634 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:35:46.636 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:35:46.637 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 10:35:46.637 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.534081ms] ["completed regions"=1] [2025/04/04 10:35:46.637 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:35:46.639 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:35:46.640 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 10:35:46.640 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.482078ms] ["completed regions"=1] [2025/04/04 10:35:46.640 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:35:46.642 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:35:46.643 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 10:35:46.643 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.563425ms] ["completed regions"=1] [2025/04/04 10:35:46.643 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:35:46.645 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:35:46.646 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 10:35:46.646 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.518713ms] ["completed regions"=1] [2025/04/04 10:35:46.646 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:35:46.648 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:35:46.649 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 10:35:46.649 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.448386ms] ["completed regions"=1] [2025/04/04 10:35:46.649 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:35:46.650 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:35:46.651 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 10:35:46.651 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.220776ms] ["completed regions"=1] [2025/04/04 10:35:46.651 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:35:46.653 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:35:46.654 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 10:35:46.654 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.306804ms] ["completed regions"=1] [2025/04/04 10:35:46.654 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:35:46.656 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:35:46.657 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 10:35:46.657 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.267288ms] ["completed regions"=1] [2025/04/04 10:35:46.657 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:35:46.658 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:35:46.659 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 10:35:46.659 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.129506ms] ["completed regions"=1] [2025/04/04 10:35:46.659 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:35:46.661 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:35:46.662 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 10:35:46.662 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.233296ms] ["completed regions"=1] [2025/04/04 10:35:46.662 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:35:46.663 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:35:46.664 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 10:35:46.665 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.172922ms] ["completed regions"=1] [2025/04/04 10:35:46.665 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:35:46.666 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:35:46.667 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 10:35:46.667 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.087725ms] ["completed regions"=1] [2025/04/04 10:35:46.667 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:35:46.668 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:35:46.669 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 10:35:46.670 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.079585ms] ["completed regions"=1] [2025/04/04 10:35:46.670 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:35:46.671 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:35:46.672 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 10:35:46.672 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.079844ms] ["completed regions"=1] [2025/04/04 10:35:46.672 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:35:46.673 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:35:46.674 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 10:35:46.674 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.806275ms] ["completed regions"=1] [2025/04/04 10:35:46.674 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:35:46.676 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:35:46.677 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:35:46.679 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:35:46.680 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 10:35:46.680 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.635526ms] ["completed regions"=3] [2025/04/04 10:35:46.680 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:35:46.695 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 10:35:46.780 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=79] [neededSchemaVersion=80] ["elapsed time"=84.565456ms] [2025/04/04 10:35:46.780 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:46.783 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=80] [2025/04/04 10:35:46.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=80] ["take time"=91.707931ms] [job="ID:124, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.855 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.867 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=124] [2025/04/04 10:35:46.867 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 6\n# Query_time: 0.702549811\n# Parse_time: 0.000068707\n# Compile_time: 0.000261681\n# Rewrite_time: 0.000003295\n# Optimize_time: 0.000616852\n# Wait_TS: 0.000614785\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nflashback cluster to timestamp '2025-04-04 10:35:43.848000';"] [2025/04/04 10:35:46.869 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=i] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/04 10:35:46.887 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:1176]Key 'k' doesn't exist in table 't'"] [SQL="select max(a) from t use index(k)"] [2025/04/04 10:35:46.891 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:35:46.891 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:35:46.891 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=8b5972b4-b039-4396-b344-ccc58f4bf65a] [] [2025/04/04 10:35:46.891 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=8b5972b4-b039-4396-b344-ccc58f4bf65a] [2025/04/04 10:35:46.891 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:46.891 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp add index"] ["take time"=57.503µs] [2025/04/04 10:35:46.891 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:46.891 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=32.262µs] [2025/04/04 10:35:46.892 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=31.813µs] [2025/04/04 10:35:46.892 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=53.612µs] [2025/04/04 10:35:46.892 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=28.26µs] [2025/04/04 10:35:46.892 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=8b5972b4-b039-4396-b344-ccc58f4bf65a] [2025/04/04 10:35:46.892 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=8b5972b4-b039-4396-b344-ccc58f4bf65a] [2025/04/04 10:35:46.893 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:35:46.893 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:35:46.896 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=8b5972b4-b039-4396-b344-ccc58f4bf65a] ["take time"=4.734289ms] [2025/04/04 10:35:46.896 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=8b5972b4-b039-4396-b344-ccc58f4bf65a] [2025/04/04 10:35:46.896 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:35:46.896 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:35:46.896 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/939a9411-8f2b-47db-bb6c-a03d9633c284] [watcherID=e3f8ac0d-f801-4bc7-924e-4d13860d8fcb] [2025/04/04 10:35:46.896 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/939a9411-8f2b-47db-bb6c-a03d9633c284] [2025/04/04 10:35:46.896 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=8b5972b4-b039-4396-b344-ccc58f4bf65a] [ttl-worker=task-manager] [ttl-worker=8b5972b4-b039-4396-b344-ccc58f4bf65a] [originalCount=4] [newCount=0] [2025/04/04 10:35:46.896 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:46.896 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:46.896 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:46.896 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:46.896 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=8b5972b4-b039-4396-b344-ccc58f4bf65a] [ttl-worker=task-manager] [ttl-worker=8b5972b4-b039-4396-b344-ccc58f4bf65a] [originalCount=4] [newCount=0] [2025/04/04 10:35:46.899 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:46.899 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:46.899 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:46.899 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:46.901 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=8b5972b4-b039-4396-b344-ccc58f4bf65a] [2025/04/04 10:35:46.901 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=138] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=8b5972b4-b039-4396-b344-ccc58f4bf65a] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:35:46.902 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:35:46.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:35:46.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:46.902 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:46.902 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:35:46.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:35:46.902 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:35:46.902 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:35:46.902 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=8b5972b4-b039-4396-b344-ccc58f4bf65a] [] [2025/04/04 10:35:46.902 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:46.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:35:46.902 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:46.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:35:46.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:46.902 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:35:46.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:46.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:46.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:35:46.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:46.902 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=8b5972b4-b039-4396-b344-ccc58f4bf65a] [2025/04/04 10:35:46.902 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:35:46.903 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:46.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:35:46.903 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=8b5972b4-b039-4396-b344-ccc58f4bf65a] [2025/04/04 10:35:46.903 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:46.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:46.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:46.903 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=8b5972b4-b039-4396-b344-ccc58f4bf65a] [2025/04/04 10:35:46.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:46.902 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:46.903 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:46.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:35:46.903 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:46.902 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:35:46.902 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:46.903 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:46.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:35:46.902 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:35:46.902 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:35:46.902 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=d94d36bc-ea7f-49de-96cb-5b7883aa83ba] [] [2025/04/04 10:35:46.903 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:46.903 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=d94d36bc-ea7f-49de-96cb-5b7883aa83ba] [2025/04/04 10:35:46.902 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:35:46.902 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:35:46.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:46.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:46.903 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:46.903 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=d94d36bc-ea7f-49de-96cb-5b7883aa83ba] [2025/04/04 10:35:46.903 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=d94d36bc-ea7f-49de-96cb-5b7883aa83ba] [2025/04/04 10:35:46.903 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=8b5972b4-b039-4396-b344-ccc58f4bf65a] [2025/04/04 10:35:46.903 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:35:46.903 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:35:46.903 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:35:46.903 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:35:46.903 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:46.904 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:35:46.904 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:35:46.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:46.904 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:35:46.904 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:35:46.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:46.904 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:35:46.904 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=d94d36bc-ea7f-49de-96cb-5b7883aa83ba] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:46.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:46.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:46.904 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:35:46.905 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=8b5972b4-b039-4396-b344-ccc58f4bf65a] [error="context canceled"] [2025/04/04 10:35:46.905 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=8b5972b4-b039-4396-b344-ccc58f4bf65a] [2025/04/04 10:35:46.922 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:35:46.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:46.966 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=8b5972b4-b039-4396-b344-ccc58f4bf65a] [error="context canceled"] [2025/04/04 10:35:46.966 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:35:46.966 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:46.977 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.014313ms] [2025/04/04 10:35:46.980 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:46.980 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:46.980 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:46.980 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:46.980 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:46.980 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:46.980 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:46.980 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:46.980 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:46.980 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:46.980 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:46.980 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:46.981 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackAddDropIndex (4.61s) === NAME === RUN TestFlashbackAddDropModifyColumn [2025/04/04 10:35:46.989 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:46.990 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:46.990 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404346513542897] [2025/04/04 10:35:46.991 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:46.991 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:46.991 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:46.991 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:46.991 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:46.991 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:46.992 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:46.992 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:46.996 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:35:47.001 +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 10:35:47.001 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:47.002 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:47.015 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404346513542897] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:35:47.024 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:35:47.058 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=197] ["lease id"=3eaa96005d3c9ae1] [2025/04/04 10:35:47.060 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:35:47.147 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=80] ["elapsed time"=84.561197ms] [2025/04/04 10:35:47.147 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:47.149 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:35:47.155 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [runWorker=true] [jobVersion=v2] [2025/04/04 10:35:47.155 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:35:47.157 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [2025/04/04 10:35:47.158 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:35:47.158 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237167960064/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:35:47.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:47.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:47.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:47.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:47.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:47.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:47.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:47.159 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:47.159 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:35:47.159 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:47.159 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:47.159 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:47.159 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=083b99cd-90b2-4194-9145-5c1ea122c0a7] [2025/04/04 10:35:47.160 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d3c9c55] [ownerID=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [op=none] [2025/04/04 10:35:47.160 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [2025/04/04 10:35:47.160 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [ownerKey=/tidb/ddl/fg/owner/6f1896005d3c9c55] [currRev=424] [2025/04/04 10:35:47.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:47.162 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=083b99cd-90b2-4194-9145-5c1ea122c0a7] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:47.162 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/223196005d3c9ad9] [ownerID=083b99cd-90b2-4194-9145-5c1ea122c0a7] [op=none] [2025/04/04 10:35:47.162 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:35:47.162 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=083b99cd-90b2-4194-9145-5c1ea122c0a7] [2025/04/04 10:35:47.162 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=083b99cd-90b2-4194-9145-5c1ea122c0a7] [ownerKey=/tidb/br-stream/owner/223196005d3c9ad9] [currRev=425] [2025/04/04 10:35:47.162 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d3c9c55] [ownerID=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [op=none] [2025/04/04 10:35:47.163 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [op=none] [2025/04/04 10:35:47.163 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:35:47.168 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [2025/04/04 10:35:47.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:47.170 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:35:47.241 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:47.250 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:47.256 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:47.256 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:47.256 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:47.256 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:35:47.256 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:47.256 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:35:47.256 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:35:47.256 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:35:47.256 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:35:47.257 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:47.258 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [2025/04/04 10:35:47.259 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:47.259 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:47.259 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:47.259 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:47.259 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:47.259 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:47.259 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:35:47.259 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:47.259 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:35:47.259 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:47.259 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:35:47.259 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:47.259 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:47.259 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:47.260 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:47.261 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:35:47.261 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa96005d3c9aec] [ownerID=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [op=none] [2025/04/04 10:35:47.262 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [2025/04/04 10:35:47.262 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [ownerKey=/tidb/stats/owner/3eaa96005d3c9aec] [currRev=427] [2025/04/04 10:35:47.264 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/b141691a-e5a8-4e5d-b887-6c7ea14784c7] [2025/04/04 10:35:47.265 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [ttl-worker=task-manager] [ttl-worker=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [originalCount=0] [newCount=4] [2025/04/04 10:35:47.265 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [ttl-worker=task-manager] [ttl-worker=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [originalCount=0] [newCount=4] [2025/04/04 10:35:47.265 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [2025/04/04 10:35:47.266 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:47.267 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:35:47.266 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:35:47.267 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743762947267530810 [2025/04/04 10:35:47.274 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:35:47.281 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.193171ms] [2025/04/04 10:35:47.281 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:47.281 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:35:47.290 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:35:47.292 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=80] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:35:47.305 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:125, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:35:47.305 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:125, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:47.311 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=125] [conn=7] [job="ID:125, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.328 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=80] [neededSchemaVersion=81] ["elapsed time"=1.959489ms] [gotSchemaVersion=81] [phyTblIDs="[120]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:47.331 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=81] [2025/04/04 10:35:47.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=81] ["take time"=9.425455ms] [job="ID:125, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.343 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=125] [conn=7] [job="ID:125, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.358 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=81] [neededSchemaVersion=82] ["elapsed time"=1.859324ms] [gotSchemaVersion=82] [phyTblIDs="[120]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:47.361 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=82] [2025/04/04 10:35:47.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=82] ["take time"=8.610604ms] [job="ID:125, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.372 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=125] [conn=7] [job="ID:125, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.378 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 120, Old Table Name: t)"] [2025/04/04 10:35:47.391 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=82] [neededSchemaVersion=83] ["elapsed time"=1.118313ms] [gotSchemaVersion=83] [phyTblIDs="[120]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:47.394 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=83] [2025/04/04 10:35:47.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=83] ["take time"=7.741529ms] [job="ID:125, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.405 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=125] [tableIDs="[120]"] [comment="drop table: table ID"] [2025/04/04 10:35:47.413 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=125] [jobType="drop table"] [2025/04/04 10:35:47.414 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=125] [conn=7] [job="ID:125, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.432 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=125] [2025/04/04 10:35:47.433 +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: 1743762947433399722 [2025/04/04 10:35:47.445 +00:00] [INFO] [set.go:172] ["set global var"] [conn=8] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:35:47.459 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=83] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 10:35:47.472 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:127, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:47.472 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:127, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, b int, index i(a))"] [2025/04/04 10:35:47.477 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=127] [conn=8] [job="ID:127, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.482 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 126, Table Name: t)"] [2025/04/04 10:35:47.497 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=83] [neededSchemaVersion=84] ["elapsed time"=1.762295ms] [gotSchemaVersion=84] [phyTblIDs="[126]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:47.501 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=127] [version=84] [2025/04/04 10:35:47.502 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=84] ["take time"=8.831486ms] [job="ID:127, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.514 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=127] [conn=8] [job="ID:127, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.525 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=127] [2025/04/04 10:35:47.526 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=84] [cur_db=test] [sql="create table t(a int, b int, index i(a))"] [user=] [2025/04/04 10:35:48.168 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:35:48.168 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:48.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:48.169 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:48.265 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:35:48.265 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:35:48.265 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/b141691a-e5a8-4e5d-b887-6c7ea14784c7] [watcherID=5294158e-4a58-4a1b-9d28-805e2dfaf5c1] [2025/04/04 10:35:48.267 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:35:48.272 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:35:48.272 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:35:48.272 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:35:48.272 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:35:48.546 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:48.546 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:128, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t add column c int"] [2025/04/04 10:35:48.552 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=8] [job="ID:128, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.553 +00:00] [INFO] [add_column.go:82] ["run add column job"] [category=ddl] [job="ID:128, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [columnInfo="{\"id\":3,\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2025/04/04 10:35:48.568 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=84] [neededSchemaVersion=85] ["elapsed time"=1.857516ms] [gotSchemaVersion=85] [phyTblIDs="[126]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/04 10:35:48.571 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=85] [2025/04/04 10:35:48.573 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=85] ["take time"=8.786975ms] [job="ID:128, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.583 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=8] [job="ID:128, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.599 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=85] [neededSchemaVersion=86] ["elapsed time"=1.800097ms] [gotSchemaVersion=86] [phyTblIDs="[126]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/04 10:35:48.602 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=86] [2025/04/04 10:35:48.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=86] ["take time"=8.433584ms] [job="ID:128, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.612 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=8] [job="ID:128, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.628 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=86] [neededSchemaVersion=87] ["elapsed time"=1.818388ms] [gotSchemaVersion=87] [phyTblIDs="[126]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/04 10:35:48.632 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=87] [2025/04/04 10:35: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=87] ["take time"=8.578404ms] [job="ID:128, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.641 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=8] [job="ID:128, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.646 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add column, Table ID: 126, Table Name: t, Column ID: 3, Column Name: c)"] [2025/04/04 10:35:48.661 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=87] [neededSchemaVersion=88] ["elapsed time"=1.809197ms] [gotSchemaVersion=88] [phyTblIDs="[126]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/04 10:35:48.665 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=88] [2025/04/04 10:35:48.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=88] ["take time"=8.8098ms] [job="ID:128, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.676 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=128] [conn=8] [job="ID:128, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.688 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/04 10:35:48.689 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=88] [cur_db=test] [sql="alter table t add column c int"] [user=] [2025/04/04 10:35:48.700 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:129, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t drop column b"] [2025/04/04 10:35:48.700 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:129, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:48.706 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=8] [job="ID:129, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.721 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=88] [neededSchemaVersion=89] ["elapsed time"=1.786841ms] [gotSchemaVersion=89] [phyTblIDs="[126]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2025/04/04 10:35:48.725 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=89] [2025/04/04 10:35:48.726 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=89] ["take time"=8.395591ms] [job="ID:129, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.736 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=8] [job="ID:129, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.752 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=89] [neededSchemaVersion=90] ["elapsed time"=1.773958ms] [gotSchemaVersion=90] [phyTblIDs="[126]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2025/04/04 10:35:48.755 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=90] [2025/04/04 10:35:48.757 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=90] ["take time"=8.693569ms] [job="ID:129, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.765 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=8] [job="ID:129, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.781 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=90] [neededSchemaVersion=91] ["elapsed time"=1.811504ms] [gotSchemaVersion=91] [phyTblIDs="[126]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2025/04/04 10:35:48.785 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=91] [2025/04/04 10:35:48.787 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=91] ["take time"=9.090627ms] [job="ID:129, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.795 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=8] [job="ID:129, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.811 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=91] [neededSchemaVersion=92] ["elapsed time"=1.719315ms] [gotSchemaVersion=92] [phyTblIDs="[126]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2025/04/04 10:35:48.815 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=92] [2025/04/04 10:35:48.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=92] ["take time"=8.593791ms] [job="ID:129, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.825 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=129] [jobType="drop column"] [2025/04/04 10:35:48.826 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=129] [conn=8] [job="ID:129, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.844 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=129] [2025/04/04 10:35:48.845 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=92] [cur_db=test] [sql="alter table t drop column b"] [user=] [2025/04/04 10:35:48.847 +00:00] [INFO] [executor.go:5057] ["initialize reorg meta"] [category=ddl] [jobSchema=test] [jobTable=t] [jobType="modify column"] [enableDistTask=false] [enableFastReorg=false] [targetScope=] [maxNodeCount=0] [concurrency=4] [batchSize=256] [2025/04/04 10:35:48.858 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:130, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/04 10:35:48.858 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:130, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t modify column a tinyint"] [2025/04/04 10:35:48.863 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:48.881 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=92] [neededSchemaVersion=93] ["elapsed time"=1.926601ms] [gotSchemaVersion=93] [phyTblIDs="[126]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/04 10:35:48.884 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=93] [2025/04/04 10:35:48.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=93] ["take time"=9.348133ms] [job="ID:130, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:48.896 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:48.914 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=93] [neededSchemaVersion=94] ["elapsed time"=1.936746ms] [gotSchemaVersion=94] [phyTblIDs="[126]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/04 10:35:48.917 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=94] [2025/04/04 10:35:48.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=94] ["take time"=9.172632ms] [job="ID:130, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:48.928 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:48.944 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=94] [neededSchemaVersion=95] ["elapsed time"=1.883651ms] [gotSchemaVersion=95] [phyTblIDs="[126]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/04 10:35:48.948 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=95] [2025/04/04 10:35:48.950 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=95] ["take time"=8.763834ms] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:48.958 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:48.962 +00:00] [INFO] [reorg.go:913] ["job get table range"] [category=ddl] [jobID=130] [physicalTableID=126] [startKey=74800000000000007e5f728000000000000001] [endKey=74800000000000007e5f72800000000000000300] [2025/04/04 10:35:48.977 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=130] [2025/04/04 10:35:48.983 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457116994488762372, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:48.989 +00:00] [INFO] [column.go:481] ["start to update table row"] [category=ddl] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457116994488762372, Version: v2, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:4,StartKey:74800000000000007e5f728000000000000001,EndKey:74800000000000007e5f72800000000000000300,First:false,PhysicalTableID:126,Ingest mode:false"] [2025/04/04 10:35:48.994 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=126] ["start key"=74800000000000007e5f728000000000000001] ["end key"=74800000000000007e5f72800000000000000300] [2025/04/04 10:35:48.994 +00:00] [INFO] [backfilling.go:546] ["load table ranges from PD done"] [category=ddl] [physicalTableID=126] ["range start"=74800000000000007e5f728000000000000001] ["range end"=74800000000000007e5f72800000000000000300] ["range count"=1] [2025/04/04 10:35:48.994 +00:00] [INFO] [backfilling.go:1056] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000007e5f728000000000000001] [endKey=74800000000000007e5f72800000000000000300] [2025/04/04 10:35:48.995 +00:00] [INFO] [backfilling.go:653] ["get backfill range task, change end key"] [category=ddl] [id=0] [pTbl=126] ["end key"=74800000000000007e5f72800000000000000300] ["current end key"=74800000000000007e5f72800000000000000300] [2025/04/04 10:35:48.995 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=130] [2025/04/04 10:35:48.995 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=130] [2025/04/04 10:35:48.995 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=130] [2025/04/04 10:35:48.996 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:35:49.000 +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.770634ms] [2025/04/04 10:35:49.000 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=130] [2025/04/04 10:35:49.000 +00:00] [INFO] [backfilling.go:1002] ["backfill workers successfully processed"] [category=ddl] [element=ID:4,TypeKey:_col_] ["total added count"=3] ["start key"=74800000000000007e5f728000000000000001] [2025/04/04 10:35:49.010 +00:00] [INFO] [column.go:583] ["update column and indexes"] [category=ddl] ["job ID"=130] [element=ID:2,TypeKey:_idx_] ["start key"=74800000000000007e5f728000000000000001] ["end key"=74800000000000007e5f72800000000000000300] [2025/04/04 10:35:49.010 +00:00] [INFO] [index.go:2404] ["start to add table index"] [category=ddl] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457116994488762372, Version: v2, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:74800000000000007e5f728000000000000001,EndKey:74800000000000007e5f72800000000000000300,First:false,PhysicalTableID:126,Ingest mode:false"] [2025/04/04 10:35:49.013 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=126] ["start key"=74800000000000007e5f728000000000000001] ["end key"=74800000000000007e5f72800000000000000300] [2025/04/04 10:35:49.014 +00:00] [INFO] [backfilling.go:546] ["load table ranges from PD done"] [category=ddl] [physicalTableID=126] ["range start"=74800000000000007e5f728000000000000001] ["range end"=74800000000000007e5f72800000000000000300] ["range count"=1] [2025/04/04 10:35:49.014 +00:00] [INFO] [backfilling.go:1056] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000007e5f728000000000000001] [endKey=74800000000000007e5f72800000000000000300] [2025/04/04 10:35:49.015 +00:00] [INFO] [backfilling.go:653] ["get backfill range task, change end key"] [category=ddl] [id=0] [pTbl=126] ["end key"=74800000000000007e5f72800000000000000300] ["current end key"=74800000000000007e5f72800000000000000300] [2025/04/04 10:35:49.015 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=130] [2025/04/04 10:35:49.015 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=130] [2025/04/04 10:35:49.015 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=130] [2025/04/04 10:35:49.020 +00:00] [INFO] [backfilling.go:398] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 1, 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.587771ms] [2025/04/04 10:35:49.020 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=130] [2025/04/04 10:35:49.020 +00:00] [INFO] [backfilling.go:1002] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=3] ["start key"=74800000000000007e5f728000000000000001] [2025/04/04 10:35:49.020 +00:00] [INFO] [reorg.go:409] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2025/04/04 10:35:49.031 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: modify column, Table ID: 126, Table Name: t, Column ID: 4, Column Name: a)"] [2025/04/04 10:35:49.047 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=95] [neededSchemaVersion=96] ["elapsed time"=1.710868ms] [gotSchemaVersion=96] [phyTblIDs="[126]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/04 10:35:49.050 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=96] [2025/04/04 10:35:49.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=96] ["take time"=9.063048ms] [job="ID:130, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:126, RowCount:3, ArgLen:1, start time: 2025-04-04 10:35:48.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457116994488762372, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:49.062 +00:00] [INFO] [delete_range.go:448] ["insert into delete-range indices"] [category=ddl] [jobID=130] [tableID=126] [indexIDs="[1]"] [comment="modify column: table ID"] [2025/04/04 10:35:49.067 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=130] [jobType="modify column"] [2025/04/04 10:35:49.068 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:126, RowCount:3, ArgLen:1, start time: 2025-04-04 10:35:48.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457116994488762372, Version: v2, UniqueWarnings:0"] [2025/04/04 10:35:49.091 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=130] [2025/04/04 10:35:49.091 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=96] [cur_db=test] [sql="alter table t modify column a tinyint"] [user=] [2025/04/04 10:35:49.096 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:35:48.497 +0000 UTC"] [2025/04/04 10:35:49.107 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:131, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:49.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:35:48.497000'"] [2025/04/04 10:35:49.107 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:131, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:49.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:49.113 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:49.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:49.119 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=131] [2025/04/04 10:35:49.126 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:49.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:49.158 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:35:49.202 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=601ms] [requiredStaleness=701ms] [prevState=normal] [newState=adapting] [2025/04/04 10:35:49.239 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=96] [neededSchemaVersion=97] ["elapsed time"=157.63µs] [gotSchemaVersion=97] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:35:49.242 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=97] [2025/04/04 10:35:49.244 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=97] ["take time"=7.282739ms] [job="ID:131, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:49.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:49.253 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:49.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:49.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 10:35:49.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 10:35:49.292 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.362324ms] ["completed regions"=1] [2025/04/04 10:35:49.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 10:35:49.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 10:35:49.297 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.299051ms] ["completed regions"=1] [2025/04/04 10:35:49.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 10:35:49.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 10:35:49.301 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.12925ms] ["completed regions"=1] [2025/04/04 10:35:49.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 10:35:49.305 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:35:49.306 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.340482ms] ["completed regions"=1] [2025/04/04 10:35:49.306 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:35:49.310 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:35:49.311 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.925903ms] ["completed regions"=1] [2025/04/04 10:35:49.311 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:35:49.315 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:35:49.316 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.539953ms] ["completed regions"=1] [2025/04/04 10:35:49.316 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:35:49.319 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:35:49.320 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.035097ms] ["completed regions"=1] [2025/04/04 10:35:49.320 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:35:49.323 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:35:49.325 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.896315ms] ["completed regions"=1] [2025/04/04 10:35:49.325 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:35:49.328 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:35:49.329 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.802865ms] ["completed regions"=1] [2025/04/04 10:35:49.329 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:35:49.332 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:35:49.333 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.614324ms] ["completed regions"=1] [2025/04/04 10:35:49.333 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:35:49.336 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:35:49.337 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.577032ms] ["completed regions"=1] [2025/04/04 10:35:49.337 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:35:49.340 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:35:49.341 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.01513ms] ["completed regions"=1] [2025/04/04 10:35:49.341 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:35:49.344 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:35:49.345 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.546352ms] ["completed regions"=1] [2025/04/04 10:35:49.345 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:35:49.348 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:35:49.349 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.526723ms] ["completed regions"=1] [2025/04/04 10:35:49.349 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:35:49.352 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:35:49.353 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.332887ms] ["completed regions"=1] [2025/04/04 10:35:49.353 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:35:49.356 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:35:49.357 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.425692ms] ["completed regions"=1] [2025/04/04 10:35:49.357 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:35:49.360 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:35:49.361 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.198428ms] ["completed regions"=1] [2025/04/04 10:35:49.361 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:35:49.363 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:35:49.365 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.385532ms] ["completed regions"=1] [2025/04/04 10:35:49.365 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:35:49.367 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:35:49.368 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=2.981351ms] ["completed regions"=1] [2025/04/04 10:35:49.368 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:35:49.370 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:35:49.372 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.021871ms] ["completed regions"=1] [2025/04/04 10:35:49.372 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:35:49.374 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:35:49.375 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.248626ms] ["completed regions"=1] [2025/04/04 10:35:49.375 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:35:49.378 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:35:49.379 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.940288ms] ["completed regions"=1] [2025/04/04 10:35:49.379 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:35:49.381 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:35:49.382 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.799181ms] ["completed regions"=1] [2025/04/04 10:35:49.382 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:35:49.384 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:35:49.385 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.956458ms] ["completed regions"=1] [2025/04/04 10:35:49.385 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:35:49.388 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:35:49.389 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.9912ms] ["completed regions"=1] [2025/04/04 10:35:49.389 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:35:49.391 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:35:49.392 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.635316ms] ["completed regions"=1] [2025/04/04 10:35:49.392 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:35:49.394 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:35:49.395 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.511078ms] ["completed regions"=1] [2025/04/04 10:35:49.395 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:35:49.397 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:35:49.398 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.60768ms] ["completed regions"=1] [2025/04/04 10:35:49.398 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:35:49.400 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:35:49.401 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.502727ms] ["completed regions"=1] [2025/04/04 10:35:49.401 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:35:49.403 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:35:49.404 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.402587ms] ["completed regions"=1] [2025/04/04 10:35:49.404 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:35:49.405 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:35:49.406 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.442754ms] ["completed regions"=1] [2025/04/04 10:35:49.407 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:35:49.408 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:35:49.409 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.387697ms] ["completed regions"=1] [2025/04/04 10:35:49.409 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:35:49.411 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:35:49.412 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.269127ms] ["completed regions"=1] [2025/04/04 10:35:49.412 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:35:49.414 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:35:49.415 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.370999ms] ["completed regions"=1] [2025/04/04 10:35:49.415 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:35:49.416 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:35:49.417 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.207374ms] ["completed regions"=1] [2025/04/04 10:35:49.417 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:35:49.419 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:35:49.420 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.199601ms] ["completed regions"=1] [2025/04/04 10:35:49.420 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:35:49.422 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:35:49.423 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.104526ms] ["completed regions"=1] [2025/04/04 10:35:49.423 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:35:49.424 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:35:49.425 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.182802ms] ["completed regions"=1] [2025/04/04 10:35:49.425 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:35:49.427 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:35:49.429 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=3.333256ms] ["completed regions"=1] [2025/04/04 10:35:49.429 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:35:49.430 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:35:49.431 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.026927ms] ["completed regions"=1] [2025/04/04 10:35:49.431 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:35:49.433 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:35:49.434 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.932383ms] ["completed regions"=1] [2025/04/04 10:35:49.434 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:35:49.435 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:35:49.436 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.775474ms] ["completed regions"=1] [2025/04/04 10:35:49.436 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:35:49.438 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:35:49.439 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:35:49.440 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:35:49.442 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.285394ms] ["completed regions"=3] [2025/04/04 10:35:49.448 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=131] [2025/04/04 10:35:49.455 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:49.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:49.455 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:35:49.459 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:35:49.461 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 10:35:49.461 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.011097ms] ["completed regions"=1] [2025/04/04 10:35:49.461 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:35:49.465 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:35:49.466 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 10:35:49.466 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.406263ms] ["completed regions"=1] [2025/04/04 10:35:49.466 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:35:49.470 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:35:49.471 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 10:35:49.471 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.212838ms] ["completed regions"=1] [2025/04/04 10:35:49.471 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:35:49.474 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:35:49.475 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 10:35:49.475 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.955369ms] ["completed regions"=1] [2025/04/04 10:35:49.475 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:35:49.479 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:35:49.480 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 10:35:49.480 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.944253ms] ["completed regions"=1] [2025/04/04 10:35:49.480 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:35:49.484 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:35:49.484 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 10:35:49.485 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.071969ms] ["completed regions"=1] [2025/04/04 10:35:49.485 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:35:49.488 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:35:49.489 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 10:35:49.489 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.682454ms] ["completed regions"=1] [2025/04/04 10:35:49.489 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:35:49.492 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:35:49.493 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 10:35:49.493 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.926004ms] ["completed regions"=1] [2025/04/04 10:35:49.493 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:35:49.496 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:35:49.497 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 10:35:49.497 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.70303ms] ["completed regions"=1] [2025/04/04 10:35:49.497 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:35:49.500 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:35:49.501 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 10:35:49.501 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.613167ms] ["completed regions"=1] [2025/04/04 10:35:49.501 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:35:49.504 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:35:49.505 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 10:35:49.505 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.529453ms] ["completed regions"=1] [2025/04/04 10:35:49.506 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:35:49.508 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:35:49.510 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 10:35:49.510 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.436986ms] ["completed regions"=1] [2025/04/04 10:35:49.510 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:35:49.513 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:35:49.514 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 10:35:49.514 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.310474ms] ["completed regions"=1] [2025/04/04 10:35:49.514 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:35:49.517 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:35:49.518 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 10:35:49.518 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.415051ms] ["completed regions"=1] [2025/04/04 10:35:49.518 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:35:49.521 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:35:49.522 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 10:35:49.522 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.376999ms] ["completed regions"=1] [2025/04/04 10:35:49.522 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:35:49.524 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:35:49.525 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 10:35:49.525 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.125096ms] ["completed regions"=1] [2025/04/04 10:35:49.525 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:35:49.528 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:35:49.529 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 10:35:49.529 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.240461ms] ["completed regions"=1] [2025/04/04 10:35:49.529 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:35:49.531 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:35:49.532 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 10:35:49.532 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.098851ms] ["completed regions"=1] [2025/04/04 10:35:49.533 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:35:49.535 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:35:49.536 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 10:35:49.536 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.109711ms] ["completed regions"=1] [2025/04/04 10:35:49.536 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:35:49.538 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:35:49.539 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 10:35:49.539 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.013658ms] ["completed regions"=1] [2025/04/04 10:35:49.540 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:35:49.542 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:35:49.543 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 10:35:49.543 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.945101ms] ["completed regions"=1] [2025/04/04 10:35:49.543 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:35:49.545 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:35:49.546 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 10:35:49.546 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.016846ms] ["completed regions"=1] [2025/04/04 10:35:49.546 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:35:49.549 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:35:49.550 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 10:35:49.550 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.905829ms] ["completed regions"=1] [2025/04/04 10:35:49.550 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:35:49.552 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:35:49.553 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 10:35:49.553 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.735486ms] ["completed regions"=1] [2025/04/04 10:35:49.553 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:35:49.555 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:35:49.556 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 10:35:49.556 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.878588ms] ["completed regions"=1] [2025/04/04 10:35:49.556 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:35:49.558 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:35:49.559 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 10:35:49.559 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.659378ms] ["completed regions"=1] [2025/04/04 10:35:49.559 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:35:49.561 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:35:49.562 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 10:35:49.562 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.73241ms] ["completed regions"=1] [2025/04/04 10:35:49.562 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:35:49.565 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:35:49.566 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 10:35:49.566 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.843297ms] ["completed regions"=1] [2025/04/04 10:35:49.566 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:35:49.567 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:35:49.568 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 10:35:49.569 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.528544ms] ["completed regions"=1] [2025/04/04 10:35:49.569 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:35:49.571 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:35:49.572 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 10:35:49.572 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.881848ms] ["completed regions"=1] [2025/04/04 10:35:49.572 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:35:49.574 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:35:49.575 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 10:35:49.575 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.457803ms] ["completed regions"=1] [2025/04/04 10:35:49.575 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:35:49.577 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:35:49.578 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 10:35:49.578 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.517356ms] ["completed regions"=1] [2025/04/04 10:35:49.578 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:35:49.579 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:35:49.580 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 10:35:49.580 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.395373ms] ["completed regions"=1] [2025/04/04 10:35:49.581 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:35:49.582 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:35:49.583 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 10:35:49.583 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.310993ms] ["completed regions"=1] [2025/04/04 10:35:49.583 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:35:49.585 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:35:49.586 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 10:35:49.586 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.442914ms] ["completed regions"=1] [2025/04/04 10:35:49.586 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:35:49.588 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:35:49.589 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 10:35:49.589 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.31683ms] ["completed regions"=1] [2025/04/04 10:35:49.589 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:35:49.591 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:35:49.592 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 10:35:49.592 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.328465ms] ["completed regions"=1] [2025/04/04 10:35:49.592 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:35:49.593 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:35:49.594 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 10:35:49.594 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.060533ms] ["completed regions"=1] [2025/04/04 10:35:49.594 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:35:49.596 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:35:49.597 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 10:35:49.597 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.052924ms] ["completed regions"=1] [2025/04/04 10:35:49.597 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:35:49.598 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:35:49.599 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 10:35:49.599 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.913407ms] ["completed regions"=1] [2025/04/04 10:35:49.599 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:35:49.600 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:35:49.601 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 10:35:49.601 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.886971ms] ["completed regions"=1] [2025/04/04 10:35:49.601 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:35:49.603 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:35:49.604 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 10:35:49.604 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.853649ms] ["completed regions"=1] [2025/04/04 10:35:49.604 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:35:49.605 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:35:49.606 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:35:49.607 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:35:49.609 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 10:35:49.609 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.861999ms] ["completed regions"=3] [2025/04/04 10:35:49.609 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:35:49.625 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 10:35:49.713 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=97] [neededSchemaVersion=98] ["elapsed time"=88.936739ms] [2025/04/04 10:35:49.713 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:49.717 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=98] [2025/04/04 10:35:49.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=98] ["take time"=96.973756ms] [job="ID:131, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:49.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:49.792 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:49.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:49.805 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=131] [2025/04/04 10:35:49.806 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 8\n# Query_time: 0.710429854\n# Parse_time: 0.000090996\n# Compile_time: 0.000269803\n# Rewrite_time: 0.000002847\n# Optimize_time: 0.000045284\n# Wait_TS: 0.000692431\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-04 10:35:48.497000';"] [2025/04/04 10:35:49.808 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=i] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/04 10:35:49.830 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:35:49.830 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:35:49.830 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [] [2025/04/04 10:35:49.830 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [2025/04/04 10:35:49.830 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:49.830 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 25, tp add index"] ["take time"=80.965µs] [2025/04/04 10:35:49.830 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:49.830 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 21, tp general"] ["take time"=62.116µs] [2025/04/04 10:35:49.830 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 22, tp general"] ["take time"=59.181µs] [2025/04/04 10:35:49.830 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 23, tp general"] ["take time"=44.577µs] [2025/04/04 10:35:49.831 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 24, tp general"] ["take time"=58.708µs] [2025/04/04 10:35:49.831 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 26, tp general"] ["take time"=30.471µs] [2025/04/04 10:35:49.831 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [2025/04/04 10:35:49.831 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [2025/04/04 10:35:49.832 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:35:49.832 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:35:49.837 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] ["take time"=7.012064ms] [2025/04/04 10:35:49.837 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [2025/04/04 10:35:49.837 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:35:49.837 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:35:49.837 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/b141691a-e5a8-4e5d-b887-6c7ea14784c7] [watcherID=5294158e-4a58-4a1b-9d28-805e2dfaf5c1] [2025/04/04 10:35:49.837 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/b141691a-e5a8-4e5d-b887-6c7ea14784c7] [2025/04/04 10:35:49.837 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [ttl-worker=task-manager] [ttl-worker=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [originalCount=4] [newCount=0] [2025/04/04 10:35:49.837 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:49.837 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:49.837 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:49.837 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:49.837 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [ttl-worker=task-manager] [ttl-worker=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [originalCount=4] [newCount=0] [2025/04/04 10:35:49.840 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:49.840 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:49.840 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:49.840 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:49.842 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [2025/04/04 10:35:49.842 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:35:49.843 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=197] [2025/04/04 10:35:49.843 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:35:49.843 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:35:49.843 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:49.843 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:35:49.843 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:35:49.843 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:35:49.844 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:49.844 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:49.844 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:49.843 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:35:49.844 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:49.844 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=083b99cd-90b2-4194-9145-5c1ea122c0a7] [] [2025/04/04 10:35:49.844 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:49.844 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:49.844 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:49.843 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:49.844 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:49.844 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:49.844 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:35:49.844 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:35:49.844 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:35:49.844 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:49.844 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:35:49.844 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:49.844 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:49.844 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:49.844 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:49.844 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:35:49.844 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:49.844 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:49.844 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:49.844 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:35:49.844 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:49.843 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:35:49.844 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [] [2025/04/04 10:35:49.844 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:49.844 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [2025/04/04 10:35:49.844 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:35:49.843 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:49.844 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:49.843 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:35:49.844 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [2025/04/04 10:35:49.844 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:49.843 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [2025/04/04 10:35:49.844 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [2025/04/04 10:35:49.844 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:35:49.844 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:35:49.844 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:49.844 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:49.844 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:35:49.844 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:35:49.844 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:49.844 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:49.844 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:49.844 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=083b99cd-90b2-4194-9145-5c1ea122c0a7] [2025/04/04 10:35:49.844 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=083b99cd-90b2-4194-9145-5c1ea122c0a7] [2025/04/04 10:35:49.844 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:35:49.844 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=083b99cd-90b2-4194-9145-5c1ea122c0a7] [2025/04/04 10:35:49.844 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:49.843 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:35:49.845 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:49.844 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:35:49.844 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:35:49.845 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:49.844 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:35:49.845 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:49.844 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:49.844 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:49.844 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:35:49.844 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:35:49.844 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:35:49.845 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [2025/04/04 10:35:49.845 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:35:49.845 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:35:49.845 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:35:49.845 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:35:49.845 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:49.846 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:35:49.846 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:35:49.846 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:49.846 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=083b99cd-90b2-4194-9145-5c1ea122c0a7] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:49.846 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:35:49.846 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:49.846 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:49.846 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:35:49.846 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:35:49.846 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:49.846 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:35:49.847 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [error="context canceled"] [2025/04/04 10:35:49.847 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [2025/04/04 10:35:49.866 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:35:49.866 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:49.905 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=57f9cfa6-aa2a-46d7-a48d-3a6e5bd82118] [error="context canceled"] [2025/04/04 10:35:49.906 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:35:49.906 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:49.916 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.509836ms] [2025/04/04 10:35:49.919 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:49.919 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:49.919 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:49.919 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:49.919 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:49.919 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:49.919 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:49.919 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:49.919 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:49.919 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:49.919 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:49.919 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:49.921 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackAddDropModifyColumn (2.94s) === NAME === RUN TestFlashbackBasicRenameDropCreateTable [2025/04/04 10:35:49.929 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:49.930 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:49.931 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404346513542897] [2025/04/04 10:35:49.932 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:49.932 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:49.932 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:49.932 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:49.932 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:49.932 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:49.933 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:49.933 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:49.937 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:35:49.942 +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 10:35:49.943 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:49.944 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:49.957 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404346513542897] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:35:49.967 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:35:50.001 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1269] ["lease id"=6f1896005d3c9c87] [2025/04/04 10:35:50.003 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:35:50.091 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=98] ["elapsed time"=85.519178ms] [2025/04/04 10:35:50.092 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:50.094 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:35:50.099 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=bc37a465-a90b-4045-8440-f1ab71925291] [runWorker=true] [jobVersion=v2] [2025/04/04 10:35:50.099 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:35:50.101 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=bc37a465-a90b-4045-8440-f1ab71925291] [2025/04/04 10:35:50.102 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:35:50.102 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237168082944/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:35:50.103 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:50.103 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:50.103 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:50.103 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:50.103 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:50.103 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:50.103 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:50.103 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:35:50.103 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:50.103 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:50.103 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:50.103 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:50.103 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=726ecdb6-9c2d-4936-9d21-6097e5475f85] [2025/04/04 10:35:50.105 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d3c9c8d] [ownerID=bc37a465-a90b-4045-8440-f1ab71925291] [op=none] [2025/04/04 10:35:50.105 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=bc37a465-a90b-4045-8440-f1ab71925291] [2025/04/04 10:35:50.105 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=bc37a465-a90b-4045-8440-f1ab71925291] [ownerKey=/tidb/ddl/fg/owner/6f1896005d3c9c8d] [currRev=496] [2025/04/04 10:35:50.106 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:50.106 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=726ecdb6-9c2d-4936-9d21-6097e5475f85] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:50.108 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:35:50.108 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa96005d3c9b1a] [ownerID=726ecdb6-9c2d-4936-9d21-6097e5475f85] [op=none] [2025/04/04 10:35:50.108 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=726ecdb6-9c2d-4936-9d21-6097e5475f85] [2025/04/04 10:35:50.108 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=726ecdb6-9c2d-4936-9d21-6097e5475f85] [ownerKey=/tidb/br-stream/owner/3eaa96005d3c9b1a] [currRev=497] [2025/04/04 10:35:50.109 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d3c9c8d] [ownerID=bc37a465-a90b-4045-8440-f1ab71925291] [op=none] [2025/04/04 10:35:50.109 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=bc37a465-a90b-4045-8440-f1ab71925291] [op=none] [2025/04/04 10:35:50.109 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:35:50.114 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=bc37a465-a90b-4045-8440-f1ab71925291] [2025/04/04 10:35:50.115 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:50.115 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:35:50.127 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:50.134 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:50.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:50.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:50.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:50.141 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:50.141 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:35:50.141 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:35:50.141 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:35:50.141 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:35:50.141 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:35:50.142 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:50.142 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=bc37a465-a90b-4045-8440-f1ab71925291] [2025/04/04 10:35:50.142 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:50.142 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:50.142 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:50.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:50.143 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:35:50.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:50.143 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:35:50.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:50.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:50.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:50.143 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:35:50.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:50.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:50.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:50.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:50.145 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f1896005d3c9c95] [ownerID=bc37a465-a90b-4045-8440-f1ab71925291] [op=none] [2025/04/04 10:35:50.145 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=bc37a465-a90b-4045-8440-f1ab71925291] [2025/04/04 10:35:50.145 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=bc37a465-a90b-4045-8440-f1ab71925291] [ownerKey=/tidb/stats/owner/6f1896005d3c9c95] [currRev=499] [2025/04/04 10:35:50.145 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:35:50.147 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/99d03c49-9b33-4746-8607-17964d368129] [2025/04/04 10:35:50.147 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=bc37a465-a90b-4045-8440-f1ab71925291] [ttl-worker=task-manager] [ttl-worker=bc37a465-a90b-4045-8440-f1ab71925291] [originalCount=0] [newCount=4] [2025/04/04 10:35:50.147 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=bc37a465-a90b-4045-8440-f1ab71925291] [ttl-worker=task-manager] [ttl-worker=bc37a465-a90b-4045-8440-f1ab71925291] [originalCount=0] [newCount=4] [2025/04/04 10:35:50.147 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=bc37a465-a90b-4045-8440-f1ab71925291] [2025/04/04 10:35:50.149 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:35:50.149 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:50.149 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:35:50.149 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743762950149407350 [2025/04/04 10:35:50.154 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:35:50.160 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.061837ms] [2025/04/04 10:35:50.160 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:35:50.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:50.162 +00:00] [INFO] [set.go:172] ["set global var"] [conn=9] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:35:50.176 +00:00] [INFO] [set.go:172] ["set global var"] [conn=9] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:35:50.178 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=98] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:35:50.191 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:35:50.191 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:50.197 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=9] [job="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.213 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=98] [neededSchemaVersion=99] ["elapsed time"=2.177263ms] [gotSchemaVersion=99] [phyTblIDs="[126]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:50.216 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=99] [2025/04/04 10:35:50.218 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=99] ["take time"=9.103909ms] [job="ID:132, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.227 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=9] [job="ID:132, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.243 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=99] [neededSchemaVersion=100] ["elapsed time"=2.193349ms] [gotSchemaVersion=100] [phyTblIDs="[126]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:50.247 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=100] [2025/04/04 10:35:50.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=100] ["take time"=8.83088ms] [job="ID:132, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.256 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=9] [job="ID:132, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.262 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 126, Old Table Name: t)"] [2025/04/04 10:35:50.275 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=100] [neededSchemaVersion=101] ["elapsed time"=1.050681ms] [gotSchemaVersion=101] [phyTblIDs="[126]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:50.278 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=101] [2025/04/04 10:35:50.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=101] ["take time"=7.401337ms] [job="ID:132, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.289 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=132] [tableIDs="[126]"] [comment="drop table: table ID"] [2025/04/04 10:35:50.296 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=132] [jobType="drop table"] [2025/04/04 10:35:50.297 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=132] [conn=9] [job="ID:132, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.316 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=132] [2025/04/04 10:35:50.316 +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: 1743762950317200535 [2025/04/04 10:35:50.331 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=101] [cur_db=test] [sql="drop table if exists t, t1, t2, t3"] [user=] [2025/04/04 10:35:50.344 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:50.344 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index i(a))"] [2025/04/04 10:35:50.349 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=134] [conn=10] [job="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.354 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 133, Table Name: t)"] [2025/04/04 10:35:50.368 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=101] [neededSchemaVersion=102] ["elapsed time"=1.615739ms] [gotSchemaVersion=102] [phyTblIDs="[133]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:50.372 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=102] [2025/04/04 10:35:50.373 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=102] ["take time"=8.28362ms] [job="ID:134, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.384 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=134] [conn=10] [job="ID:134, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.394 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=134] [2025/04/04 10:35:50.394 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=102] [cur_db=test] [sql="create table t(a int, index i(a))"] [user=] [2025/04/04 10:35:50.413 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:50.413 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int, index i(a))"] [2025/04/04 10:35:50.419 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=136] [conn=10] [job="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.424 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 135, Table Name: t1)"] [2025/04/04 10:35:50.438 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=102] [neededSchemaVersion=103] ["elapsed time"=1.598251ms] [gotSchemaVersion=103] [phyTblIDs="[135]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:50.442 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=136] [version=103] [2025/04/04 10:35:50.443 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=103] ["take time"=8.349148ms] [job="ID:136, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.454 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=136] [conn=10] [job="ID:136, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.466 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=136] [2025/04/04 10:35:50.466 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=103] [cur_db=test] [sql="create table t1(a int, index i(a))"] [user=] [2025/04/04 10:35:51.113 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:35:51.113 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:51.113 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:51.113 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:51.148 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:35:51.148 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:35:51.148 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/99d03c49-9b33-4746-8607-17964d368129] [watcherID=62c60989-5bed-4e5a-ba65-882e70018bab] [2025/04/04 10:35:51.149 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:35:51.154 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:35:51.154 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:35:51.154 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:35:51.154 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:35:51.489 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:137, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="rename table t to t3"] [2025/04/04 10:35:51.489 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:137, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:51.494 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=137] [conn=10] [job="ID:137, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.514 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=103] [neededSchemaVersion=104] ["elapsed time"=1.715314ms] [gotSchemaVersion=104] [phyTblIDs="[133]"] [actionTypes="[14]"] [diffTypes="[\"rename table\"]"] [2025/04/04 10:35:51.518 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=137] [version=104] [2025/04/04 10:35:51.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=104] ["take time"=9.156961ms] [job="ID:137, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.530 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=137] [conn=10] [job="ID:137, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.544 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=104] [neededSchemaVersion=105] ["elapsed time"=1.653332ms] [gotSchemaVersion=105] [phyTblIDs="[133]"] [actionTypes="[14]"] [diffTypes="[\"rename table\"]"] [2025/04/04 10:35:51.548 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=137] [version=105] [2025/04/04 10:35:51.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=105] ["take time"=8.425274ms] [job="ID:137, Type:rename table, State:done, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.559 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=137] [conn=10] [job="ID:137, Type:rename table, State:synced, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.570 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=137] [2025/04/04 10:35:51.570 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=105] [cur_db=test] [sql="rename table t to t3"] [user=] [2025/04/04 10:35:51.582 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:51.582 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table t1"] [2025/04/04 10:35:51.588 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=10] [job="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.603 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=105] [neededSchemaVersion=106] ["elapsed time"=1.925206ms] [gotSchemaVersion=106] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:51.607 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=106] [2025/04/04 10:35:51.609 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=106] ["take time"=9.149944ms] [job="ID:138, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.618 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=10] [job="ID:138, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.633 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=106] [neededSchemaVersion=107] ["elapsed time"=1.945041ms] [gotSchemaVersion=107] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:51.642 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=107] [2025/04/04 10:35:51.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=107] ["take time"=13.706335ms] [job="ID:138, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.651 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=10] [job="ID:138, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.658 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 135, Old Table Name: t1)"] [2025/04/04 10:35:51.671 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=107] [neededSchemaVersion=108] ["elapsed time"=1.080323ms] [gotSchemaVersion=108] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:51.674 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=108] [2025/04/04 10:35:51.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=108] ["take time"=8.096482ms] [job="ID:138, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.686 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=138] [tableIDs="[135]"] [comment="drop table: table ID"] [2025/04/04 10:35:51.692 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=138] [jobType="drop table"] [2025/04/04 10:35:51.693 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=138] [conn=10] [job="ID:138, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.711 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=138] [2025/04/04 10:35:51.711 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=108] [cur_db=test] [sql="drop table t1"] [user=] [2025/04/04 10:35:51.724 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:51.724 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2(a int, index i(a))"] [2025/04/04 10:35:51.730 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=10] [job="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.734 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 139, Table Name: t2)"] [2025/04/04 10:35:51.748 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=108] [neededSchemaVersion=109] ["elapsed time"=1.633934ms] [gotSchemaVersion=109] [phyTblIDs="[139]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:51.752 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=109] [2025/04/04 10:35:51.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=109] ["take time"=8.985161ms] [job="ID:140, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.765 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=140] [conn=10] [job="ID:140, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.776 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=140] [2025/04/04 10:35:51.776 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=109] [cur_db=test] [sql="create table t2(a int, index i(a))"] [user=] [2025/04/04 10:35:51.794 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:35:51.448 +0000 UTC"] [2025/04/04 10:35:51.805 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:141, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:51.805 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:141, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:35:51.448000'"] [2025/04/04 10:35:51.810 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=10] [job="ID:141, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.815 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=141] [2025/04/04 10:35:51.823 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=10] [job="ID:141, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.900 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=407ms] [prevState=unknown(0)] [newState=adapting] [2025/04/04 10:35:51.931 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=109] [neededSchemaVersion=110] ["elapsed time"=164.731µs] [gotSchemaVersion=110] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:35:51.935 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=110] [2025/04/04 10:35:51.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=110] ["take time"=7.146943ms] [job="ID:141, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.945 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=10] [job="ID:141, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.978 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:35:51.981 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:35:51.983 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.234012ms] ["completed regions"=1] [2025/04/04 10:35:51.983 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:35:51.987 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:35:51.988 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.19942ms] ["completed regions"=1] [2025/04/04 10:35:51.988 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:35:51.991 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:35:51.992 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=3.9656ms] ["completed regions"=1] [2025/04/04 10:35:51.992 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:35:51.995 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:35:51.996 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.837666ms] ["completed regions"=1] [2025/04/04 10:35:51.997 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:35:52.000 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:35:52.001 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.920921ms] ["completed regions"=1] [2025/04/04 10:35:52.001 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:35:52.004 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:35:52.005 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.973645ms] ["completed regions"=1] [2025/04/04 10:35:52.005 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:35:52.008 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:35:52.009 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.72581ms] ["completed regions"=1] [2025/04/04 10:35:52.010 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:35:52.013 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:35:52.014 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.991392ms] ["completed regions"=1] [2025/04/04 10:35:52.014 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:35:52.017 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:35:52.018 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.718846ms] ["completed regions"=1] [2025/04/04 10:35:52.018 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:35:52.021 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:35:52.022 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.496024ms] ["completed regions"=1] [2025/04/04 10:35:52.022 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:35:52.025 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:35:52.026 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.539977ms] ["completed regions"=1] [2025/04/04 10:35:52.026 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:35:52.029 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:35:52.030 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.983036ms] ["completed regions"=1] [2025/04/04 10:35:52.030 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:35:52.033 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:35:52.034 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.421058ms] ["completed regions"=1] [2025/04/04 10:35:52.034 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:35:52.037 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:35:52.038 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.427889ms] ["completed regions"=1] [2025/04/04 10:35:52.038 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:35:52.041 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:35:52.042 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.561956ms] ["completed regions"=1] [2025/04/04 10:35:52.042 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:35:52.045 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:35:52.046 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.284612ms] ["completed regions"=1] [2025/04/04 10:35:52.046 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:35:52.048 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:35:52.049 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.212351ms] ["completed regions"=1] [2025/04/04 10:35:52.049 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:35:52.052 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:35:52.053 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.205828ms] ["completed regions"=1] [2025/04/04 10:35:52.053 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:35:52.056 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:35:52.057 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.141691ms] ["completed regions"=1] [2025/04/04 10:35:52.057 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:35:52.059 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:35:52.060 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.08105ms] ["completed regions"=1] [2025/04/04 10:35:52.060 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:35:52.062 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:35:52.063 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.864167ms] ["completed regions"=1] [2025/04/04 10:35:52.063 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:35:52.066 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:35:52.067 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.914481ms] ["completed regions"=1] [2025/04/04 10:35:52.067 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:35:52.069 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:35:52.070 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.96959ms] ["completed regions"=1] [2025/04/04 10:35:52.070 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:35:52.072 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:35:52.073 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.774837ms] ["completed regions"=1] [2025/04/04 10:35:52.073 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:35:52.075 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:35:52.076 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.771538ms] ["completed regions"=1] [2025/04/04 10:35:52.077 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:35:52.079 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:35:52.080 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.757154ms] ["completed regions"=1] [2025/04/04 10:35:52.080 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:35:52.082 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:35:52.083 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.6412ms] ["completed regions"=1] [2025/04/04 10:35:52.083 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:35:52.085 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:35:52.086 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.64969ms] ["completed regions"=1] [2025/04/04 10:35:52.086 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:35:52.088 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:35:52.089 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.570191ms] ["completed regions"=1] [2025/04/04 10:35:52.089 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:35:52.091 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:35:52.092 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.492091ms] ["completed regions"=1] [2025/04/04 10:35:52.092 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:35:52.094 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:35:52.095 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.441459ms] ["completed regions"=1] [2025/04/04 10:35:52.095 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:35:52.096 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:35:52.097 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.311124ms] ["completed regions"=1] [2025/04/04 10:35:52.097 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:35:52.099 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:35:52.100 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.407145ms] ["completed regions"=1] [2025/04/04 10:35:52.100 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:35:52.102 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:35:52.103 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:35:52.103 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.242404ms] ["completed regions"=1] [2025/04/04 10:35:52.103 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:35:52.105 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:35:52.106 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.352149ms] ["completed regions"=1] [2025/04/04 10:35:52.106 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:35:52.107 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:35:52.108 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.170127ms] ["completed regions"=1] [2025/04/04 10:35:52.108 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:35:52.110 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:35:52.111 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.062576ms] ["completed regions"=1] [2025/04/04 10:35:52.111 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:35:52.112 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:35:52.113 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.110542ms] ["completed regions"=1] [2025/04/04 10:35:52.113 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:35:52.115 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:35:52.116 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.307742ms] ["completed regions"=1] [2025/04/04 10:35:52.116 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:35:52.117 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:35:52.118 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.055345ms] ["completed regions"=1] [2025/04/04 10:35:52.118 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:35:52.120 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:35:52.121 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.893775ms] ["completed regions"=1] [2025/04/04 10:35:52.121 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:35:52.122 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:35:52.123 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.777195ms] ["completed regions"=1] [2025/04/04 10:35:52.123 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:35:52.124 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:35:52.125 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:35:52.126 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:35:52.127 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.087153ms] ["completed regions"=3] [2025/04/04 10:35:52.133 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=141] [2025/04/04 10:35:52.140 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=10] [job="ID:141, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.141 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:35:52.144 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:35:52.147 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 10:35:52.147 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.124341ms] ["completed regions"=1] [2025/04/04 10:35:52.147 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:35:52.151 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:35:52.152 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 10:35:52.152 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.778596ms] ["completed regions"=1] [2025/04/04 10:35:52.152 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:35:52.156 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:35:52.157 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 10:35:52.157 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.309825ms] ["completed regions"=1] [2025/04/04 10:35:52.157 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:35:52.161 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:35:52.162 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 10:35:52.162 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.224295ms] ["completed regions"=1] [2025/04/04 10:35:52.162 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:35:52.165 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:35:52.166 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 10:35:52.166 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.890422ms] ["completed regions"=1] [2025/04/04 10:35:52.166 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:35:52.169 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:35:52.170 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 10:35:52.170 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.848481ms] ["completed regions"=1] [2025/04/04 10:35:52.170 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:35:52.173 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:35:52.175 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 10:35:52.175 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.895523ms] ["completed regions"=1] [2025/04/04 10:35:52.175 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:35:52.178 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:35:52.179 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 10:35:52.179 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.964629ms] ["completed regions"=1] [2025/04/04 10:35:52.179 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:35:52.182 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:35:52.183 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 10:35:52.183 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.774639ms] ["completed regions"=1] [2025/04/04 10:35:52.183 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:35:52.186 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:35:52.188 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 10:35:52.188 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.211273ms] ["completed regions"=1] [2025/04/04 10:35:52.188 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:35:52.191 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:35:52.192 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 10:35:52.192 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.57277ms] ["completed regions"=1] [2025/04/04 10:35:52.192 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:35:52.195 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:35:52.196 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 10:35:52.197 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.428584ms] ["completed regions"=1] [2025/04/04 10:35:52.197 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:35:52.199 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:35:52.200 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 10:35:52.201 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.561552ms] ["completed regions"=1] [2025/04/04 10:35:52.201 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:35:52.203 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:35:52.204 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 10:35:52.204 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.28435ms] ["completed regions"=1] [2025/04/04 10:35:52.204 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:35:52.207 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:35:52.208 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 10:35:52.208 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.40073ms] ["completed regions"=1] [2025/04/04 10:35:52.208 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:35:52.212 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:35:52.213 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 10:35:52.213 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=5.00341ms] ["completed regions"=1] [2025/04/04 10:35:52.213 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:35:52.216 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:35:52.217 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 10:35:52.217 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.302025ms] ["completed regions"=1] [2025/04/04 10:35:52.217 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:35:52.220 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:35:52.221 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 10:35:52.221 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.212169ms] ["completed regions"=1] [2025/04/04 10:35:52.221 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:35:52.223 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:35:52.224 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 10:35:52.225 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.206153ms] ["completed regions"=1] [2025/04/04 10:35:52.225 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:35:52.227 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:35:52.228 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 10:35:52.228 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.14601ms] ["completed regions"=1] [2025/04/04 10:35:52.228 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:35:52.231 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:35:52.232 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 10:35:52.232 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.175022ms] ["completed regions"=1] [2025/04/04 10:35:52.232 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:35:52.234 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:35:52.235 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 10:35:52.235 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.317161ms] ["completed regions"=1] [2025/04/04 10:35:52.236 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:35:52.240 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:35:52.242 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 10:35:52.242 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=5.887403ms] ["completed regions"=1] [2025/04/04 10:35:52.242 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:35:52.244 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:35:52.246 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 10:35:52.246 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.303629ms] ["completed regions"=1] [2025/04/04 10:35:52.246 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:35:52.248 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:35:52.249 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 10:35:52.249 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.20058ms] ["completed regions"=1] [2025/04/04 10:35:52.249 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:35:52.252 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:35:52.253 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 10:35:52.253 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.270583ms] ["completed regions"=1] [2025/04/04 10:35:52.253 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:35:52.255 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:35:52.256 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 10:35:52.256 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.025047ms] ["completed regions"=1] [2025/04/04 10:35:52.256 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:35:52.259 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:35:52.260 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 10:35:52.260 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.902186ms] ["completed regions"=1] [2025/04/04 10:35:52.260 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:35:52.262 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:35:52.264 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 10:35:52.264 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.07549ms] ["completed regions"=1] [2025/04/04 10:35:52.264 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:35:52.266 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:35:52.267 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 10:35:52.267 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.704565ms] ["completed regions"=1] [2025/04/04 10:35:52.267 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:35:52.269 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:35:52.270 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 10:35:52.270 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.670401ms] ["completed regions"=1] [2025/04/04 10:35:52.270 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:35:52.272 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:35:52.273 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 10:35:52.273 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.520805ms] ["completed regions"=1] [2025/04/04 10:35:52.273 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:35:52.275 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:35:52.276 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 10:35:52.276 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.599554ms] ["completed regions"=1] [2025/04/04 10:35:52.276 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:35:52.278 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:35:52.279 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 10:35:52.279 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.416076ms] ["completed regions"=1] [2025/04/04 10:35:52.279 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:35:52.281 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:35:52.281 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 10:35:52.282 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.319531ms] ["completed regions"=1] [2025/04/04 10:35:52.282 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:35:52.283 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:35:52.284 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 10:35:52.284 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.2342ms] ["completed regions"=1] [2025/04/04 10:35:52.284 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:35:52.286 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:35:52.287 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 10:35:52.287 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.344895ms] ["completed regions"=1] [2025/04/04 10:35:52.287 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:35:52.288 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:35:52.289 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 10:35:52.289 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.180435ms] ["completed regions"=1] [2025/04/04 10:35:52.290 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:35:52.291 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:35:52.292 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 10:35:52.292 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.087617ms] ["completed regions"=1] [2025/04/04 10:35:52.292 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:35:52.293 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:35:52.294 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 10:35:52.294 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.060987ms] ["completed regions"=1] [2025/04/04 10:35:52.295 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:35:52.296 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:35:52.297 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 10:35:52.297 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.093331ms] ["completed regions"=1] [2025/04/04 10:35:52.297 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:35:52.298 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:35:52.299 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 10:35:52.299 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.920215ms] ["completed regions"=1] [2025/04/04 10:35:52.299 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:35:52.300 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:35:52.302 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:35:52.302 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:35:52.304 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 10:35:52.305 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.819523ms] ["completed regions"=3] [2025/04/04 10:35:52.305 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:35:52.320 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 10:35:52.405 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=110] [neededSchemaVersion=111] ["elapsed time"=84.441177ms] [2025/04/04 10:35:52.405 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:52.409 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=111] [2025/04/04 10:35:52.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=111] ["take time"=92.467848ms] [job="ID:141, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.480 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=141] [conn=10] [job="ID:141, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.492 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=141] [2025/04/04 10:35:52.493 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 10\n# Query_time: 0.699258523\n# Parse_time: 0.000068806\n# Compile_time: 0.000277933\n# Rewrite_time: 0.000003331\n# Optimize_time: 0.000654661\n# Wait_TS: 0.000406198\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-04 10:35:51.448000';"] [2025/04/04 10:35:52.495 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=i] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/04 10:35:52.516 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t1] ["index name"=i] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t1`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t1` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t1` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/04 10:35:52.538 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=bc37a465-a90b-4045-8440-f1ab71925291] [] [2025/04/04 10:35:52.538 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:35:52.538 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:35:52.538 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=bc37a465-a90b-4045-8440-f1ab71925291] [2025/04/04 10:35:52.538 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:52.538 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:52.538 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 27, tp general"] ["take time"=89.195µs] [2025/04/04 10:35:52.538 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 28, tp general"] ["take time"=65.993µs] [2025/04/04 10:35:52.538 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 29, tp general"] ["take time"=57.467µs] [2025/04/04 10:35:52.538 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 30, tp general"] ["take time"=45.413µs] [2025/04/04 10:35:52.538 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 31, tp general"] ["take time"=42.668µs] [2025/04/04 10:35:52.538 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 32, tp general"] ["take time"=45.414µs] [2025/04/04 10:35:52.539 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 33, tp general"] ["take time"=35.908µs] [2025/04/04 10:35:52.539 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=bc37a465-a90b-4045-8440-f1ab71925291] [2025/04/04 10:35:52.539 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=bc37a465-a90b-4045-8440-f1ab71925291] [2025/04/04 10:35:52.540 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:35:52.541 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:35:52.544 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=bc37a465-a90b-4045-8440-f1ab71925291] ["take time"=6.849405ms] [2025/04/04 10:35:52.544 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=bc37a465-a90b-4045-8440-f1ab71925291] [2025/04/04 10:35:52.545 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:35:52.545 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/99d03c49-9b33-4746-8607-17964d368129] [watcherID=62c60989-5bed-4e5a-ba65-882e70018bab] [2025/04/04 10:35:52.545 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:35:52.545 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/99d03c49-9b33-4746-8607-17964d368129] [2025/04/04 10:35:52.545 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=bc37a465-a90b-4045-8440-f1ab71925291] [ttl-worker=task-manager] [ttl-worker=bc37a465-a90b-4045-8440-f1ab71925291] [originalCount=4] [newCount=0] [2025/04/04 10:35:52.545 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:52.545 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:52.545 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:52.545 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:52.545 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=bc37a465-a90b-4045-8440-f1ab71925291] [ttl-worker=task-manager] [ttl-worker=bc37a465-a90b-4045-8440-f1ab71925291] [originalCount=4] [newCount=0] [2025/04/04 10:35:52.548 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:52.548 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:52.548 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:52.548 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:52.550 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=bc37a465-a90b-4045-8440-f1ab71925291] [2025/04/04 10:35:52.550 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1269] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:35:52.551 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:52.551 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:35:52.551 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:52.551 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:52.551 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:35:52.551 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:52.551 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:35:52.551 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:52.551 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:35:52.551 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:52.551 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:52.551 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:52.551 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:52.551 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:52.551 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:35:52.551 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:52.552 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:35:52.552 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:52.551 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:52.552 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:52.551 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:52.551 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=726ecdb6-9c2d-4936-9d21-6097e5475f85] [] [2025/04/04 10:35:52.551 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:35:52.552 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:35:52.552 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:52.551 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:52.551 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:35:52.552 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:52.552 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:35:52.552 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:52.551 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:35:52.551 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:35:52.552 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=bc37a465-a90b-4045-8440-f1ab71925291] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:35:52.551 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:52.552 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:35:52.552 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:35:52.552 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:52.552 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:35:52.551 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:35:52.552 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=726ecdb6-9c2d-4936-9d21-6097e5475f85] [2025/04/04 10:35:52.552 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=726ecdb6-9c2d-4936-9d21-6097e5475f85] [2025/04/04 10:35:52.552 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:52.552 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:35:52.551 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=bc37a465-a90b-4045-8440-f1ab71925291] [] [2025/04/04 10:35:52.552 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:52.552 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=726ecdb6-9c2d-4936-9d21-6097e5475f85] [2025/04/04 10:35:52.552 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=bc37a465-a90b-4045-8440-f1ab71925291] [2025/04/04 10:35:52.553 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=bc37a465-a90b-4045-8440-f1ab71925291] [2025/04/04 10:35:52.553 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:35:52.553 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=bc37a465-a90b-4045-8440-f1ab71925291] [2025/04/04 10:35:52.553 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=bc37a465-a90b-4045-8440-f1ab71925291] [2025/04/04 10:35:52.553 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:35:52.554 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:35:52.554 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:35:52.554 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=726ecdb6-9c2d-4936-9d21-6097e5475f85] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:52.554 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:35:52.554 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:52.554 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=1] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:810\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243"] [2025/04/04 10:35:52.554 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:35:52.554 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:35:52.554 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:35:52.554 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:52.554 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:52.554 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:52.555 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=bc37a465-a90b-4045-8440-f1ab71925291] [error="context canceled"] [2025/04/04 10:35:52.555 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=bc37a465-a90b-4045-8440-f1ab71925291] [2025/04/04 10:35:52.555 +00:00] [ERROR] [manager.go:373] ["task manager met error"] [server-id=:4000] [error="[127.0.0.1:20162](1) context canceled"] [errorVerbose="[127.0.0.1:20162](1) context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).extractTaskHandles\n\tpkg/executor/distsql.go:1142\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).fetchHandles\n\tpkg/executor/distsql.go:1064\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:807\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).logErr\n\tpkg/disttask/framework/taskexecutor/manager.go:373\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:174\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).logErr\n\tpkg/disttask/framework/taskexecutor/manager.go:373\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:174\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/04 10:35:52.555 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:35:52.555 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:35:52.555 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:52.574 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:35:52.574 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:52.621 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=bc37a465-a90b-4045-8440-f1ab71925291] [error="context canceled"] [2025/04/04 10:35:52.621 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:35:52.621 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:52.632 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=94.433254ms] [2025/04/04 10:35:52.635 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:52.635 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:52.635 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:52.635 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:52.635 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:52.635 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:52.635 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:52.635 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:52.635 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:52.635 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:52.635 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:52.635 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:52.636 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackBasicRenameDropCreateTable (2.72s) === NAME === RUN TestFlashbackCreateDropTableWithData [2025/04/04 10:35:52.645 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:52.646 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:52.647 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404346513542897] [2025/04/04 10:35:52.647 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:52.647 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:52.647 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:52.647 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:52.647 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:52.647 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:52.648 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:52.648 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:52.652 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:35:52.657 +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 10:35:52.658 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:52.658 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:52.671 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404346513542897] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:35:52.681 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:35:52.718 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=620] ["lease id"=223196005d3c9b37] [2025/04/04 10:35:52.720 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:35:52.815 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=111] ["elapsed time"=92.384289ms] [2025/04/04 10:35:52.815 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:52.817 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:35:52.823 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [runWorker=true] [jobVersion=v2] [2025/04/04 10:35:52.823 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:35:52.825 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [2025/04/04 10:35:52.826 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:35:52.826 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237168156672/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:35:52.826 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:52.826 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:52.826 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:52.826 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:52.826 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:52.826 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:52.826 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:52.826 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:52.826 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:52.826 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:52.826 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:35:52.826 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:52.826 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=425563ed-96fe-4098-b5d7-a1bd77e049c1] [2025/04/04 10:35:52.828 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d3c9b3c] [ownerID=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [op=none] [2025/04/04 10:35:52.828 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [2025/04/04 10:35:52.828 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [ownerKey=/tidb/ddl/fg/owner/223196005d3c9b3c] [currRev=559] [2025/04/04 10:35:52.828 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:52.828 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=425563ed-96fe-4098-b5d7-a1bd77e049c1] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:52.829 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f1896005d3c9cc6] [ownerID=425563ed-96fe-4098-b5d7-a1bd77e049c1] [op=none] [2025/04/04 10:35:52.829 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=425563ed-96fe-4098-b5d7-a1bd77e049c1] [2025/04/04 10:35:52.829 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=425563ed-96fe-4098-b5d7-a1bd77e049c1] [ownerKey=/tidb/br-stream/owner/6f1896005d3c9cc6] [currRev=560] [2025/04/04 10:35:52.829 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:35:52.830 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d3c9b3c] [ownerID=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [op=none] [2025/04/04 10:35:52.830 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [op=none] [2025/04/04 10:35:52.830 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:35:52.834 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [2025/04/04 10:35:52.835 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:52.835 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:35:52.848 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:52.855 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:52.861 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:52.861 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:52.861 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:35:52.861 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:52.861 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:52.861 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:35:52.861 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:35:52.861 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:35:52.861 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:35:52.862 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:52.862 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [2025/04/04 10:35:52.863 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:52.863 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:52.863 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:52.863 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:52.863 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:52.863 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:35:52.863 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:52.863 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:35:52.863 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:52.863 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:52.863 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:35:52.863 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:52.863 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:52.864 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:52.864 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:52.865 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/223196005d3c9b44] [ownerID=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [op=none] [2025/04/04 10:35:52.865 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [2025/04/04 10:35:52.865 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [ownerKey=/tidb/stats/owner/223196005d3c9b44] [currRev=562] [2025/04/04 10:35:52.865 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:35:52.868 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/ce7e2670-2609-4462-a2df-ef69e943df9b] [2025/04/04 10:35:52.868 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [ttl-worker=task-manager] [ttl-worker=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [originalCount=0] [newCount=4] [2025/04/04 10:35:52.868 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [ttl-worker=task-manager] [ttl-worker=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [originalCount=0] [newCount=4] [2025/04/04 10:35:52.869 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [2025/04/04 10:35:52.869 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:35:52.869 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:52.870 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:35:52.870 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743762952870391538 [2025/04/04 10:35:52.875 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:35:52.881 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.408792ms] [2025/04/04 10:35:52.882 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:35:52.882 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:52.885 +00:00] [INFO] [set.go:172] ["set global var"] [conn=11] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:35:52.887 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=111] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:35:52.889 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=111] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 10:35:52.901 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:142, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:52.901 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:142, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`,`t1`"] [2025/04/04 10:35:52.907 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=142] [conn=11] [job="ID:142, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:52.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.925 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=111] [neededSchemaVersion=112] ["elapsed time"=2.164223ms] [gotSchemaVersion=112] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:52.929 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=112] [2025/04/04 10:35:52.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=112] ["take time"=9.784744ms] [job="ID:142, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.941 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=142] [conn=11] [job="ID:142, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:52.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.958 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=112] [neededSchemaVersion=113] ["elapsed time"=2.020704ms] [gotSchemaVersion=113] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:52.961 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=113] [2025/04/04 10:35:52.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=113] ["take time"=8.567454ms] [job="ID:142, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.972 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=142] [conn=11] [job="ID:142, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:52.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.978 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 133, Old Table Name: t)"] [2025/04/04 10:35:52.992 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=113] [neededSchemaVersion=114] ["elapsed time"=1.244585ms] [gotSchemaVersion=114] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:52.996 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=114] [2025/04/04 10:35:52.997 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=114] ["take time"=8.43509ms] [job="ID:142, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.006 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=142] [tableIDs="[133]"] [comment="drop table: table ID"] [2025/04/04 10:35:53.013 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=142] [jobType="drop table"] [2025/04/04 10:35:53.014 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=142] [conn=11] [job="ID:142, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.033 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=142] [2025/04/04 10:35:53.044 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:143, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:53.044 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:143, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`,`t1`"] [2025/04/04 10:35:53.050 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=143] [conn=11] [job="ID:143, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:52.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.065 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=114] [neededSchemaVersion=115] ["elapsed time"=1.988445ms] [gotSchemaVersion=115] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:53.069 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=143] [version=115] [2025/04/04 10:35:53.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=115] ["take time"=8.906274ms] [job="ID:143, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.081 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=143] [conn=11] [job="ID:143, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:52.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.099 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=115] [neededSchemaVersion=116] ["elapsed time"=2.236249ms] [gotSchemaVersion=116] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:53.102 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=143] [version=116] [2025/04/04 10:35:53.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=116] ["take time"=9.184414ms] [job="ID:143, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.113 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=143] [conn=11] [job="ID:143, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:52.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.119 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 135, Old Table Name: t1)"] [2025/04/04 10:35:53.132 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=116] [neededSchemaVersion=117] ["elapsed time"=1.216101ms] [gotSchemaVersion=117] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:53.135 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=143] [version=117] [2025/04/04 10:35:53.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=117] ["take time"=8.001171ms] [job="ID:143, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.146 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=143] [tableIDs="[135]"] [comment="drop table: table ID"] [2025/04/04 10:35:53.151 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=143] [jobType="drop table"] [2025/04/04 10:35:53.152 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=143] [conn=11] [job="ID:143, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.169 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=143] [2025/04/04 10:35:53.170 +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: 1743762953170452365 [2025/04/04 10:35:53.190 +00:00] [INFO] [set.go:172] ["set global var"] [conn=12] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:35:53.215 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:145, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:53.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:53.215 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:145, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:53.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int)"] [2025/04/04 10:35:53.221 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=145] [conn=12] [job="ID:145, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:53.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.225 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 144, Table Name: t)"] [2025/04/04 10:35:53.238 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=117] [neededSchemaVersion=118] ["elapsed time"=1.43969ms] [gotSchemaVersion=118] [phyTblIDs="[144]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:53.242 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=145] [version=118] [2025/04/04 10:35:53.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=118] ["take time"=8.310881ms] [job="ID:145, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:53.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.254 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=145] [conn=12] [job="ID:145, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:53.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.265 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=145] [2025/04/04 10:35:53.265 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=118] [cur_db=test] [sql="create table t(a int)"] [user=] [2025/04/04 10:35:53.835 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:35:53.835 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:53.835 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:53.836 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:53.868 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:35:53.868 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:35:53.868 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/ce7e2670-2609-4462-a2df-ef69e943df9b] [watcherID=e39585b7-53a1-4f2f-92a6-4e34cb0c2a6d] [2025/04/04 10:35:53.870 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:35:53.875 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:35:53.875 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:35:53.875 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:35:53.875 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:35:54.287 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:146, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:54.287 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:146, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table t"] [2025/04/04 10:35:54.293 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=12] [job="ID:146, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:54.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.309 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=118] [neededSchemaVersion=119] ["elapsed time"=1.861902ms] [gotSchemaVersion=119] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:54.312 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=119] [2025/04/04 10:35:54.314 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=119] ["take time"=9.315711ms] [job="ID:146, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.324 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=12] [job="ID:146, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:54.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.339 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=119] [neededSchemaVersion=120] ["elapsed time"=1.823471ms] [gotSchemaVersion=120] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:54.343 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=120] [2025/04/04 10:35:54.344 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=120] ["take time"=8.495618ms] [job="ID:146, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.352 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=12] [job="ID:146, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:54.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.358 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 144, Old Table Name: t)"] [2025/04/04 10:35:54.371 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=120] [neededSchemaVersion=121] ["elapsed time"=1.08601ms] [gotSchemaVersion=121] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:54.374 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=121] [2025/04/04 10:35:54.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=121] ["take time"=8.431676ms] [job="ID:146, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.386 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=146] [tableIDs="[144]"] [comment="drop table: table ID"] [2025/04/04 10:35:54.391 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=146] [jobType="drop table"] [2025/04/04 10:35:54.392 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=146] [conn=12] [job="ID:146, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.409 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=146] [2025/04/04 10:35:54.409 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=121] [cur_db=test] [sql="drop table t"] [user=] [2025/04/04 10:35:54.421 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:148, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:54.421 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:148, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(b int)"] [2025/04/04 10:35:54.428 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=148] [conn=12] [job="ID:148, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:147, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:54.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.432 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 147, Table Name: t)"] [2025/04/04 10:35:54.446 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=121] [neededSchemaVersion=122] ["elapsed time"=1.515819ms] [gotSchemaVersion=122] [phyTblIDs="[147]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:54.450 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=148] [version=122] [2025/04/04 10:35:54.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=122] ["take time"=8.692031ms] [job="ID:148, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.462 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=148] [conn=12] [job="ID:148, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:147, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:54.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.474 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=148] [2025/04/04 10:35:54.474 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=122] [cur_db=test] [sql="create table t(b int)"] [user=] [2025/04/04 10:35:54.486 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:35:54.248 +0000 UTC"] [2025/04/04 10:35:54.496 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:149, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:54.496 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:149, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:35:54.248000'"] [2025/04/04 10:35:54.502 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=12] [job="ID:149, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:54.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.507 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=149] [2025/04/04 10:35:54.515 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=12] [job="ID:149, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:54.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.600 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=305ms] [prevState=unknown(0)] [newState=adapting] [2025/04/04 10:35:54.631 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=122] [neededSchemaVersion=123] ["elapsed time"=163.171µs] [gotSchemaVersion=123] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:35:54.635 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=123] [2025/04/04 10:35:54.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=123] ["take time"=7.505449ms] [job="ID:149, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.646 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=12] [job="ID:149, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:54.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.680 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:35:54.684 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:35:54.686 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.842702ms] ["completed regions"=1] [2025/04/04 10:35:54.686 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:35:54.690 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:35:54.691 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.45887ms] ["completed regions"=1] [2025/04/04 10:35:54.691 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:35:54.694 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:35:54.695 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=3.895524ms] ["completed regions"=1] [2025/04/04 10:35:54.696 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:35:54.699 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:35:54.700 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.227355ms] ["completed regions"=1] [2025/04/04 10:35:54.700 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:35:54.704 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:35:54.705 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.04021ms] ["completed regions"=1] [2025/04/04 10:35:54.705 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:35:54.708 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:35:54.709 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.877595ms] ["completed regions"=1] [2025/04/04 10:35:54.709 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:35:54.712 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:35:54.713 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.795821ms] ["completed regions"=1] [2025/04/04 10:35:54.713 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:35:54.717 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:35:54.718 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.353203ms] ["completed regions"=1] [2025/04/04 10:35:54.718 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:35:54.721 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:35:54.722 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.824398ms] ["completed regions"=1] [2025/04/04 10:35:54.722 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:35:54.725 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:35:54.726 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.47805ms] ["completed regions"=1] [2025/04/04 10:35:54.726 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:35:54.729 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:35:54.730 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.69373ms] ["completed regions"=1] [2025/04/04 10:35:54.730 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:35:54.733 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:35:54.735 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.428943ms] ["completed regions"=1] [2025/04/04 10:35:54.735 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:35:54.738 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:35:54.740 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=4.968778ms] ["completed regions"=1] [2025/04/04 10:35:54.741 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:35:54.744 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:35:54.745 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.909714ms] ["completed regions"=1] [2025/04/04 10:35:54.745 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:35:54.748 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:35:54.749 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.729937ms] ["completed regions"=1] [2025/04/04 10:35:54.749 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:35:54.753 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:35:54.754 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.51071ms] ["completed regions"=1] [2025/04/04 10:35:54.754 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:35:54.757 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:35:54.758 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.607282ms] ["completed regions"=1] [2025/04/04 10:35:54.758 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:35:54.760 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:35:54.762 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.397681ms] ["completed regions"=1] [2025/04/04 10:35:54.762 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:35:54.764 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:35:54.765 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.298049ms] ["completed regions"=1] [2025/04/04 10:35:54.766 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:35:54.768 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:35:54.769 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.196237ms] ["completed regions"=1] [2025/04/04 10:35:54.769 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:35:54.772 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:35:54.773 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.337592ms] ["completed regions"=1] [2025/04/04 10:35:54.773 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:35:54.776 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:35:54.777 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.492045ms] ["completed regions"=1] [2025/04/04 10:35:54.777 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:35:54.779 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:35:54.781 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.40624ms] ["completed regions"=1] [2025/04/04 10:35:54.781 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:35:54.783 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:35:54.785 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.369927ms] ["completed regions"=1] [2025/04/04 10:35:54.785 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:35:54.787 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:35:54.788 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.256057ms] ["completed regions"=1] [2025/04/04 10:35:54.788 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:35:54.791 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:35:54.792 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.56738ms] ["completed regions"=1] [2025/04/04 10:35:54.792 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:35:54.795 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:35:54.796 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.303998ms] ["completed regions"=1] [2025/04/04 10:35:54.796 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:35:54.798 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:35:54.800 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.034486ms] ["completed regions"=1] [2025/04/04 10:35:54.800 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:35:54.802 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:35:54.803 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.99326ms] ["completed regions"=1] [2025/04/04 10:35:54.803 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:35:54.805 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:35:54.806 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.01895ms] ["completed regions"=1] [2025/04/04 10:35:54.807 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:35:54.808 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:35:54.810 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.615936ms] ["completed regions"=1] [2025/04/04 10:35:54.810 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:35:54.811 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:35:54.813 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.636599ms] ["completed regions"=1] [2025/04/04 10:35:54.813 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:35:54.814 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:35:54.816 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.520941ms] ["completed regions"=1] [2025/04/04 10:35:54.816 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:35:54.817 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:35:54.818 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.363492ms] ["completed regions"=1] [2025/04/04 10:35:54.818 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:35:54.820 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:35:54.821 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.554976ms] ["completed regions"=1] [2025/04/04 10:35:54.821 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:35:54.823 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:35:54.824 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.307252ms] ["completed regions"=1] [2025/04/04 10:35:54.824 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:35:54.826 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:35:54.826 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:35:54.827 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.536179ms] ["completed regions"=1] [2025/04/04 10:35:54.827 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:35:54.829 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:35:54.830 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.503026ms] ["completed regions"=1] [2025/04/04 10:35:54.830 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:35:54.832 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:35:54.833 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.044618ms] ["completed regions"=1] [2025/04/04 10:35:54.833 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:35:54.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 10:35:54.835 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.266667ms] ["completed regions"=1] [2025/04/04 10:35:54.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 10:35:54.837 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:35:54.838 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.465138ms] ["completed regions"=1] [2025/04/04 10:35:54.838 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:35:54.840 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:35:54.841 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.251657ms] ["completed regions"=1] [2025/04/04 10:35:54.841 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:35:54.842 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:35:54.844 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:35:54.844 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:35:54.846 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.46018ms] ["completed regions"=3] [2025/04/04 10:35:54.852 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=149] [2025/04/04 10:35:54.859 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=12] [job="ID:149, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:54.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.860 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:35:54.864 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:35:54.867 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 10:35:54.867 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.173672ms] ["completed regions"=1] [2025/04/04 10:35:54.867 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:35:54.871 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:35:54.872 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 10:35:54.872 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.208102ms] ["completed regions"=1] [2025/04/04 10:35:54.873 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:35:54.876 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:35:54.877 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 10:35:54.877 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.347481ms] ["completed regions"=1] [2025/04/04 10:35:54.877 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:35:54.881 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:35:54.882 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 10:35:54.882 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.485968ms] ["completed regions"=1] [2025/04/04 10:35:54.882 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:35:54.886 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:35:54.887 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 10:35:54.887 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.40554ms] ["completed regions"=1] [2025/04/04 10:35:54.887 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:35:54.890 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:35:54.891 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 10:35:54.891 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.949095ms] ["completed regions"=1] [2025/04/04 10:35:54.892 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:35:54.895 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:35:54.896 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 10:35:54.896 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.257408ms] ["completed regions"=1] [2025/04/04 10:35:54.896 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:35:54.900 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:35:54.901 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 10:35:54.901 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.544654ms] ["completed regions"=1] [2025/04/04 10:35:54.901 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:35:54.904 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:35:54.905 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 10:35:54.905 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.991566ms] ["completed regions"=1] [2025/04/04 10:35:54.906 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:35:54.909 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:35:54.910 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 10:35:54.910 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.80913ms] ["completed regions"=1] [2025/04/04 10:35:54.910 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:35:54.913 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:35:54.914 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 10:35:54.914 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.107357ms] ["completed regions"=1] [2025/04/04 10:35:54.914 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:35:54.917 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:35:54.920 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 10:35:54.920 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=5.17522ms] ["completed regions"=1] [2025/04/04 10:35:54.920 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:35:54.923 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:35:54.924 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 10:35:54.924 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.974182ms] ["completed regions"=1] [2025/04/04 10:35:54.924 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:35:54.927 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:35:54.928 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 10:35:54.928 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.661325ms] ["completed regions"=1] [2025/04/04 10:35:54.928 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:35:54.931 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:35:54.932 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 10:35:54.932 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.689198ms] ["completed regions"=1] [2025/04/04 10:35:54.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 10:35:54.935 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:35:54.936 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 10:35:54.936 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.448706ms] ["completed regions"=1] [2025/04/04 10:35:54.936 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:35:54.939 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:35:54.940 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 10:35:54.940 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.662116ms] ["completed regions"=1] [2025/04/04 10:35:54.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 10:35:54.943 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:35:54.944 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 10:35:54.944 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.270845ms] ["completed regions"=1] [2025/04/04 10:35:54.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 10:35:54.947 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:35:54.948 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 10:35:54.948 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.39039ms] ["completed regions"=1] [2025/04/04 10:35:54.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 10:35:54.950 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:35:54.951 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 10:35:54.952 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.289252ms] ["completed regions"=1] [2025/04/04 10:35:54.952 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:35:54.954 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:35:54.955 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 10:35:54.955 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.071682ms] ["completed regions"=1] [2025/04/04 10:35:54.955 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:35:54.957 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:35:54.959 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 10:35:54.959 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.183215ms] ["completed regions"=1] [2025/04/04 10:35:54.959 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:35:54.961 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:35:54.962 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 10:35:54.962 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.925924ms] ["completed regions"=1] [2025/04/04 10:35:54.962 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:35:54.964 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:35:54.965 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 10:35:54.965 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.024597ms] ["completed regions"=1] [2025/04/04 10:35:54.966 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:35:54.968 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:35:54.969 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 10:35:54.969 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.967865ms] ["completed regions"=1] [2025/04/04 10:35:54.969 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:35:54.971 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:35:54.972 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 10:35:54.972 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.995633ms] ["completed regions"=1] [2025/04/04 10:35:54.972 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:35:54.974 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:35:54.976 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 10:35:54.976 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.959015ms] ["completed regions"=1] [2025/04/04 10:35:54.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 10:35:54.978 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:35:54.979 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 10:35:54.979 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.722434ms] ["completed regions"=1] [2025/04/04 10:35:54.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 10:35:54.981 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:35:54.982 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 10:35:54.982 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.075544ms] ["completed regions"=1] [2025/04/04 10:35:54.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 10:35:54.984 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:35:54.985 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 10:35:54.985 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.615911ms] ["completed regions"=1] [2025/04/04 10:35:54.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 10:35:54.987 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:35:54.993 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 10:35:54.993 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=7.743366ms] ["completed regions"=1] [2025/04/04 10:35:54.994 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:35:54.995 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:35:54.996 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 10:35:54.996 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.442932ms] ["completed regions"=1] [2025/04/04 10:35:54.996 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:35:54.998 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:35:54.999 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 10:35:54.999 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.44797ms] ["completed regions"=1] [2025/04/04 10:35:54.999 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:35:55.001 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:35:55.002 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 10:35:55.002 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.264995ms] ["completed regions"=1] [2025/04/04 10:35:55.002 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:35:55.004 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:35:55.004 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 10:35:55.005 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.183317ms] ["completed regions"=1] [2025/04/04 10:35:55.005 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:35:55.006 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:35:55.007 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 10:35:55.007 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.23486ms] ["completed regions"=1] [2025/04/04 10:35:55.007 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:35:55.009 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:35:55.010 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 10:35:55.010 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.603881ms] ["completed regions"=1] [2025/04/04 10:35:55.010 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:35:55.012 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:35:55.013 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 10:35:55.013 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.238496ms] ["completed regions"=1] [2025/04/04 10:35:55.013 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:35:55.014 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:35:55.015 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 10:35:55.015 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.026891ms] ["completed regions"=1] [2025/04/04 10:35:55.015 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:35:55.017 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:35:55.018 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 10:35:55.018 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.197013ms] ["completed regions"=1] [2025/04/04 10:35:55.018 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:35:55.019 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:35:55.020 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 10:35:55.020 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.979628ms] ["completed regions"=1] [2025/04/04 10:35:55.020 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:35:55.022 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:35:55.023 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 10:35:55.023 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.961824ms] ["completed regions"=1] [2025/04/04 10:35:55.023 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:35:55.024 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:35:55.025 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:35:55.026 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:35:55.027 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 10:35:55.028 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.381512ms] ["completed regions"=3] [2025/04/04 10:35:55.028 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:35:55.042 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 10:35:55.126 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=123] [neededSchemaVersion=124] ["elapsed time"=83.550385ms] [2025/04/04 10:35:55.126 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:55.130 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=124] [2025/04/04 10:35:55.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=124] ["take time"=91.4521ms] [job="ID:149, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.208 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=149] [conn=12] [job="ID:149, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.220 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=149] [2025/04/04 10:35:55.220 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 12\n# Query_time: 0.735683625\n# Parse_time: 0.000072071\n# Compile_time: 0.000269752\n# Rewrite_time: 0.000003164\n# Optimize_time: 0.000084217\n# Wait_TS: 0.000469828\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-04 10:35:54.248000';"] [2025/04/04 10:35:55.225 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:35:55.225 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:35:55.225 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [] [2025/04/04 10:35:55.225 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [2025/04/04 10:35:55.225 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:55.226 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:55.226 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 34, tp general"] ["take time"=64.933µs] [2025/04/04 10:35:55.226 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 35, tp general"] ["take time"=43.319µs] [2025/04/04 10:35:55.226 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 36, tp general"] ["take time"=42.896µs] [2025/04/04 10:35:55.226 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 37, tp general"] ["take time"=33.044µs] [2025/04/04 10:35:55.226 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 38, tp general"] ["take time"=52.212µs] [2025/04/04 10:35:55.226 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 39, tp general"] ["take time"=34.257µs] [2025/04/04 10:35:55.226 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [2025/04/04 10:35:55.226 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [2025/04/04 10:35:55.227 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:35:55.227 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:35:55.229 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] ["take time"=4.231372ms] [2025/04/04 10:35:55.229 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [2025/04/04 10:35:55.230 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:35:55.230 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:35:55.230 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/ce7e2670-2609-4462-a2df-ef69e943df9b] [watcherID=e39585b7-53a1-4f2f-92a6-4e34cb0c2a6d] [2025/04/04 10:35:55.230 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/ce7e2670-2609-4462-a2df-ef69e943df9b] [2025/04/04 10:35:55.230 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [ttl-worker=task-manager] [ttl-worker=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [originalCount=4] [newCount=0] [2025/04/04 10:35:55.230 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:55.230 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:55.230 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:55.230 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:55.230 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [ttl-worker=task-manager] [ttl-worker=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [originalCount=4] [newCount=0] [2025/04/04 10:35:55.232 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:55.232 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:55.233 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:55.233 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:55.235 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [2025/04/04 10:35:55.235 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=620] [2025/04/04 10:35:55.236 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=425563ed-96fe-4098-b5d7-a1bd77e049c1] [] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:35:55.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:35:55.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:55.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:55.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:55.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:55.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:55.236 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:55.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:35:55.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:55.236 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=425563ed-96fe-4098-b5d7-a1bd77e049c1] [2025/04/04 10:35:55.236 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [2025/04/04 10:35:55.236 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:35:55.236 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:35:55.236 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:55.236 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:35:55.236 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:35:55.236 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:35:55.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:55.236 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:35:55.236 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [] [2025/04/04 10:35:55.236 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:55.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:55.236 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [2025/04/04 10:35:55.236 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:35:55.236 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:35:55.236 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [2025/04/04 10:35:55.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:55.236 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:55.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:55.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:35:55.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:35:55.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:55.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:35:55.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:55.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:35:55.237 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:55.236 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:55.236 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:55.237 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:55.236 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=425563ed-96fe-4098-b5d7-a1bd77e049c1] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:35:55.237 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=425563ed-96fe-4098-b5d7-a1bd77e049c1] [2025/04/04 10:35:55.237 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:55.237 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:55.236 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:35:55.236 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:35:55.236 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [2025/04/04 10:35:55.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:55.237 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:55.237 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [2025/04/04 10:35:55.237 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:35:55.237 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:35:55.237 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:35:55.237 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:35:55.237 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:55.238 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:35:55.238 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:35:55.238 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:55.238 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:35:55.238 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:55.238 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=425563ed-96fe-4098-b5d7-a1bd77e049c1] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:55.238 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:35:55.238 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [error="context canceled"] [2025/04/04 10:35:55.238 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:55.238 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:35:55.239 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:35:55.239 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:55.240 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [error="context canceled"] [2025/04/04 10:35:55.240 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [2025/04/04 10:35:55.240 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [error="context canceled"] [2025/04/04 10:35:55.240 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=d5f2754c-2c5d-4d5d-8bad-68f30d8317a0] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:55.256 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:35:55.256 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:55.302 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:35:55.302 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:55.312 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.575514ms] [2025/04/04 10:35:55.314 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:55.314 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:55.314 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:55.314 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:55.314 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:55.314 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:55.314 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:55.314 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:55.314 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:55.314 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:55.314 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:55.314 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:55.315 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackCreateDropTableWithData (2.68s) === NAME === RUN TestFlashbackCreateDropSchema [2025/04/04 10:35:55.323 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:55.324 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:55.325 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404346513542897] [2025/04/04 10:35:55.326 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:55.326 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:55.326 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:55.326 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:55.326 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:55.326 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:55.326 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:55.327 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:55.330 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:35:55.335 +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 10:35:55.336 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:55.336 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:55.349 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404346513542897] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:35:55.358 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:35:55.395 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1364] ["lease id"=223196005d3c9b6d] [2025/04/04 10:35:55.397 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:35:55.487 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=124] ["elapsed time"=87.834461ms] [2025/04/04 10:35:55.487 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:55.489 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:35:55.495 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=52424a7d-2020-4d88-a659-45a68a9c9c01] [runWorker=true] [jobVersion=v2] [2025/04/04 10:35:55.495 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:35:55.497 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=52424a7d-2020-4d88-a659-45a68a9c9c01] [2025/04/04 10:35:55.498 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:35:55.498 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237168246784/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:35:55.498 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:55.498 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:55.499 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:55.499 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:55.499 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:55.499 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:55.499 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:55.499 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:55.499 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:35:55.499 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:55.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:55.499 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:55.499 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=efb773b1-3fa4-4755-8def-a5e150f3f538] [2025/04/04 10:35:55.501 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d3c9b72] [ownerID=52424a7d-2020-4d88-a659-45a68a9c9c01] [op=none] [2025/04/04 10:35:55.501 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=52424a7d-2020-4d88-a659-45a68a9c9c01] [2025/04/04 10:35:55.501 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=52424a7d-2020-4d88-a659-45a68a9c9c01] [ownerKey=/tidb/ddl/fg/owner/223196005d3c9b72] [currRev=623] [2025/04/04 10:35:55.501 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:55.501 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=efb773b1-3fa4-4755-8def-a5e150f3f538] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:55.502 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f1896005d3c9cf9] [ownerID=efb773b1-3fa4-4755-8def-a5e150f3f538] [op=none] [2025/04/04 10:35:55.502 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=efb773b1-3fa4-4755-8def-a5e150f3f538] [2025/04/04 10:35:55.502 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=efb773b1-3fa4-4755-8def-a5e150f3f538] [ownerKey=/tidb/br-stream/owner/6f1896005d3c9cf9] [currRev=623] [2025/04/04 10:35:55.502 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:35:55.503 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d3c9b72] [ownerID=52424a7d-2020-4d88-a659-45a68a9c9c01] [op=none] [2025/04/04 10:35:55.503 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=52424a7d-2020-4d88-a659-45a68a9c9c01] [op=none] [2025/04/04 10:35:55.503 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:35:55.507 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=52424a7d-2020-4d88-a659-45a68a9c9c01] [2025/04/04 10:35:55.508 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:55.508 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:35:55.520 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:55.527 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:55.532 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:55.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:55.533 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:35:55.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:55.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:55.533 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:35:55.533 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:35:55.533 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:35:55.533 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:35:55.534 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:55.534 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=52424a7d-2020-4d88-a659-45a68a9c9c01] [2025/04/04 10:35:55.535 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:55.535 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:55.535 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:55.535 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:55.535 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:55.535 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:35:55.535 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:35:55.535 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:55.535 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:55.535 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:55.535 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:35:55.535 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:55.535 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:55.535 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:55.535 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:55.537 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/223196005d3c9b7a] [ownerID=52424a7d-2020-4d88-a659-45a68a9c9c01] [op=none] [2025/04/04 10:35:55.537 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=52424a7d-2020-4d88-a659-45a68a9c9c01] [2025/04/04 10:35:55.537 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=52424a7d-2020-4d88-a659-45a68a9c9c01] [ownerKey=/tidb/stats/owner/223196005d3c9b7a] [currRev=625] [2025/04/04 10:35:55.537 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:35:55.540 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/8b5328c0-14e8-4e50-92af-bf5e7cb46848] [2025/04/04 10:35:55.540 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=52424a7d-2020-4d88-a659-45a68a9c9c01] [ttl-worker=task-manager] [ttl-worker=52424a7d-2020-4d88-a659-45a68a9c9c01] [originalCount=0] [newCount=4] [2025/04/04 10:35:55.540 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=52424a7d-2020-4d88-a659-45a68a9c9c01] [ttl-worker=task-manager] [ttl-worker=52424a7d-2020-4d88-a659-45a68a9c9c01] [originalCount=0] [newCount=4] [2025/04/04 10:35:55.540 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=52424a7d-2020-4d88-a659-45a68a9c9c01] [2025/04/04 10:35:55.540 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:35:55.541 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:55.541 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:35:55.541 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743762955541587358 [2025/04/04 10:35:55.546 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:35:55.553 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.758063ms] [2025/04/04 10:35:55.553 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:55.553 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:35:55.554 +00:00] [INFO] [set.go:172] ["set global var"] [conn=13] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:35:55.576 +00:00] [INFO] [set.go:172] ["set global var"] [conn=13] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:35:55.579 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=124] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:35:55.592 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:55.592 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:35:55.598 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=13] [job="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.614 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=124] [neededSchemaVersion=125] ["elapsed time"=1.781864ms] [gotSchemaVersion=125] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:55.617 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=125] [2025/04/04 10:35:55.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=125] ["take time"=9.186244ms] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.629 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=13] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.644 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=125] [neededSchemaVersion=126] ["elapsed time"=1.802278ms] [gotSchemaVersion=126] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:55.648 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=126] [2025/04/04 10:35:55.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=126] ["take time"=9.402429ms] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.660 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=13] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.667 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 144, Old Table Name: t)"] [2025/04/04 10:35:55.679 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=126] [neededSchemaVersion=127] ["elapsed time"=1.141722ms] [gotSchemaVersion=127] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:55.683 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=127] [2025/04/04 10:35:55.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=127] ["take time"=8.352284ms] [job="ID:150, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.693 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=150] [tableIDs="[144]"] [comment="drop table: table ID"] [2025/04/04 10:35:55.701 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=150] [jobType="drop table"] [2025/04/04 10:35:55.702 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=150] [conn=13] [job="ID:150, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.720 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=150] [2025/04/04 10:35:55.721 +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: 1743762955721311062 [2025/04/04 10:35:55.747 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:55.747 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index k(a))"] [2025/04/04 10:35:55.753 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=152] [conn=14] [job="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.757 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 151, Table Name: t)"] [2025/04/04 10:35:55.771 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=127] [neededSchemaVersion=128] ["elapsed time"=1.601707ms] [gotSchemaVersion=128] [phyTblIDs="[151]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:55.775 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=152] [version=128] [2025/04/04 10:35:55.777 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=128] ["take time"=8.878789ms] [job="ID:152, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.788 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=152] [conn=14] [job="ID:152, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.798 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=152] [2025/04/04 10:35:55.799 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=128] [cur_db=test] [sql="create table t(a int, index k(a))"] [user=] [2025/04/04 10:35:56.508 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:35:56.508 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:56.508 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:56.508 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:56.540 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:35:56.540 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:35:56.540 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/8b5328c0-14e8-4e50-92af-bf5e7cb46848] [watcherID=3e89bd5d-5f53-46c9-85eb-24fd8796880c] [2025/04/04 10:35:56.541 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:35:56.548 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:35:56.548 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:35:56.548 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:35:56.548 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:35:56.818 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:153, Type:drop schema, State:queueing, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:56.818 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:153, Type:drop schema, State:queueing, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop schema test"] [2025/04/04 10:35:56.823 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=14] [job="ID:153, Type:drop schema, State:queueing, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.839 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=128] [neededSchemaVersion=129] ["elapsed time"=161.112µs] [gotSchemaVersion=129] [phyTblIDs="[151]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:56.843 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=129] [2025/04/04 10:35:56.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=129] ["take time"=7.104213ms] [job="ID:153, Type:drop schema, State:running, SchemaState:write only, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.854 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=14] [job="ID:153, Type:drop schema, State:running, SchemaState:write only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.867 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=129] [neededSchemaVersion=130] ["elapsed time"=149.278µs] [gotSchemaVersion=130] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:56.870 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=130] [2025/04/04 10:35:56.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=130] ["take time"=6.932277ms] [job="ID:153, Type:drop schema, State:running, SchemaState:delete only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.880 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=14] [job="ID:153, Type:drop schema, State:running, SchemaState:delete only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.886 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:35:56.895 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=130] [neededSchemaVersion=131] ["elapsed time"=122.621µs] [gotSchemaVersion=131] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:56.899 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=131] [2025/04/04 10:35:56.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=131] ["take time"=6.779878ms] [job="ID:153, Type:drop schema, State:done, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.909 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=153] [tableIDs="[151]"] [comment="drop schema: table IDs"] [2025/04/04 10:35:56.914 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=153] [jobType="drop schema"] [2025/04/04 10:35:56.915 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=153] [conn=14] [job="ID:153, Type:drop schema, State:synced, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.931 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=153] [2025/04/04 10:35:56.931 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=131] [cur_db=] [sql="drop schema test"] [user=] [2025/04/04 10:35:56.942 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:155, Type:create schema, State:queueing, SchemaState:none, SchemaID:154, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:56.942 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:155, Type:create schema, State:queueing, SchemaState:none, SchemaID:154, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create schema test1"] [2025/04/04 10:35:56.948 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=155] [conn=14] [job="ID:155, Type:create schema, State:queueing, SchemaState:none, SchemaID:154, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.960 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=131] [neededSchemaVersion=132] ["elapsed time"=648.071µs] [gotSchemaVersion=132] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:56.964 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=132] [2025/04/04 10:35:56.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=132] ["take time"=7.700593ms] [job="ID:155, Type:create schema, State:done, SchemaState:public, SchemaID:154, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.976 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=155] [conn=14] [job="ID:155, Type:create schema, State:synced, SchemaState:public, SchemaID:154, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.985 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=155] [2025/04/04 10:35:56.985 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=132] [cur_db=] [sql="create schema test1"] [user=] [2025/04/04 10:35:56.996 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:157, Type:create schema, State:queueing, SchemaState:none, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:56.996 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:157, Type:create schema, State:queueing, SchemaState:none, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create schema test2"] [2025/04/04 10:35:57.002 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=157] [conn=14] [job="ID:157, Type:create schema, State:queueing, SchemaState:none, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.014 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=132] [neededSchemaVersion=133] ["elapsed time"=648.797µs] [gotSchemaVersion=133] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:57.017 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=157] [version=133] [2025/04/04 10:35:57.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=133] ["take time"=7.368187ms] [job="ID:157, Type:create schema, State:done, SchemaState:public, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.029 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=157] [conn=14] [job="ID:157, Type:create schema, State:synced, SchemaState:public, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.039 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=157] [2025/04/04 10:35:57.039 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=133] [cur_db=] [sql="create schema test2"] [user=] [2025/04/04 10:35:57.040 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:35:57.040 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=133] [error="[schema:1049]Unknown database 'test'"] [errorVerbose="[schema:1049]Unknown database 'test'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeUse\n\tpkg/executor/simple.go:598\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:155\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:508\ntests/realtikvtest/flashbacktest/flashbacktest_test.TestFlashbackCreateDropSchema\n\ttests/realtikvtest/flashbacktest/flashback_test.go:337\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test1\",\n \"id\": 14,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 10:35:57.053 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:158, Type:drop schema, State:queueing, SchemaState:public, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop schema test2"] [2025/04/04 10:35:57.053 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:158, Type:drop schema, State:queueing, SchemaState:public, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:57.058 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=14] [job="ID:158, Type:drop schema, State:queueing, SchemaState:public, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.071 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=133] [neededSchemaVersion=134] ["elapsed time"=157.615µs] [gotSchemaVersion=134] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:57.075 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=134] [2025/04/04 10:35:57.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=134] ["take time"=7.082982ms] [job="ID:158, Type:drop schema, State:running, SchemaState:write only, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.086 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=14] [job="ID:158, Type:drop schema, State:running, SchemaState:write only, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.098 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=134] [neededSchemaVersion=135] ["elapsed time"=133.702µs] [gotSchemaVersion=135] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:57.101 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=135] [2025/04/04 10:35:57.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=135] ["take time"=6.889232ms] [job="ID:158, Type:drop schema, State:running, SchemaState:delete only, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.111 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=14] [job="ID:158, Type:drop schema, State:running, SchemaState:delete only, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.126 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=135] [neededSchemaVersion=136] ["elapsed time"=153.549µs] [gotSchemaVersion=136] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:57.129 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=136] [2025/04/04 10:35:57.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=136] ["take time"=6.950851ms] [job="ID:158, Type:drop schema, State:done, SchemaState:none, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.140 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=158] [jobType="drop schema"] [2025/04/04 10:35:57.140 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=158] [conn=14] [job="ID:158, Type:drop schema, State:synced, SchemaState:none, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.156 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=158] [2025/04/04 10:35:57.156 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=136] [cur_db=] [sql="drop schema test2"] [user=] [2025/04/04 10:35:57.157 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:35:56.798 +0000 UTC"] [2025/04/04 10:35:57.167 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:159, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:57.167 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:159, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:35:56.798000'"] [2025/04/04 10:35:57.173 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=14] [job="ID:159, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:57.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.178 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=159] [2025/04/04 10:35:57.185 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=14] [job="ID:159, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:57.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.265 +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 10:35:57.296 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=136] [neededSchemaVersion=137] ["elapsed time"=211.383µs] [gotSchemaVersion=137] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:35:57.299 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=137] [2025/04/04 10:35:57.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=137] ["take time"=7.343021ms] [job="ID:159, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.310 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=14] [job="ID:159, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:57.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.311 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=28] ["first split key"=6d44423a3135340000fd0000000000000068] [2025/04/04 10:35:57.313 +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 10:35:57.313 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[380]"] [2025/04/04 10:35:57.344 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3135340000fd0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:35:57.348 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=28] [start_key=6d44423a3135340000fd0000000000000068] [end_key=6d44423a3200000000fb0000000000000068] [2025/04/04 10:35:57.349 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:35:57.351 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3135340000fd0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.091001ms] ["completed regions"=2] [2025/04/04 10:35:57.351 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:35:57.355 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:35:57.356 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.90016ms] ["completed regions"=1] [2025/04/04 10:35:57.356 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:35:57.360 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:35:57.361 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.089472ms] ["completed regions"=1] [2025/04/04 10:35:57.361 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:35:57.364 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:35:57.365 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.042635ms] ["completed regions"=1] [2025/04/04 10:35:57.366 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:35:57.369 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:35:57.370 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.769054ms] ["completed regions"=1] [2025/04/04 10:35:57.370 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:35:57.373 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:35:57.374 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.724708ms] ["completed regions"=1] [2025/04/04 10:35:57.374 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:35:57.377 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:35:57.378 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.725158ms] ["completed regions"=1] [2025/04/04 10:35:57.378 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:35:57.381 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:35:57.382 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.894031ms] ["completed regions"=1] [2025/04/04 10:35:57.382 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:35:57.386 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:35:57.387 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.761773ms] ["completed regions"=1] [2025/04/04 10:35:57.387 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:35:57.390 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:35:57.391 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.452002ms] ["completed regions"=1] [2025/04/04 10:35:57.391 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:35:57.393 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:35:57.394 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.45145ms] ["completed regions"=1] [2025/04/04 10:35:57.394 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:35:57.397 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:35:57.399 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.921981ms] ["completed regions"=1] [2025/04/04 10:35:57.399 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:35:57.401 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:35:57.402 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.343919ms] ["completed regions"=1] [2025/04/04 10:35:57.402 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:35:57.405 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:35:57.407 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.631788ms] ["completed regions"=1] [2025/04/04 10:35:57.407 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:35:57.409 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:35:57.410 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.258851ms] ["completed regions"=1] [2025/04/04 10:35:57.410 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:35:57.413 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:35:57.414 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.267653ms] ["completed regions"=1] [2025/04/04 10:35:57.414 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:35:57.417 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:35:57.418 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.236933ms] ["completed regions"=1] [2025/04/04 10:35:57.418 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:35:57.420 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:35:57.421 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.042565ms] ["completed regions"=1] [2025/04/04 10:35:57.421 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:35:57.424 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:35:57.425 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=2.999708ms] ["completed regions"=1] [2025/04/04 10:35:57.425 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:35:57.427 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:35:57.428 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=2.904943ms] ["completed regions"=1] [2025/04/04 10:35:57.428 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:35:57.430 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:35:57.431 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.885578ms] ["completed regions"=1] [2025/04/04 10:35:57.431 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:35:57.434 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:35:57.435 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.067428ms] ["completed regions"=1] [2025/04/04 10:35:57.435 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:35:57.437 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:35:57.438 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.81176ms] ["completed regions"=1] [2025/04/04 10:35:57.438 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:35:57.440 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:35:57.441 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.759994ms] ["completed regions"=1] [2025/04/04 10:35:57.441 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:35:57.443 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:35:57.445 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.942853ms] ["completed regions"=1] [2025/04/04 10:35:57.445 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:35:57.450 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:35:57.451 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.462611ms] ["completed regions"=1] [2025/04/04 10:35:57.451 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:35:57.453 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:35:57.454 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.10233ms] ["completed regions"=1] [2025/04/04 10:35:57.454 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:35:57.457 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:35:57.458 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.904024ms] ["completed regions"=1] [2025/04/04 10:35:57.458 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:35:57.460 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:35:57.461 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.806965ms] ["completed regions"=1] [2025/04/04 10:35:57.461 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:35:57.463 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:35:57.464 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.788447ms] ["completed regions"=1] [2025/04/04 10:35:57.464 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:35:57.466 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:35:57.467 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.638182ms] ["completed regions"=1] [2025/04/04 10:35:57.467 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:35:57.469 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:35:57.470 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.654927ms] ["completed regions"=1] [2025/04/04 10:35:57.471 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:35:57.472 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:35:57.474 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.574782ms] ["completed regions"=1] [2025/04/04 10:35:57.474 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:35:57.475 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:35:57.476 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.361911ms] ["completed regions"=1] [2025/04/04 10:35:57.476 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:35:57.478 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:35:57.479 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.216061ms] ["completed regions"=1] [2025/04/04 10:35:57.479 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:35:57.481 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:35:57.482 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.319668ms] ["completed regions"=1] [2025/04/04 10:35:57.482 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:35:57.483 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:35:57.485 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.331442ms] ["completed regions"=1] [2025/04/04 10:35:57.485 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:35:57.486 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:35:57.487 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.223275ms] ["completed regions"=1] [2025/04/04 10:35:57.487 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:35:57.489 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:35:57.490 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.045086ms] ["completed regions"=1] [2025/04/04 10:35:57.490 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:35:57.491 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:35:57.492 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.900276ms] ["completed regions"=1] [2025/04/04 10:35:57.492 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:35:57.493 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:35:57.494 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.874832ms] ["completed regions"=1] [2025/04/04 10:35:57.494 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:35:57.496 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:35:57.496 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.749741ms] ["completed regions"=1] [2025/04/04 10:35:57.497 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:35:57.498 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:35:57.498 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:35:57.499 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:35:57.500 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:35:57.501 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.91823ms] ["completed regions"=3] [2025/04/04 10:35:57.508 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=159] [2025/04/04 10:35:57.515 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=14] [job="ID:159, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:57.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.516 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3135340000fd0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:35:57.520 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=28] [start_key=6d44423a3135340000fd0000000000000068] [end_key=6d44423a3200000000fb0000000000000068] [2025/04/04 10:35:57.521 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:35:57.523 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=46] [] [2025/04/04 10:35:57.523 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3135340000fd0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.701154ms] ["completed regions"=2] [2025/04/04 10:35:57.523 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:35:57.526 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:35:57.528 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=46] [] [2025/04/04 10:35:57.528 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.381166ms] ["completed regions"=1] [2025/04/04 10:35:57.529 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:35:57.532 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:35:57.533 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=46] [] [2025/04/04 10:35:57.533 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.073477ms] ["completed regions"=1] [2025/04/04 10:35:57.533 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:35:57.536 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:35:57.537 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=46] [] [2025/04/04 10:35:57.537 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.006149ms] ["completed regions"=1] [2025/04/04 10:35:57.538 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:35:57.541 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:35:57.542 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=46] [] [2025/04/04 10:35:57.542 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.40233ms] ["completed regions"=1] [2025/04/04 10:35:57.542 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:35:57.546 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:35:57.547 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=46] [] [2025/04/04 10:35:57.547 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.225391ms] ["completed regions"=1] [2025/04/04 10:35:57.547 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:35:57.550 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:35:57.551 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=46] [] [2025/04/04 10:35:57.551 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.064697ms] ["completed regions"=1] [2025/04/04 10:35:57.552 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:35:57.555 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:35:57.556 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=46] [] [2025/04/04 10:35:57.556 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.264826ms] ["completed regions"=1] [2025/04/04 10:35:57.556 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:35:57.559 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:35:57.560 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=46] [] [2025/04/04 10:35:57.561 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.824004ms] ["completed regions"=1] [2025/04/04 10:35:57.561 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:35:57.564 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:35:57.564 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=46] [] [2025/04/04 10:35:57.565 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.497466ms] ["completed regions"=1] [2025/04/04 10:35:57.565 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:35:57.567 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:35:57.568 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=46] [] [2025/04/04 10:35:57.569 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.560124ms] ["completed regions"=1] [2025/04/04 10:35:57.569 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:35:57.571 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:35:57.573 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=46] [] [2025/04/04 10:35:57.573 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.367578ms] ["completed regions"=1] [2025/04/04 10:35:57.573 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:35:57.576 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:35:57.577 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=46] [] [2025/04/04 10:35:57.577 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.645422ms] ["completed regions"=1] [2025/04/04 10:35:57.577 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:35:57.580 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:35:57.581 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=46] [] [2025/04/04 10:35:57.581 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.498133ms] ["completed regions"=1] [2025/04/04 10:35:57.581 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:35:57.584 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:35:57.585 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=46] [] [2025/04/04 10:35:57.585 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.220245ms] ["completed regions"=1] [2025/04/04 10:35:57.585 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:35:57.588 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:35:57.589 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=46] [] [2025/04/04 10:35:57.589 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.289316ms] ["completed regions"=1] [2025/04/04 10:35:57.589 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:35:57.591 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:35:57.592 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=46] [] [2025/04/04 10:35:57.592 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.355741ms] ["completed regions"=1] [2025/04/04 10:35:57.593 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:35:57.595 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:35:57.596 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=46] [] [2025/04/04 10:35:57.596 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.373109ms] ["completed regions"=1] [2025/04/04 10:35:57.596 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:35:57.599 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:35:57.600 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=46] [] [2025/04/04 10:35:57.600 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.234032ms] ["completed regions"=1] [2025/04/04 10:35:57.600 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:35:57.602 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:35:57.603 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=46] [] [2025/04/04 10:35:57.603 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=2.952417ms] ["completed regions"=1] [2025/04/04 10:35:57.603 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:35:57.606 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:35:57.607 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=46] [] [2025/04/04 10:35:57.607 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.272361ms] ["completed regions"=1] [2025/04/04 10:35:57.607 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:35:57.609 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:35:57.610 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=46] [] [2025/04/04 10:35:57.611 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.964179ms] ["completed regions"=1] [2025/04/04 10:35:57.611 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:35:57.613 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:35:57.614 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=46] [] [2025/04/04 10:35:57.614 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.041683ms] ["completed regions"=1] [2025/04/04 10:35:57.614 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:35:57.617 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:35:57.618 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=46] [] [2025/04/04 10:35:57.618 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.186553ms] ["completed regions"=1] [2025/04/04 10:35:57.618 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:35:57.620 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:35:57.621 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=46] [] [2025/04/04 10:35:57.621 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.96826ms] ["completed regions"=1] [2025/04/04 10:35:57.621 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:35:57.623 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:35:57.624 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=46] [] [2025/04/04 10:35:57.624 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.920851ms] ["completed regions"=1] [2025/04/04 10:35:57.625 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:35:57.627 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:35:57.628 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=46] [] [2025/04/04 10:35:57.628 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.764652ms] ["completed regions"=1] [2025/04/04 10:35:57.628 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:35:57.630 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:35:57.631 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=46] [] [2025/04/04 10:35:57.631 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.522211ms] ["completed regions"=1] [2025/04/04 10:35:57.631 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:35:57.633 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:35:57.633 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=46] [] [2025/04/04 10:35:57.634 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.505664ms] ["completed regions"=1] [2025/04/04 10:35:57.634 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:35:57.636 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:35:57.637 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=46] [] [2025/04/04 10:35:57.637 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.621425ms] ["completed regions"=1] [2025/04/04 10:35:57.637 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:35:57.639 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:35:57.640 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=46] [] [2025/04/04 10:35:57.640 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.63698ms] ["completed regions"=1] [2025/04/04 10:35:57.640 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:35:57.642 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:35:57.643 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=46] [] [2025/04/04 10:35:57.643 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.427504ms] ["completed regions"=1] [2025/04/04 10:35:57.643 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:35:57.644 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:35:57.645 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=46] [] [2025/04/04 10:35:57.645 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.370006ms] ["completed regions"=1] [2025/04/04 10:35:57.645 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:35:57.647 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:35:57.648 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=46] [] [2025/04/04 10:35:57.648 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.337315ms] ["completed regions"=1] [2025/04/04 10:35:57.648 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:35:57.650 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:35:57.651 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=46] [] [2025/04/04 10:35:57.651 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.495859ms] ["completed regions"=1] [2025/04/04 10:35:57.651 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:35:57.653 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:35:57.654 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=46] [] [2025/04/04 10:35:57.654 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.529324ms] ["completed regions"=1] [2025/04/04 10:35:57.654 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:35:57.655 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:35:57.656 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=46] [] [2025/04/04 10:35:57.657 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.211985ms] ["completed regions"=1] [2025/04/04 10:35:57.657 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:35:57.658 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:35:57.659 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=46] [] [2025/04/04 10:35:57.659 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.142953ms] ["completed regions"=1] [2025/04/04 10:35:57.659 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:35:57.660 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:35:57.661 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=46] [] [2025/04/04 10:35:57.661 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.971031ms] ["completed regions"=1] [2025/04/04 10:35:57.662 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:35:57.663 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:35:57.664 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=46] [] [2025/04/04 10:35:57.664 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.114763ms] ["completed regions"=1] [2025/04/04 10:35:57.664 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:35:57.665 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:35:57.667 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=46] [] [2025/04/04 10:35:57.667 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.492409ms] ["completed regions"=1] [2025/04/04 10:35:57.667 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:35:57.668 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:35:57.669 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=43] ["total regions"=46] [] [2025/04/04 10:35:57.669 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.907629ms] ["completed regions"=1] [2025/04/04 10:35:57.669 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:35:57.670 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:35:57.671 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:35:57.672 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:35:57.673 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=46] ["total regions"=46] [] [2025/04/04 10:35:57.673 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.521117ms] ["completed regions"=3] [2025/04/04 10:35:57.673 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:35:57.688 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 10:35:57.774 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=137] [neededSchemaVersion=138] ["elapsed time"=86.142802ms] [2025/04/04 10:35:57.774 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:57.778 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=138] [2025/04/04 10:35: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=138] ["take time"=94.23478ms] [job="ID:159, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.859 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=159] [conn=14] [job="ID:159, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.871 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=159] [2025/04/04 10:35:57.872 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 14\n# Query_time: 0.715212322\n# Parse_time: 0.000071499\n# Compile_time: 0.00030256\n# Rewrite_time: 0.000002904\n# Optimize_time: 0.00008649\n# Wait_TS: 0.00043679\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse ;\nflashback cluster to timestamp '2025-04-04 10:35:56.798000';"] [2025/04/04 10:35:57.874 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=k] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`k`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/04 10:35:57.894 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:35:57.894 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=138] [error="[schema:1049]Unknown database 'test1'"] [errorVerbose="[schema:1049]Unknown database 'test1'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeUse\n\tpkg/executor/simple.go:598\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:155\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:508\ntests/realtikvtest/flashbacktest/flashbacktest_test.TestFlashbackCreateDropSchema\n\ttests/realtikvtest/flashbacktest/flashback_test.go:350\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"\",\n \"id\": 14,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 10:35:57.895 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:35:57.895 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=138] [error="[schema:1049]Unknown database 'test2'"] [errorVerbose="[schema:1049]Unknown database 'test2'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeUse\n\tpkg/executor/simple.go:598\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:155\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:508\ntests/realtikvtest/flashbacktest/flashbacktest_test.TestFlashbackCreateDropSchema\n\ttests/realtikvtest/flashbacktest/flashback_test.go:351\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"\",\n \"id\": 14,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 10:35:57.895 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:35:57.895 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=52424a7d-2020-4d88-a659-45a68a9c9c01] [] [2025/04/04 10:35:57.895 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:35:57.895 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=52424a7d-2020-4d88-a659-45a68a9c9c01] [2025/04/04 10:35:57.895 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:57.895 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:57.895 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 40, tp general"] ["take time"=78.99µs] [2025/04/04 10:35:57.896 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 41, tp general"] ["take time"=63.468µs] [2025/04/04 10:35:57.896 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 42, tp general"] ["take time"=68.796µs] [2025/04/04 10:35:57.896 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 43, tp general"] ["take time"=63.037µs] [2025/04/04 10:35:57.896 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 44, tp general"] ["take time"=48.911µs] [2025/04/04 10:35:57.896 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 45, tp general"] ["take time"=63.863µs] [2025/04/04 10:35:57.896 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 46, tp general"] ["take time"=30.314µs] [2025/04/04 10:35:57.896 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=52424a7d-2020-4d88-a659-45a68a9c9c01] [2025/04/04 10:35:57.896 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=52424a7d-2020-4d88-a659-45a68a9c9c01] [2025/04/04 10:35:57.897 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:35:57.897 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:35:57.900 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=52424a7d-2020-4d88-a659-45a68a9c9c01] ["take time"=5.284094ms] [2025/04/04 10:35:57.900 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=52424a7d-2020-4d88-a659-45a68a9c9c01] [2025/04/04 10:35:57.900 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:35:57.901 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/8b5328c0-14e8-4e50-92af-bf5e7cb46848] [watcherID=3e89bd5d-5f53-46c9-85eb-24fd8796880c] [2025/04/04 10:35:57.901 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:35:57.901 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/8b5328c0-14e8-4e50-92af-bf5e7cb46848] [2025/04/04 10:35:57.901 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=52424a7d-2020-4d88-a659-45a68a9c9c01] [ttl-worker=task-manager] [ttl-worker=52424a7d-2020-4d88-a659-45a68a9c9c01] [originalCount=4] [newCount=0] [2025/04/04 10:35:57.901 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:57.901 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:57.901 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:57.901 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:57.901 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=52424a7d-2020-4d88-a659-45a68a9c9c01] [ttl-worker=task-manager] [ttl-worker=52424a7d-2020-4d88-a659-45a68a9c9c01] [originalCount=4] [newCount=0] [2025/04/04 10:35:57.903 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:57.903 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:57.903 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:57.904 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:57.906 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=52424a7d-2020-4d88-a659-45a68a9c9c01] [2025/04/04 10:35:57.906 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:35:57.907 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1364] [2025/04/04 10:35:57.907 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:35:57.907 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:35:57.907 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:35:57.907 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:35:57.907 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:57.907 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:35:57.907 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:57.907 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=52424a7d-2020-4d88-a659-45a68a9c9c01] [2025/04/04 10:35:57.907 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:57.907 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:57.907 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:57.907 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:35:57.907 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:57.907 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:35:57.907 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:57.908 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:35:57.908 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:35:57.908 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:57.907 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:35:57.908 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:35:57.908 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:35:57.908 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:35:57.908 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:57.907 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:35:57.908 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:35:57.908 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:35:57.908 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:35:57.908 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:35:57.908 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=52424a7d-2020-4d88-a659-45a68a9c9c01] [] [2025/04/04 10:35:57.908 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:35:57.908 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=52424a7d-2020-4d88-a659-45a68a9c9c01] [2025/04/04 10:35:57.908 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:57.908 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:57.908 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:35:57.908 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:57.908 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:57.908 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=52424a7d-2020-4d88-a659-45a68a9c9c01] [2025/04/04 10:35:57.908 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=52424a7d-2020-4d88-a659-45a68a9c9c01] [2025/04/04 10:35:57.908 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:57.907 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:57.907 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:57.907 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:57.907 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:35:57.908 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:57.907 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:57.907 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:35:57.907 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:57.908 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:57.908 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:57.908 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:57.908 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:57.907 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:57.908 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:57.908 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:57.908 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:57.908 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:35:57.908 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:57.908 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:35:57.908 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:35:57.908 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:57.908 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:35:57.908 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=52424a7d-2020-4d88-a659-45a68a9c9c01] [2025/04/04 10:35:57.908 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:35:57.908 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:57.908 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=efb773b1-3fa4-4755-8def-a5e150f3f538] [] [2025/04/04 10:35:57.909 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:35:57.909 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=efb773b1-3fa4-4755-8def-a5e150f3f538] [2025/04/04 10:35:57.908 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:57.908 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:57.908 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:35:57.909 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:57.908 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:57.909 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:35:57.909 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=efb773b1-3fa4-4755-8def-a5e150f3f538] [2025/04/04 10:35:57.909 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:35:57.909 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=efb773b1-3fa4-4755-8def-a5e150f3f538] [2025/04/04 10:35:57.909 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:57.909 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:35:57.909 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:35:57.909 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:57.910 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=efb773b1-3fa4-4755-8def-a5e150f3f538] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:57.910 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:35:57.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:57.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:57.910 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:35:57.910 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:35:57.910 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:35:57.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:57.911 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=52424a7d-2020-4d88-a659-45a68a9c9c01] [error="context canceled"] [2025/04/04 10:35:57.911 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=52424a7d-2020-4d88-a659-45a68a9c9c01] [2025/04/04 10:35:57.930 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:35:57.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:57.973 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=52424a7d-2020-4d88-a659-45a68a9c9c01] [error="context canceled"] [2025/04/04 10:35:57.973 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:35:57.973 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:57.983 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=88.313261ms] [2025/04/04 10:35:57.986 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:57.986 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:57.986 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:57.986 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:57.986 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:57.986 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:57.986 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:57.986 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:57.986 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:57.986 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:57.986 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:57.986 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:57.987 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackCreateDropSchema (2.67s) === NAME === RUN TestFlashbackAutoID [2025/04/04 10:35:57.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 10:35:57.996 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:57.997 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404346513542897] [2025/04/04 10:35:57.997 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:57.997 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:57.998 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:57.998 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:57.998 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:57.998 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:57.998 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:57.998 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:58.002 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:35:58.008 +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 10:35:58.008 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:58.009 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:58.021 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404346513542897] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:35:58.030 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:35:58.065 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1505] ["lease id"=3eaa96005d3c9ba7] [2025/04/04 10:35:58.067 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:35:58.157 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=138] ["elapsed time"=87.477276ms] [2025/04/04 10:35:58.157 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:58.160 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:35:58.166 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [runWorker=true] [jobVersion=v2] [2025/04/04 10:35:58.166 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:35:58.168 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [2025/04/04 10:35:58.169 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:35:58.169 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237168340992/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:35:58.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:58.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:58.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:58.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:58.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:58.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:58.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:58.169 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:35:58.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:58.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:58.169 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:58.169 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:58.170 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=1d5f6a20-f7bc-4cd1-b7b8-7546d94426df] [2025/04/04 10:35:58.171 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d3c9ba3] [ownerID=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [op=none] [2025/04/04 10:35:58.171 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [2025/04/04 10:35:58.171 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [ownerKey=/tidb/ddl/fg/owner/223196005d3c9ba3] [currRev=687] [2025/04/04 10:35:58.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:58.172 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=1d5f6a20-f7bc-4cd1-b7b8-7546d94426df] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:58.173 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:35:58.173 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/223196005d3c9ba5] [ownerID=1d5f6a20-f7bc-4cd1-b7b8-7546d94426df] [op=none] [2025/04/04 10:35:58.173 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=1d5f6a20-f7bc-4cd1-b7b8-7546d94426df] [2025/04/04 10:35:58.173 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=1d5f6a20-f7bc-4cd1-b7b8-7546d94426df] [ownerKey=/tidb/br-stream/owner/223196005d3c9ba5] [currRev=688] [2025/04/04 10:35:58.174 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d3c9ba3] [ownerID=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [op=none] [2025/04/04 10:35:58.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=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [op=none] [2025/04/04 10:35:58.174 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:35:58.177 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [2025/04/04 10:35:58.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:58.178 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:35:58.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:58.198 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:58.203 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:58.203 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:58.204 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:58.204 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:35:58.204 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:58.204 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:35:58.204 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:35:58.204 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:35:58.204 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:35:58.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:58.205 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [2025/04/04 10:35:58.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:58.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:58.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:58.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:58.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:58.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:58.206 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:35:58.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:58.206 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:35:58.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:58.206 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:35:58.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:58.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:58.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:58.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:58.208 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa96005d3c9bb1] [ownerID=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [op=none] [2025/04/04 10:35:58.208 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [2025/04/04 10:35:58.208 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [ownerKey=/tidb/stats/owner/3eaa96005d3c9bb1] [currRev=690] [2025/04/04 10:35:58.208 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:35:58.211 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/b008eb5b-9674-4a6b-8a0a-92a88cabab23] [2025/04/04 10:35:58.211 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:35:58.211 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [ttl-worker=task-manager] [ttl-worker=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [originalCount=0] [newCount=4] [2025/04/04 10:35:58.211 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [ttl-worker=task-manager] [ttl-worker=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [originalCount=0] [newCount=4] [2025/04/04 10:35:58.211 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [2025/04/04 10:35:58.212 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:58.212 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:35:58.212 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743762958212782947 [2025/04/04 10:35:58.216 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:35:58.223 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.072304ms] [2025/04/04 10:35:58.223 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:35:58.223 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:58.228 +00:00] [INFO] [set.go:172] ["set global var"] [conn=15] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:35:58.231 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=138] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:35:58.243 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:160, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:58.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:35:58.243 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:160, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:58.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:58.249 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=160] [conn=15] [job="ID:160, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:58.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:58.265 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=138] [neededSchemaVersion=139] ["elapsed time"=1.946745ms] [gotSchemaVersion=139] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:58.268 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=160] [version=139] [2025/04/04 10:35:58.270 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=139] ["take time"=9.772849ms] [job="ID:160, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:58.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:58.280 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=160] [conn=15] [job="ID:160, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:58.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:58.294 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=139] [neededSchemaVersion=140] ["elapsed time"=1.806946ms] [gotSchemaVersion=140] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:58.297 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=160] [version=140] [2025/04/04 10:35:58.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=140] ["take time"=8.329558ms] [job="ID:160, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:58.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:58.306 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=160] [conn=15] [job="ID:160, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:58.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:58.312 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 151, Old Table Name: t)"] [2025/04/04 10:35:58.325 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=140] [neededSchemaVersion=141] ["elapsed time"=1.187248ms] [gotSchemaVersion=141] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:58.329 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=160] [version=141] [2025/04/04 10:35:58.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=141] ["take time"=8.182906ms] [job="ID:160, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:58.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:58.339 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=160] [tableIDs="[151]"] [comment="drop table: table ID"] [2025/04/04 10:35:58.346 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=160] [jobType="drop table"] [2025/04/04 10:35:58.347 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=160] [conn=15] [job="ID:160, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:58.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:58.366 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=160] [2025/04/04 10:35:58.366 +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: 1743762958366776234 [2025/04/04 10:35:58.390 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:162, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:58.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:58.390 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:162, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:58.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int auto_increment, primary key(a)) auto_id_cache 100"] [2025/04/04 10:35:58.395 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=162] [conn=16] [job="ID:162, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:58.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:58.399 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 161, Table Name: t)"] [2025/04/04 10:35:58.412 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=141] [neededSchemaVersion=142] ["elapsed time"=1.409252ms] [gotSchemaVersion=142] [phyTblIDs="[161]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:58.416 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=162] [version=142] [2025/04/04 10:35:58.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=142] ["take time"=8.028432ms] [job="ID:162, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:58.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:58.428 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=162] [conn=16] [job="ID:162, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:58.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:58.439 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=162] [2025/04/04 10:35:58.440 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=142] [cur_db=test] [sql="create table t(a int auto_increment, primary key(a)) auto_id_cache 100"] [user=] [2025/04/04 10:35:59.179 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:35:59.179 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:59.179 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:59.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:59.211 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:35:59.211 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:35:59.211 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/b008eb5b-9674-4a6b-8a0a-92a88cabab23] [watcherID=fbcacbaf-3f2d-4722-ad23-4999b338f7f0] [2025/04/04 10:35:59.212 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:35:59.217 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:35:59.217 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:35:59.217 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:35:59.217 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:35:59.464 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:59.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:59.464 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:59.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table t"] [2025/04/04 10:35:59.470 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=163] [conn=16] [job="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:59.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.485 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=142] [neededSchemaVersion=143] ["elapsed time"=1.83175ms] [gotSchemaVersion=143] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:59.489 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=143] [2025/04/04 10:35:59.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=143] ["take time"=9.242025ms] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:59.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.500 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=163] [conn=16] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:59.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.515 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=143] [neededSchemaVersion=144] ["elapsed time"=1.796652ms] [gotSchemaVersion=144] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:59.518 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=144] [2025/04/04 10:35:59.520 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=144] ["take time"=8.452433ms] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:59.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.528 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=163] [conn=16] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:59.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.534 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 161, Old Table Name: t)"] [2025/04/04 10:35:59.547 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=144] [neededSchemaVersion=145] ["elapsed time"=1.055188ms] [gotSchemaVersion=145] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:59.550 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=145] [2025/04/04 10:35:59.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=145] ["take time"=8.283692ms] [job="ID:163, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:59.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.561 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=163] [tableIDs="[161]"] [comment="drop table: table ID"] [2025/04/04 10:35:59.565 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=163] [jobType="drop table"] [2025/04/04 10:35:59.566 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=163] [conn=16] [job="ID:163, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:59.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.583 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=163] [2025/04/04 10:35:59.583 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=145] [cur_db=test] [sql="drop table t"] [user=] [2025/04/04 10:35:59.584 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:35:59.397 +0000 UTC"] [2025/04/04 10:35:59.595 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:164, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:59.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:59.595 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:164, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:59.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:35:59.397000'"] [2025/04/04 10:35:59.601 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=16] [job="ID:164, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:59.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.607 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=164] [2025/04/04 10:35:59.614 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=16] [job="ID:164, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:59.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.689 +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 10:35:59.717 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=145] [neededSchemaVersion=146] ["elapsed time"=153.036µs] [gotSchemaVersion=146] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:35:59.720 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=146] [2025/04/04 10:35:59.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=146] ["take time"=7.12869ms] [job="ID:164, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:59.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.731 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=16] [job="ID:164, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:59.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.763 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:35:59.767 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:35:59.769 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.093217ms] ["completed regions"=1] [2025/04/04 10:35:59.769 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:35:59.773 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:35:59.774 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.230726ms] ["completed regions"=1] [2025/04/04 10:35:59.774 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:35:59.778 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:35:59.779 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.218637ms] ["completed regions"=1] [2025/04/04 10:35:59.779 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:35:59.782 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:35:59.783 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.983116ms] ["completed regions"=1] [2025/04/04 10:35:59.783 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:35:59.786 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:35:59.787 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.925416ms] ["completed regions"=1] [2025/04/04 10:35:59.788 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:35:59.791 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:35:59.792 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.028073ms] ["completed regions"=1] [2025/04/04 10:35:59.792 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:35:59.795 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:35:59.796 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.827724ms] ["completed regions"=1] [2025/04/04 10:35:59.796 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:35:59.800 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:35:59.801 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.902454ms] ["completed regions"=1] [2025/04/04 10:35:59.801 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:35:59.804 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:35:59.805 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.677078ms] ["completed regions"=1] [2025/04/04 10:35:59.805 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:35:59.808 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:35:59.809 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.623492ms] ["completed regions"=1] [2025/04/04 10:35:59.809 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:35:59.812 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:35:59.813 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.693935ms] ["completed regions"=1] [2025/04/04 10:35:59.813 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:35:59.816 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:35:59.818 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.025311ms] ["completed regions"=1] [2025/04/04 10:35:59.818 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:35:59.821 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:35:59.822 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=4.049534ms] ["completed regions"=1] [2025/04/04 10:35:59.822 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:35:59.825 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:35:59.826 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.314488ms] ["completed regions"=1] [2025/04/04 10:35:59.826 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:35:59.829 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:35:59.830 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.380264ms] ["completed regions"=1] [2025/04/04 10:35:59.830 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:35:59.833 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:35:59.834 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.205586ms] ["completed regions"=1] [2025/04/04 10:35:59.834 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:35:59.836 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:35:59.837 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.221046ms] ["completed regions"=1] [2025/04/04 10:35:59.837 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:35:59.840 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:35:59.841 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.252528ms] ["completed regions"=1] [2025/04/04 10:35:59.841 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:35:59.843 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:35:59.844 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=2.896116ms] ["completed regions"=1] [2025/04/04 10:35:59.844 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:35:59.847 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:35:59.848 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.048934ms] ["completed regions"=1] [2025/04/04 10:35:59.848 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:35:59.850 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:35:59.851 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.874373ms] ["completed regions"=1] [2025/04/04 10:35:59.851 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:35:59.853 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:35:59.855 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.083417ms] ["completed regions"=1] [2025/04/04 10:35:59.855 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:35:59.857 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:35:59.858 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.866752ms] ["completed regions"=1] [2025/04/04 10:35:59.858 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:35:59.860 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:35:59.861 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.75475ms] ["completed regions"=1] [2025/04/04 10:35:59.861 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:35:59.863 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:35:59.864 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.835473ms] ["completed regions"=1] [2025/04/04 10:35:59.864 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:35:59.867 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:35:59.867 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.639941ms] ["completed regions"=1] [2025/04/04 10:35:59.867 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:35:59.870 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:35:59.871 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.778889ms] ["completed regions"=1] [2025/04/04 10:35:59.871 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:35:59.873 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:35:59.874 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.600739ms] ["completed regions"=1] [2025/04/04 10:35:59.874 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:35:59.876 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:35:59.877 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.667458ms] ["completed regions"=1] [2025/04/04 10:35:59.877 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:35:59.879 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:35:59.880 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.546538ms] ["completed regions"=1] [2025/04/04 10:35:59.880 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:35:59.881 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:35:59.883 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.575984ms] ["completed regions"=1] [2025/04/04 10:35:59.883 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:35:59.884 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:35:59.885 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.413831ms] ["completed regions"=1] [2025/04/04 10:35:59.886 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:35:59.887 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:35:59.888 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.404897ms] ["completed regions"=1] [2025/04/04 10:35:59.888 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:35:59.890 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:35:59.891 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.551789ms] ["completed regions"=1] [2025/04/04 10:35:59.891 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:35:59.893 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:35:59.894 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.363788ms] ["completed regions"=1] [2025/04/04 10:35:59.894 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:35:59.896 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:35:59.897 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.396383ms] ["completed regions"=1] [2025/04/04 10:35:59.897 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:35:59.899 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:35:59.900 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.244997ms] ["completed regions"=1] [2025/04/04 10:35:59.900 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:35:59.901 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:35:59.902 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.141901ms] ["completed regions"=1] [2025/04/04 10:35:59.902 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:35:59.904 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:35:59.905 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.180857ms] ["completed regions"=1] [2025/04/04 10:35:59.905 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:35:59.906 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:35:59.907 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.101696ms] ["completed regions"=1] [2025/04/04 10:35:59.908 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:35:59.909 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:35:59.910 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.770367ms] ["completed regions"=1] [2025/04/04 10:35:59.910 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:35:59.911 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:35:59.912 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.785204ms] ["completed regions"=1] [2025/04/04 10:35:59.912 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:35:59.913 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:35:59.914 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:35:59.915 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:35:59.916 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.255037ms] ["completed regions"=3] [2025/04/04 10:35:59.923 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=164] [2025/04/04 10:35:59.929 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=16] [job="ID:164, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:59.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.930 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:35:59.933 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:35:59.935 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 10:35:59.935 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.346475ms] ["completed regions"=1] [2025/04/04 10:35:59.936 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:35:59.939 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:35:59.940 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 10:35:59.940 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.465209ms] ["completed regions"=1] [2025/04/04 10:35:59.940 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:35:59.944 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:35:59.945 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 10:35:59.945 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.120724ms] ["completed regions"=1] [2025/04/04 10:35:59.945 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:35:59.948 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:35:59.949 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 10:35:59.949 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.029574ms] ["completed regions"=1] [2025/04/04 10:35:59.949 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:35:59.953 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:35:59.954 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 10:35:59.954 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.037474ms] ["completed regions"=1] [2025/04/04 10:35:59.954 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:35:59.957 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:35:59.958 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 10:35:59.958 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.808158ms] ["completed regions"=1] [2025/04/04 10:35:59.958 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:35:59.961 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:35:59.962 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 10:35:59.962 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.841986ms] ["completed regions"=1] [2025/04/04 10:35:59.962 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:35:59.965 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:35:59.967 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 10:35:59.967 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.026595ms] ["completed regions"=1] [2025/04/04 10:35:59.967 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:35:59.970 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:35:59.971 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 10:35:59.971 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.60217ms] ["completed regions"=1] [2025/04/04 10:35:59.971 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:35:59.974 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:35:59.975 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 10:35:59.975 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.636291ms] ["completed regions"=1] [2025/04/04 10:35:59.975 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:35:59.978 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:35:59.979 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 10:35:59.979 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.790554ms] ["completed regions"=1] [2025/04/04 10:35:59.979 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:35:59.982 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:35:59.984 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 10:35:59.984 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.48869ms] ["completed regions"=1] [2025/04/04 10:35:59.984 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:35:59.987 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:35:59.988 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 10:35:59.988 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.487338ms] ["completed regions"=1] [2025/04/04 10:35:59.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 10:35:59.991 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:35:59.992 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 10:35:59.992 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.607886ms] ["completed regions"=1] [2025/04/04 10:35:59.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 10:35:59.994 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:35:59.995 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 10:35:59.995 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.211541ms] ["completed regions"=1] [2025/04/04 10:35:59.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 10:35:59.998 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:35:59.999 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 10:35:59.999 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.162113ms] ["completed regions"=1] [2025/04/04 10:35:59.999 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:36:00.002 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:36:00.003 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 10:36:00.003 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.255509ms] ["completed regions"=1] [2025/04/04 10:36:00.003 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:36:00.005 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:36:00.006 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 10:36:00.006 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.191042ms] ["completed regions"=1] [2025/04/04 10:36:00.006 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:36:00.009 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:36:00.010 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 10:36:00.010 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.223355ms] ["completed regions"=1] [2025/04/04 10:36:00.010 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:36:00.012 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:36:00.017 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 10:36:00.017 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=6.806813ms] ["completed regions"=1] [2025/04/04 10:36:00.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 10:36:00.019 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:36:00.020 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 10:36:00.020 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.038788ms] ["completed regions"=1] [2025/04/04 10:36:00.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 10:36:00.023 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:36:00.024 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 10:36:00.024 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.289625ms] ["completed regions"=1] [2025/04/04 10:36:00.024 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:36:00.027 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:36:00.028 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 10:36:00.028 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.210622ms] ["completed regions"=1] [2025/04/04 10:36:00.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 10:36:00.030 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:36:00.031 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 10:36:00.031 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.896769ms] ["completed regions"=1] [2025/04/04 10:36:00.031 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:36:00.033 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:36:00.034 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 10:36:00.035 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.94644ms] ["completed regions"=1] [2025/04/04 10:36:00.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 10:36:00.037 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:36:00.038 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 10:36:00.038 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.849257ms] ["completed regions"=1] [2025/04/04 10:36:00.038 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:36:00.040 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:36:00.041 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 10:36:00.041 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.658848ms] ["completed regions"=1] [2025/04/04 10:36:00.041 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:36:00.043 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:36:00.044 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 10:36:00.044 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.459163ms] ["completed regions"=1] [2025/04/04 10:36:00.044 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:36:00.046 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:36:00.046 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 10:36:00.046 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.452258ms] ["completed regions"=1] [2025/04/04 10:36:00.047 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:36:00.048 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:36:00.049 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 10:36:00.049 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.625016ms] ["completed regions"=1] [2025/04/04 10:36:00.050 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:36:00.051 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:36:00.052 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 10:36:00.052 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.449431ms] ["completed regions"=1] [2025/04/04 10:36:00.052 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:36:00.055 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:36:00.056 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 10:36:00.056 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=3.824588ms] ["completed regions"=1] [2025/04/04 10:36:00.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 10:36:00.058 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:36:00.059 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 10:36:00.059 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.407979ms] ["completed regions"=1] [2025/04/04 10:36:00.059 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:36:00.061 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:36:00.062 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 10:36:00.062 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.305138ms] ["completed regions"=1] [2025/04/04 10:36:00.062 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:36:00.064 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:36:00.065 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 10:36:00.065 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.624857ms] ["completed regions"=1] [2025/04/04 10:36:00.065 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:36:00.067 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:36:00.068 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 10:36:00.068 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.310778ms] ["completed regions"=1] [2025/04/04 10:36:00.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 10:36:00.069 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:36:00.070 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 10:36:00.070 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.175155ms] ["completed regions"=1] [2025/04/04 10:36:00.070 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:36:00.072 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:36:00.073 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 10:36:00.073 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.434625ms] ["completed regions"=1] [2025/04/04 10:36:00.073 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:36:00.075 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:36:00.076 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 10:36:00.076 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.301294ms] ["completed regions"=1] [2025/04/04 10:36:00.076 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:36:00.077 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:36:00.078 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 10:36:00.078 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.052964ms] ["completed regions"=1] [2025/04/04 10:36:00.078 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:36:00.080 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:36:00.081 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 10:36:00.081 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.006631ms] ["completed regions"=1] [2025/04/04 10:36:00.081 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:36:00.082 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:36:00.083 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 10:36:00.083 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.905919ms] ["completed regions"=1] [2025/04/04 10:36:00.083 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:36:00.084 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:36:00.085 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:36:00.086 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:36:00.088 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 10:36:00.088 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.324835ms] ["completed regions"=3] [2025/04/04 10:36:00.088 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:36:00.102 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 10:36:00.169 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:36:00.186 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=146] [neededSchemaVersion=147] ["elapsed time"=83.625885ms] [2025/04/04 10:36:00.186 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:36:00.189 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=147] [2025/04/04 10:36:00.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=147] ["take time"=90.8295ms] [job="ID:164, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:59.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:00.272 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=164] [conn=16] [job="ID:164, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:59.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:00.284 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=164] [2025/04/04 10:36:00.285 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 16\n# Query_time: 0.701284192\n# Parse_time: 0.000085125\n# Compile_time: 0.000252254\n# Rewrite_time: 0.000003951\n# Optimize_time: 0.000657329\n# Wait_TS: 0.000389222\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-04 10:35:59.397000';"] [2025/04/04 10:36:00.297 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:36:00.297 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:36:00.297 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [] [2025/04/04 10:36:00.297 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [2025/04/04 10:36:00.297 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:36:00.297 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:36:00.297 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 47, tp general"] ["take time"=59.423µs] [2025/04/04 10:36:00.297 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 48, tp general"] ["take time"=36.34µs] [2025/04/04 10:36:00.297 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 49, tp general"] ["take time"=41.891µs] [2025/04/04 10:36:00.297 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 50, tp general"] ["take time"=35.201µs] [2025/04/04 10:36:00.297 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [2025/04/04 10:36:00.297 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [2025/04/04 10:36:00.298 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:36:00.298 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:36:00.300 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] ["take time"=3.410432ms] [2025/04/04 10:36:00.300 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [2025/04/04 10:36:00.300 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:36:00.300 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/b008eb5b-9674-4a6b-8a0a-92a88cabab23] [watcherID=fbcacbaf-3f2d-4722-ad23-4999b338f7f0] [2025/04/04 10:36:00.300 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:36:00.300 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/b008eb5b-9674-4a6b-8a0a-92a88cabab23] [2025/04/04 10:36:00.300 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [ttl-worker=task-manager] [ttl-worker=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [originalCount=4] [newCount=0] [2025/04/04 10:36:00.300 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:36:00.300 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:36:00.300 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:36:00.300 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:36:00.300 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [ttl-worker=task-manager] [ttl-worker=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [originalCount=4] [newCount=0] [2025/04/04 10:36:00.303 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:36:00.303 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:36:00.303 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:36:00.303 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:36:00.305 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [2025/04/04 10:36:00.305 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1505] [2025/04/04 10:36:00.306 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=1d5f6a20-f7bc-4cd1-b7b8-7546d94426df] [] [2025/04/04 10:36:00.306 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:36:00.306 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=1d5f6a20-f7bc-4cd1-b7b8-7546d94426df] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:36:00.306 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=1d5f6a20-f7bc-4cd1-b7b8-7546d94426df] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:36:00.306 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:00.306 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:36:00.306 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:36:00.306 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:36:00.306 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:36:00.306 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:36:00.306 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:36:00.306 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:00.306 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:36:00.306 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:36:00.306 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:36:00.306 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:00.306 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:36:00.306 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:36:00.306 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:36:00.306 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:36:00.306 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=1d5f6a20-f7bc-4cd1-b7b8-7546d94426df] [2025/04/04 10:36:00.306 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:36:00.307 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:36:00.306 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:36:00.306 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:36:00.306 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:00.307 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:36:00.306 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:36:00.306 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:36:00.306 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [2025/04/04 10:36:00.307 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:36:00.307 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:36:00.307 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:36:00.307 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:36:00.307 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:36:00.307 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:36:00.307 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [2025/04/04 10:36:00.306 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:36:00.307 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:36:00.307 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:36:00.306 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:00.306 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:00.307 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:36:00.306 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:36:00.307 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:00.307 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:36:00.306 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:36:00.307 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [] [2025/04/04 10:36:00.307 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:36:00.307 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [2025/04/04 10:36:00.307 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:36:00.307 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:00.307 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [2025/04/04 10:36:00.307 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:36:00.307 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [2025/04/04 10:36:00.308 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=1d5f6a20-f7bc-4cd1-b7b8-7546d94426df] [daemon-id=LogBackup::Advancer] [2025/04/04 10:36:00.308 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:36:00.308 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:36:00.308 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:36:00.308 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:36:00.308 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:36:00.308 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [error="context canceled"] [2025/04/04 10:36:00.308 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:36:00.308 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:36:00.308 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:36:00.308 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:36:00.308 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:36:00.309 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [error="context canceled"] [2025/04/04 10:36:00.309 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [2025/04/04 10:36:00.309 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [error="context canceled"] [2025/04/04 10:36:00.309 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=6a2eb29e-53c4-4105-a77b-b41c62f53a2c] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:00.326 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:36:00.326 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:36:00.373 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:36:00.373 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:36:00.384 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=87.450481ms] [2025/04/04 10:36:00.386 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:00.386 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:00.386 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:00.386 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:00.386 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:00.386 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:00.386 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:00.386 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:00.386 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:00.386 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:00.387 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:00.387 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:00.388 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackAutoID (2.40s) === NAME === RUN TestFlashbackSequence [2025/04/04 10:36:00.396 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:36:00.396 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:00.397 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404346513542897] [2025/04/04 10:36:00.398 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:00.402 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:00.402 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:00.402 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:00.402 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:00.402 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:00.403 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:00.403 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:00.406 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:36:00.411 +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 10:36:00.412 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:36:00.413 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:36:00.425 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404346513542897] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:36:00.435 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:36:00.469 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1947] ["lease id"=6f1896005d3c9d57] [2025/04/04 10:36:00.470 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:36:00.557 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=147] ["elapsed time"=84.047995ms] [2025/04/04 10:36:00.557 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:36:00.559 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:36:00.564 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [runWorker=true] [jobVersion=v2] [2025/04/04 10:36:00.564 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:36:00.566 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [2025/04/04 10:36:00.567 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:36:00.567 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237170524160/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:36:00.567 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:36:00.567 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:36:00.567 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:36:00.567 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:36:00.568 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:36:00.568 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:36:00.568 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:36:00.568 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:36:00.568 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:36:00.568 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:36:00.568 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:36:00.568 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:36:00.568 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=03b6f231-aaeb-49bf-b400-e7f40411464e] [2025/04/04 10:36:00.570 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d3c9d5c] [ownerID=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [op=none] [2025/04/04 10:36:00.570 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [2025/04/04 10:36:00.570 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [ownerKey=/tidb/ddl/fg/owner/6f1896005d3c9d5c] [currRev=739] [2025/04/04 10:36:00.570 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:36:00.570 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=03b6f231-aaeb-49bf-b400-e7f40411464e] [daemon-id=LogBackup::Advancer] [2025/04/04 10:36:00.571 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa96005d3c9bd1] [ownerID=03b6f231-aaeb-49bf-b400-e7f40411464e] [op=none] [2025/04/04 10:36:00.571 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=03b6f231-aaeb-49bf-b400-e7f40411464e] [2025/04/04 10:36:00.571 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=03b6f231-aaeb-49bf-b400-e7f40411464e] [ownerKey=/tidb/br-stream/owner/3eaa96005d3c9bd1] [currRev=739] [2025/04/04 10:36:00.571 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:36:00.572 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d3c9d5c] [ownerID=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [op=none] [2025/04/04 10:36:00.572 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [op=none] [2025/04/04 10:36:00.572 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:36:00.576 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [2025/04/04 10:36:00.577 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:36:00.577 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:36:00.588 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:36:00.595 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:36:00.600 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:36:00.601 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:36:00.601 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:36:00.601 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:36:00.601 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:36:00.601 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:36:00.601 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:36:00.601 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:36:00.601 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:36:00.602 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:36:00.602 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [2025/04/04 10:36:00.602 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:36:00.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:36:00.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:36:00.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:36:00.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:36:00.603 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:36:00.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:36:00.603 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:36:00.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:36:00.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:36:00.603 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:36:00.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:36:00.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:36:00.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:36:00.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:36:00.605 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f1896005d3c9d64] [ownerID=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [op=none] [2025/04/04 10:36:00.605 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [2025/04/04 10:36:00.605 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:36:00.605 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [ownerKey=/tidb/stats/owner/6f1896005d3c9d64] [currRev=741] [2025/04/04 10:36:00.607 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/2c3d5574-20ab-4111-93ab-9a7c92639db8] [2025/04/04 10:36:00.608 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [ttl-worker=task-manager] [ttl-worker=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [originalCount=0] [newCount=4] [2025/04/04 10:36:00.608 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [ttl-worker=task-manager] [ttl-worker=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [originalCount=0] [newCount=4] [2025/04/04 10:36:00.608 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [2025/04/04 10:36:00.608 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:36:00.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:36:00.609 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:36:00.609 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743762960609652721 [2025/04/04 10:36:00.614 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:36:00.620 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.249215ms] [2025/04/04 10:36:00.620 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:36:00.620 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:36:00.630 +00:00] [INFO] [set.go:172] ["set global var"] [conn=17] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:36:00.632 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=147] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:36:00.644 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:165, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:00.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:00.644 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:165, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:00.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:36:00.650 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=165] [conn=17] [job="ID:165, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:00.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:00.665 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=147] [neededSchemaVersion=148] ["elapsed time"=1.742465ms] [gotSchemaVersion=148] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:00.669 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=165] [version=148] [2025/04/04 10:36: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=148] ["take time"=9.315309ms] [job="ID:165, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:00.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:00.681 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=165] [conn=17] [job="ID:165, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:00.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:00.696 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=148] [neededSchemaVersion=149] ["elapsed time"=1.772328ms] [gotSchemaVersion=149] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:00.700 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=165] [version=149] [2025/04/04 10:36:00.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=149] ["take time"=8.659756ms] [job="ID:165, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:00.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:00.709 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=165] [conn=17] [job="ID:165, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:00.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:00.720 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 161, Old Table Name: t)"] [2025/04/04 10:36:00.733 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=149] [neededSchemaVersion=150] ["elapsed time"=1.202504ms] [gotSchemaVersion=150] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:00.737 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=165] [version=150] [2025/04/04 10:36:00.738 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=150] ["take time"=8.007306ms] [job="ID:165, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:00.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:00.747 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=165] [tableIDs="[161]"] [comment="drop table: table ID"] [2025/04/04 10:36:00.754 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=165] [jobType="drop table"] [2025/04/04 10:36:00.755 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=165] [conn=17] [job="ID:165, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:00.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:00.774 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=165] [2025/04/04 10:36:00.774 +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: 1743762960774907975 [2025/04/04 10:36:00.804 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:167, Type:create sequence, State:queueing, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:00.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:00.804 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:167, Type:create sequence, State:queueing, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:00.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create sequence seq cache 100"] [2025/04/04 10:36:00.810 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=18] [job="ID:167, Type:create sequence, State:queueing, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:00.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:00.828 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=150] [neededSchemaVersion=151] ["elapsed time"=1.41208ms] [gotSchemaVersion=151] [phyTblIDs="[166]"] [actionTypes="[34]"] [diffTypes="[\"create sequence\"]"] [2025/04/04 10:36:00.831 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=151] [2025/04/04 10:36:00.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=151] ["take time"=9.869941ms] [job="ID:167, Type:create sequence, State:done, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:00.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:00.844 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=167] [conn=18] [job="ID:167, Type:create sequence, State:synced, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:00.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:00.854 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=167] [2025/04/04 10:36:01.577 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:36:01.577 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:36:01.577 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:36:01.577 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:36:01.608 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:36:01.608 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:36:01.608 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/2c3d5574-20ab-4111-93ab-9a7c92639db8] [watcherID=6bd5cde6-376a-44db-a754-86ae409a28b7] [2025/04/04 10:36:01.609 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:36:01.614 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:36:01.614 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:36:01.614 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:36:01.614 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:36:01.872 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:168, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:01.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop sequence seq"] [2025/04/04 10:36:01.872 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:168, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:01.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:01.877 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=18] [job="ID:168, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:01.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:01.893 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=151] [neededSchemaVersion=152] ["elapsed time"=1.657969ms] [gotSchemaVersion=152] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/04 10:36:01.896 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=152] [2025/04/04 10:36:01.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=152] ["take time"=9.100435ms] [job="ID:168, Type:drop sequence, State:running, SchemaState:write only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:01.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:01.908 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=18] [job="ID:168, Type:drop sequence, State:running, SchemaState:write only, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:01.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.067 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=152] [neededSchemaVersion=153] ["elapsed time"=2.267266ms] [gotSchemaVersion=153] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/04 10:36:02.071 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=153] [2025/04/04 10:36:02.073 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=153] ["take time"=11.418568ms] [job="ID:168, Type:drop sequence, State:running, SchemaState:delete only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:01.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.082 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=18] [job="ID:168, Type:drop sequence, State:running, SchemaState:delete only, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:01.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.099 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=153] [neededSchemaVersion=154] ["elapsed time"=1.396768ms] [gotSchemaVersion=154] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/04 10:36:02.103 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=154] [2025/04/04 10:36:02.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=154] ["take time"=9.455678ms] [job="ID:168, Type:drop sequence, State:done, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:01.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.114 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=168] [conn=18] [job="ID:168, Type:drop sequence, State:synced, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:01.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.125 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=168] [2025/04/04 10:36:02.126 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:36:01.848 +0000 UTC"] [2025/04/04 10:36:02.137 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:169, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:02.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:02.137 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:169, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:02.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:36:01.848000'"] [2025/04/04 10:36:02.142 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=18] [job="ID:169, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:02.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.148 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=169] [2025/04/04 10:36:02.155 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=18] [job="ID:169, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:02.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.224 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=349ms] [prevState=unknown(0)] [newState=adapting] [2025/04/04 10:36:02.254 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=154] [neededSchemaVersion=155] ["elapsed time"=149.939µs] [gotSchemaVersion=155] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:36:02.257 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=169] [version=155] [2025/04/04 10:36:02.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=155] ["take time"=7.200637ms] [job="ID:169, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:02.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.268 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=18] [job="ID:169, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:02.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.300 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:36:02.303 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:36:02.305 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.767719ms] ["completed regions"=1] [2025/04/04 10:36:02.305 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:36:02.309 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:36:02.310 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=3.978692ms] ["completed regions"=1] [2025/04/04 10:36:02.310 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:36:02.313 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:36:02.314 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=3.766906ms] ["completed regions"=1] [2025/04/04 10:36:02.314 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:36:02.317 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:36:02.318 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.747626ms] ["completed regions"=1] [2025/04/04 10:36:02.318 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:36:02.322 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:36:02.323 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.974845ms] ["completed regions"=1] [2025/04/04 10:36:02.323 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:36:02.326 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:36:02.327 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.958752ms] ["completed regions"=1] [2025/04/04 10:36:02.327 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:36:02.330 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:36:02.331 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.692666ms] ["completed regions"=1] [2025/04/04 10:36:02.331 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:36:02.334 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:36:02.335 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.840748ms] ["completed regions"=1] [2025/04/04 10:36:02.336 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:36:02.339 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:36:02.340 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.868577ms] ["completed regions"=1] [2025/04/04 10:36:02.340 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:36:02.343 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:36:02.344 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.307548ms] ["completed regions"=1] [2025/04/04 10:36:02.344 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:36:02.346 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:36:02.347 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.354252ms] ["completed regions"=1] [2025/04/04 10:36:02.347 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:36:02.350 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:36:02.351 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.693119ms] ["completed regions"=1] [2025/04/04 10:36:02.351 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:36:02.354 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:36:02.355 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.181853ms] ["completed regions"=1] [2025/04/04 10:36:02.355 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:36:02.358 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:36:02.359 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.139273ms] ["completed regions"=1] [2025/04/04 10:36:02.359 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:36:02.361 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:36:02.362 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.087958ms] ["completed regions"=1] [2025/04/04 10:36:02.362 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:36:02.364 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:36:02.365 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=2.897055ms] ["completed regions"=1] [2025/04/04 10:36:02.365 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:36:02.368 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:36:02.369 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.123369ms] ["completed regions"=1] [2025/04/04 10:36:02.369 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:36:02.371 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:36:02.372 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.19278ms] ["completed regions"=1] [2025/04/04 10:36:02.373 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:36:02.379 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:36:02.380 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=7.28043ms] ["completed regions"=1] [2025/04/04 10:36:02.380 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:36:02.385 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:36:02.386 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=5.292805ms] ["completed regions"=1] [2025/04/04 10:36:02.386 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:36:02.390 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:36:02.391 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.995839ms] ["completed regions"=1] [2025/04/04 10:36:02.391 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:36:02.394 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:36:02.397 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=5.274916ms] ["completed regions"=1] [2025/04/04 10:36:02.397 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:36:02.399 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:36:02.400 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.050666ms] ["completed regions"=1] [2025/04/04 10:36:02.400 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:36:02.403 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:36:02.404 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.005021ms] ["completed regions"=1] [2025/04/04 10:36:02.404 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:36:02.406 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:36:02.407 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.813493ms] ["completed regions"=1] [2025/04/04 10:36:02.407 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:36:02.409 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:36:02.410 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.926451ms] ["completed regions"=1] [2025/04/04 10:36:02.410 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:36:02.413 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:36:02.414 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.906485ms] ["completed regions"=1] [2025/04/04 10:36:02.414 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:36:02.416 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:36:02.418 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.182855ms] ["completed regions"=1] [2025/04/04 10:36:02.418 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:36:02.420 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:36:02.430 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=12.148438ms] ["completed regions"=1] [2025/04/04 10:36:02.430 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:36:02.432 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:36:02.433 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.603531ms] ["completed regions"=1] [2025/04/04 10:36:02.434 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:36:02.435 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:36:02.436 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.496141ms] ["completed regions"=1] [2025/04/04 10:36:02.436 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:36:02.438 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:36:02.439 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.402234ms] ["completed regions"=1] [2025/04/04 10:36:02.439 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:36:02.441 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:36:02.442 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.505911ms] ["completed regions"=1] [2025/04/04 10:36:02.442 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:36:02.444 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:36:02.445 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.338566ms] ["completed regions"=1] [2025/04/04 10:36:02.445 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:36:02.447 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:36:02.448 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.823251ms] ["completed regions"=1] [2025/04/04 10:36:02.448 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:36:02.450 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:36:02.451 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.213467ms] ["completed regions"=1] [2025/04/04 10:36:02.451 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:36:02.452 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:36:02.453 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.051629ms] ["completed regions"=1] [2025/04/04 10:36:02.453 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:36:02.455 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:36:02.456 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.104384ms] ["completed regions"=1] [2025/04/04 10:36:02.456 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:36:02.457 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:36:02.458 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.964667ms] ["completed regions"=1] [2025/04/04 10:36:02.458 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:36:02.460 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:36:02.461 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.878062ms] ["completed regions"=1] [2025/04/04 10:36:02.461 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:36:02.462 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:36:02.463 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.848418ms] ["completed regions"=1] [2025/04/04 10:36:02.463 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:36:02.464 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:36:02.465 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.706548ms] ["completed regions"=1] [2025/04/04 10:36:02.465 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:36:02.466 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:36:02.467 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:36:02.468 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:36:02.469 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.590598ms] ["completed regions"=3] [2025/04/04 10:36:02.475 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=169] [2025/04/04 10:36:02.482 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=18] [job="ID:169, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:02.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.482 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:36:02.486 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:36:02.488 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 10:36:02.488 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.433151ms] ["completed regions"=1] [2025/04/04 10:36:02.488 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:36:02.492 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:36:02.493 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 10:36:02.493 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.708522ms] ["completed regions"=1] [2025/04/04 10:36:02.493 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:36:02.497 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:36:02.498 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 10:36:02.498 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.34426ms] ["completed regions"=1] [2025/04/04 10:36:02.498 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:36:02.501 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:36:02.502 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 10:36:02.502 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.062771ms] ["completed regions"=1] [2025/04/04 10:36:02.503 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:36:02.506 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:36:02.507 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 10:36:02.507 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.965733ms] ["completed regions"=1] [2025/04/04 10:36:02.507 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:36:02.510 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:36:02.511 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 10:36:02.511 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.004618ms] ["completed regions"=1] [2025/04/04 10:36:02.511 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:36:02.515 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:36:02.516 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 10:36:02.516 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.951429ms] ["completed regions"=1] [2025/04/04 10:36:02.516 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:36:02.519 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:36:02.520 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 10:36:02.520 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.396492ms] ["completed regions"=1] [2025/04/04 10:36:02.521 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:36:02.524 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:36:02.525 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 10:36:02.525 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.236259ms] ["completed regions"=1] [2025/04/04 10:36:02.525 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:36:02.528 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:36:02.530 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 10:36:02.530 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.067365ms] ["completed regions"=1] [2025/04/04 10:36:02.530 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:36:02.533 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:36:02.534 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 10:36:02.534 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.97718ms] ["completed regions"=1] [2025/04/04 10:36:02.534 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:36:02.537 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:36:02.538 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 10:36:02.538 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.82784ms] ["completed regions"=1] [2025/04/04 10:36:02.538 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:36:02.541 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:36:02.542 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 10:36:02.543 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.77351ms] ["completed regions"=1] [2025/04/04 10:36:02.543 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:36:02.545 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:36:02.546 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 10:36:02.546 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.482783ms] ["completed regions"=1] [2025/04/04 10:36:02.547 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:36:02.549 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:36:02.550 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 10:36:02.550 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.354068ms] ["completed regions"=1] [2025/04/04 10:36:02.550 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:36:02.553 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:36:02.554 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 10:36:02.554 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.581656ms] ["completed regions"=1] [2025/04/04 10:36:02.554 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:36:02.557 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:36:02.559 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 10:36:02.559 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.957821ms] ["completed regions"=1] [2025/04/04 10:36:02.559 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:36:02.561 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:36:02.562 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 10:36:02.562 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.270728ms] ["completed regions"=1] [2025/04/04 10:36:02.563 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:36:02.565 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:36:02.566 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 10:36:02.566 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.397698ms] ["completed regions"=1] [2025/04/04 10:36:02.566 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:36:02.567 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:36:02.569 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:36:02.570 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 10:36:02.570 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.462717ms] ["completed regions"=1] [2025/04/04 10:36:02.570 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:36:02.573 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:36:02.574 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 10:36:02.574 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.494778ms] ["completed regions"=1] [2025/04/04 10:36:02.574 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:36:02.577 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:36:02.578 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 10:36:02.578 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.324744ms] ["completed regions"=1] [2025/04/04 10:36:02.578 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:36:02.581 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:36:02.582 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 10:36:02.582 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.257687ms] ["completed regions"=1] [2025/04/04 10:36:02.582 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:36:02.584 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:36:02.585 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 10:36:02.585 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.233851ms] ["completed regions"=1] [2025/04/04 10:36:02.585 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:36:02.588 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:36:02.589 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 10:36:02.589 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.927007ms] ["completed regions"=1] [2025/04/04 10:36:02.589 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:36:02.591 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:36:02.592 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 10:36:02.592 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.902324ms] ["completed regions"=1] [2025/04/04 10:36:02.592 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:36:02.594 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:36:02.595 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 10:36:02.595 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.771189ms] ["completed regions"=1] [2025/04/04 10:36:02.595 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:36:02.597 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:36:02.598 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 10:36:02.598 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.727249ms] ["completed regions"=1] [2025/04/04 10:36:02.598 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:36:02.601 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:36:02.602 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 10:36:02.602 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.233138ms] ["completed regions"=1] [2025/04/04 10:36:02.602 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:36:02.604 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:36:02.605 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 10:36:02.605 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.730378ms] ["completed regions"=1] [2025/04/04 10:36:02.605 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:36:02.608 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:36:02.609 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 10:36:02.609 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=3.168051ms] ["completed regions"=1] [2025/04/04 10:36:02.609 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:36:02.611 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:36:02.612 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 10:36:02.612 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.799538ms] ["completed regions"=1] [2025/04/04 10:36:02.612 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:36:02.614 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:36:02.615 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 10:36:02.615 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.422396ms] ["completed regions"=1] [2025/04/04 10:36:02.615 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:36:02.617 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:36:02.618 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 10:36:02.618 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.375ms] ["completed regions"=1] [2025/04/04 10:36:02.618 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:36:02.620 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:36:02.621 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 10:36:02.621 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.434038ms] ["completed regions"=1] [2025/04/04 10:36:02.621 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:36:02.622 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:36:02.623 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 10:36:02.623 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.240643ms] ["completed regions"=1] [2025/04/04 10:36:02.623 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:36:02.625 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:36:02.626 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 10:36:02.626 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.358657ms] ["completed regions"=1] [2025/04/04 10:36:02.626 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:36:02.627 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:36:02.628 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 10:36:02.629 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.117069ms] ["completed regions"=1] [2025/04/04 10:36:02.629 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:36:02.630 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:36:02.631 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 10:36:02.631 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.014214ms] ["completed regions"=1] [2025/04/04 10:36:02.631 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:36:02.632 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:36:02.633 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 10:36:02.633 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.003305ms] ["completed regions"=1] [2025/04/04 10:36:02.633 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:36:02.635 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:36:02.635 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 10:36:02.636 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.859703ms] ["completed regions"=1] [2025/04/04 10:36:02.636 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:36:02.637 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:36:02.638 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 10:36:02.638 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.77396ms] ["completed regions"=1] [2025/04/04 10:36:02.638 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:36:02.639 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:36:02.640 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:36:02.641 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:36:02.642 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 10:36:02.642 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.670861ms] ["completed regions"=3] [2025/04/04 10:36:02.642 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:36:02.657 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 10:36:02.745 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=155] [neededSchemaVersion=156] ["elapsed time"=88.943009ms] [2025/04/04 10:36:02.746 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:36:02.749 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=169] [version=156] [2025/04/04 10:36:02.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=156] ["take time"=96.659525ms] [job="ID:169, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:02.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.819 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=169] [conn=18] [job="ID:169, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:02.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.832 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=169] [2025/04/04 10:36:02.832 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 18\n# Query_time: 0.706834205\n# Parse_time: 0.000080465\n# Compile_time: 0.000293406\n# Rewrite_time: 0.000003169\n# Optimize_time: 0.000098161\n# Wait_TS: 0.000336619\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-04 10:36:01.848000';"] [2025/04/04 10:36:02.848 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:170, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:02.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:02.848 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:170, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:02.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop sequence seq"] [2025/04/04 10:36:02.853 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=18] [job="ID:170, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:02.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.868 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=156] [neededSchemaVersion=157] ["elapsed time"=1.591538ms] [gotSchemaVersion=157] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/04 10:36:02.872 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=157] [2025/04/04 10:36:02.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=157] ["take time"=8.867802ms] [job="ID:170, Type:drop sequence, State:running, SchemaState:write only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:02.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.883 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=18] [job="ID:170, Type:drop sequence, State:running, SchemaState:write only, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:02.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.897 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=157] [neededSchemaVersion=158] ["elapsed time"=1.56912ms] [gotSchemaVersion=158] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/04 10:36:02.900 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=158] [2025/04/04 10:36:02.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=158] ["take time"=8.63806ms] [job="ID:170, Type:drop sequence, State:running, SchemaState:delete only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:02.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.910 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=18] [job="ID:170, Type:drop sequence, State:running, SchemaState:delete only, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:02.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.927 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=158] [neededSchemaVersion=159] ["elapsed time"=1.077124ms] [gotSchemaVersion=159] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/04 10:36:02.930 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=159] [2025/04/04 10:36:02.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=159] ["take time"=7.851648ms] [job="ID:170, Type:drop sequence, State:done, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:02.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.941 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=170] [conn=18] [job="ID:170, Type:drop sequence, State:synced, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:02.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.951 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=170] [2025/04/04 10:36:02.951 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:36:02.951 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [] [2025/04/04 10:36:02.951 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [2025/04/04 10:36:02.951 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:36:02.951 +00:00] [WARN] [job_scheduler.go:653] ["delete versions failed"] [category=ddl] ["job ID"=170] [error="context canceled"] [2025/04/04 10:36:02.952 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:36:02.952 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:36:02.952 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 51, tp general"] ["take time"=73.552µs] [2025/04/04 10:36:02.952 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 52, tp general"] ["take time"=53.288µs] [2025/04/04 10:36:02.952 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 53, tp general"] ["take time"=30.035µs] [2025/04/04 10:36:02.952 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 54, tp general"] ["take time"=30.808µs] [2025/04/04 10:36:02.952 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 55, tp general"] ["take time"=36.943µs] [2025/04/04 10:36:02.952 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [2025/04/04 10:36:02.952 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [2025/04/04 10:36:02.953 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:36:02.953 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:36:02.956 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=93be8973-49c8-4dfb-bf18-4e286a3d1e24] ["take time"=4.43406ms] [2025/04/04 10:36:02.956 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [2025/04/04 10:36:02.956 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:36:02.956 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:36:02.956 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/2c3d5574-20ab-4111-93ab-9a7c92639db8] [watcherID=6bd5cde6-376a-44db-a754-86ae409a28b7] [2025/04/04 10:36:02.956 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/2c3d5574-20ab-4111-93ab-9a7c92639db8] [2025/04/04 10:36:02.956 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [ttl-worker=task-manager] [ttl-worker=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [originalCount=4] [newCount=0] [2025/04/04 10:36:02.956 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:36:02.956 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:36:02.956 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:36:02.956 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:36:02.956 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [ttl-worker=task-manager] [ttl-worker=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [originalCount=4] [newCount=0] [2025/04/04 10:36:02.959 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:36:02.959 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:36:02.959 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:36:02.959 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:36:02.961 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [2025/04/04 10:36:02.961 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1947] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:36:02.962 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:36:02.962 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:36:02.962 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:36:02.962 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:36:02.962 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:36:02.962 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:36:02.962 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:36:02.962 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:02.962 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:02.962 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:36:02.962 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:36:02.962 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:36:02.962 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:36:02.962 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:02.962 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=03b6f231-aaeb-49bf-b400-e7f40411464e] [] [2025/04/04 10:36:02.962 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [] [2025/04/04 10:36:02.962 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:02.962 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:36:02.962 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:36:02.963 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [2025/04/04 10:36:02.963 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=03b6f231-aaeb-49bf-b400-e7f40411464e] [2025/04/04 10:36:02.962 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:02.962 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:36:02.962 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:36:02.962 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:36:02.962 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:36:02.962 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:36:02.963 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:36:02.962 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:36:02.963 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:36:02.962 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:36:02.963 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:36:02.963 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:36:02.963 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:36:02.962 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:36:02.962 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:02.962 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:02.962 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:02.962 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:36:02.962 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:36:02.962 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:36:02.963 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:02.963 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=03b6f231-aaeb-49bf-b400-e7f40411464e] [2025/04/04 10:36:02.963 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [2025/04/04 10:36:02.963 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=03b6f231-aaeb-49bf-b400-e7f40411464e] [2025/04/04 10:36:02.963 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:36:02.963 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [2025/04/04 10:36:02.963 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:02.963 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:36:02.963 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:02.963 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:36:02.963 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:36:02.963 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [2025/04/04 10:36:02.963 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:36:02.963 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:36:02.965 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:36:02.965 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:36:02.965 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:36:02.965 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:36:02.965 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=03b6f231-aaeb-49bf-b400-e7f40411464e] [daemon-id=LogBackup::Advancer] [2025/04/04 10:36:02.965 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:36:02.965 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:36:02.965 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [error="context canceled"] [2025/04/04 10:36:02.965 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:36:02.965 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:36:02.965 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:36:02.965 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:36:02.966 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:36:02.966 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:36:02.966 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [error="context canceled"] [2025/04/04 10:36:02.966 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [2025/04/04 10:36:02.966 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [error="context canceled"] [2025/04/04 10:36:02.966 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=93be8973-49c8-4dfb-bf18-4e286a3d1e24] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:03.024 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:36:03.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:36:03.035 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.911797ms] [2025/04/04 10:36:03.038 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:03.038 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:03.038 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:03.038 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:03.038 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:03.038 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:03.038 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:03.038 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:03.038 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:03.038 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:03.038 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:03.038 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:03.039 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackSequence (2.65s) === NAME === RUN TestFlashbackPartitionTable [2025/04/04 10:36:03.047 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:36:03.048 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:03.048 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404346513542897] [2025/04/04 10:36:03.049 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:03.049 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:03.049 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:03.049 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:03.049 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:03.049 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:03.050 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:03.050 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:03.053 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:36:03.059 +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 10:36:03.059 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:36:03.060 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:36:03.073 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404346513542897] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:36:03.082 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:36:03.118 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1177] ["lease id"=6f1896005d3c9d90] [2025/04/04 10:36:03.119 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:36:03.208 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=159] ["elapsed time"=85.968383ms] [2025/04/04 10:36:03.208 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:36:03.210 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:36:03.216 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=a4731153-f17e-4a32-aad4-c32de58f35a3] [runWorker=true] [jobVersion=v2] [2025/04/04 10:36:03.217 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:36:03.218 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [2025/04/04 10:36:03.219 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:36:03.220 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237170601984/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:36:03.220 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:36:03.220 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:36:03.220 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:36:03.220 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:36:03.220 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:36:03.220 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:36:03.220 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:36:03.220 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:36:03.220 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:36:03.220 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:36:03.220 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:36:03.220 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:36:03.220 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=5a2c80fa-917d-4c12-b546-cf1c0bbdd423] [2025/04/04 10:36:03.222 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d3c9bf9] [ownerID=a4731153-f17e-4a32-aad4-c32de58f35a3] [op=none] [2025/04/04 10:36:03.222 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [2025/04/04 10:36:03.222 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [ownerKey=/tidb/ddl/fg/owner/3eaa96005d3c9bf9] [currRev=795] [2025/04/04 10:36:03.223 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:36:03.223 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=5a2c80fa-917d-4c12-b546-cf1c0bbdd423] [daemon-id=LogBackup::Advancer] [2025/04/04 10:36:03.223 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa96005d3c9bfb] [ownerID=5a2c80fa-917d-4c12-b546-cf1c0bbdd423] [op=none] [2025/04/04 10:36:03.223 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=5a2c80fa-917d-4c12-b546-cf1c0bbdd423] [2025/04/04 10:36:03.223 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=5a2c80fa-917d-4c12-b546-cf1c0bbdd423] [ownerKey=/tidb/br-stream/owner/3eaa96005d3c9bfb] [currRev=796] [2025/04/04 10:36:03.223 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:36:03.224 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d3c9bf9] [ownerID=a4731153-f17e-4a32-aad4-c32de58f35a3] [op=none] [2025/04/04 10:36:03.224 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [op=none] [2025/04/04 10:36:03.224 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:36:03.233 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [2025/04/04 10:36:03.234 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:36:03.234 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:36:03.246 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:36:03.253 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:36:03.259 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:36:03.259 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:36:03.259 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:36:03.259 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:36:03.259 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:36:03.259 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:36:03.259 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:36:03.259 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:36:03.259 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:36:03.261 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:36:03.261 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [2025/04/04 10:36:03.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:36:03.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:36:03.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:36:03.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:36:03.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:36:03.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:36:03.262 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:36:03.262 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:36:03.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:36:03.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:36:03.262 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:36:03.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:36:03.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:36:03.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:36:03.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:36:03.264 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f1896005d3c9d9b] [ownerID=a4731153-f17e-4a32-aad4-c32de58f35a3] [op=none] [2025/04/04 10:36:03.264 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [2025/04/04 10:36:03.264 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [ownerKey=/tidb/stats/owner/6f1896005d3c9d9b] [currRev=798] [2025/04/04 10:36:03.264 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:36:03.266 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/eed11569-d490-464b-8f82-243ae10a3d24] [2025/04/04 10:36:03.267 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=a4731153-f17e-4a32-aad4-c32de58f35a3] [ttl-worker=task-manager] [ttl-worker=a4731153-f17e-4a32-aad4-c32de58f35a3] [originalCount=0] [newCount=4] [2025/04/04 10:36:03.267 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=a4731153-f17e-4a32-aad4-c32de58f35a3] [ttl-worker=task-manager] [ttl-worker=a4731153-f17e-4a32-aad4-c32de58f35a3] [originalCount=0] [newCount=4] [2025/04/04 10:36:03.267 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=a4731153-f17e-4a32-aad4-c32de58f35a3] [2025/04/04 10:36:03.267 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:36:03.268 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:36:03.268 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:36:03.268 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743762963268473765 [2025/04/04 10:36:03.273 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:36:03.280 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.489595ms] [2025/04/04 10:36:03.280 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:36:03.280 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:36:03.289 +00:00] [INFO] [set.go:172] ["set global var"] [conn=19] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:36:03.300 +00:00] [INFO] [set.go:172] ["set global var"] [conn=19] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743762963302372937 [2025/04/04 10:36:03.331 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:175, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:03.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:03.331 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:175, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:03.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int) partition by range(`a`) (partition `a_1` values less than (25), partition `a_2` values less than (75), partition `a_3` values less than (200))"] [2025/04/04 10:36:03.337 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=175] [conn=20] [job="ID:175, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:03.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:03.343 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 171, Table Name: t)"] [2025/04/04 10:36:03.358 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=159] [neededSchemaVersion=160] ["elapsed time"=2.175459ms] [gotSchemaVersion=160] [phyTblIDs="[171,172,173,174]"] [actionTypes="[3,3,3,3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:03.362 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=175] [version=160] [2025/04/04 10:36:03.364 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=160] ["take time"=9.785382ms] [job="ID:175, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:03.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:03.375 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=175] [conn=20] [job="ID:175, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:03.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:03.387 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=175] [2025/04/04 10:36:03.387 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=160] [cur_db=test] [sql="create table t(a int) partition by range(`a`) (partition `a_1` values less than (25), partition `a_2` values less than (75), partition `a_3` values less than (200))"] [user=] [2025/04/04 10:36:04.229 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:36:04.229 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:36:04.229 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:36:04.230 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:36:04.267 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:36:04.267 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:36:04.267 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/eed11569-d490-464b-8f82-243ae10a3d24] [watcherID=0ea37b7d-7889-4689-94a6-0a02e43c6f15] [2025/04/04 10:36:04.268 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:36:04.273 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:36:04.273 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:36:04.273 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:36:04.273 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:36:04.624 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:176, Type:drop partition, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:04.624 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:176, Type:drop partition, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t drop partition `a_3`"] [2025/04/04 10:36:04.630 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=176] [conn=20] [job="ID:176, Type:drop partition, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:04.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.650 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=160] [neededSchemaVersion=161] ["elapsed time"=2.264443ms] [gotSchemaVersion=161] [phyTblIDs="[171,172,173,174]"] [actionTypes="[20,20,20,20]"] [diffTypes="[\"drop partition\"]"] [2025/04/04 10:36:04.654 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=161] [2025/04/04 10:36:04.655 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=161] ["take time"=10.148348ms] [job="ID:176, Type:drop partition, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.667 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=176] [conn=20] [job="ID:176, Type:drop partition, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:04.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.686 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=161] [neededSchemaVersion=162] ["elapsed time"=2.126132ms] [gotSchemaVersion=162] [phyTblIDs="[171,172,173]"] [actionTypes="[20,20,20]"] [diffTypes="[\"drop partition\"]"] [2025/04/04 10:36:04.690 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=162] [2025/04/04 10:36:04.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=162] ["take time"=10.082213ms] [job="ID:176, Type:drop partition, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.701 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=176] [conn=20] [job="ID:176, Type:drop partition, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:04.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.718 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=162] [neededSchemaVersion=163] ["elapsed time"=2.150499ms] [gotSchemaVersion=163] [phyTblIDs="[171,172,173]"] [actionTypes="[20,20,20]"] [diffTypes="[\"drop partition\"]"] [2025/04/04 10:36:04.722 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=163] [2025/04/04 10:36:04.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=163] ["take time"=9.765991ms] [job="ID:176, Type:drop partition, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.732 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=176] [conn=20] [job="ID:176, Type:drop partition, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:04.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.739 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop partition, Table ID: 171, Table Name: t, Dropped Partition Name: a_3, Dropped Partition ID: 174)"] [2025/04/04 10:36:04.755 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=163] [neededSchemaVersion=164] ["elapsed time"=2.327364ms] [gotSchemaVersion=164] [phyTblIDs="[171,172,173]"] [actionTypes="[20,20,20]"] [diffTypes="[\"drop partition\"]"] [2025/04/04 10:36:04.759 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=164] [2025/04/04 10:36:04.761 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=164] ["take time"=10.339129ms] [job="ID:176, Type:drop partition, State:done, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.771 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=176] [tableIDs="[174]"] [comment="drop partition: physical table ID(s)"] [2025/04/04 10:36:04.781 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=176] [jobType="drop partition"] [2025/04/04 10:36:04.782 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=176] [conn=20] [job="ID:176, Type:drop partition, State:synced, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.804 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=176] [2025/04/04 10:36:04.805 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=164] [cur_db=test] [sql="alter table t drop partition `a_3`"] [user=] [2025/04/04 10:36:04.818 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:178, Type:add partition, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t add partition (partition `a_3` values less than (300))"] [2025/04/04 10:36:04.819 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:178, Type:add partition, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:04.824 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=20] [job="ID:178, Type:add partition, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:04.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.844 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=164] [neededSchemaVersion=165] ["elapsed time"=2.136719ms] [gotSchemaVersion=165] [phyTblIDs="[171,172,173]"] [actionTypes="[19,19,19]"] [diffTypes="[\"add partition\"]"] [2025/04/04 10:36:04.847 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=165] [2025/04/04 10:36:04.849 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=165] ["take time"=9.839099ms] [job="ID:178, Type:add partition, State:running, SchemaState:replica only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.860 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=20] [job="ID:178, Type:add partition, State:running, SchemaState:replica only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:04.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.865 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add partition, Table ID: 171, Table Name: t, Partition Name: a_3, Partition ID: 177)"] [2025/04/04 10:36:04.881 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=165] [neededSchemaVersion=166] ["elapsed time"=2.131737ms] [gotSchemaVersion=166] [phyTblIDs="[171,172,173,177]"] [actionTypes="[19,19,19,19]"] [diffTypes="[\"add partition\"]"] [2025/04/04 10:36:04.885 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=166] [2025/04/04 10:36:04.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=166] ["take time"=9.711525ms] [job="ID:178, Type:add partition, State:done, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.897 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=178] [conn=20] [job="ID:178, Type:add partition, State:synced, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:04.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.910 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=178] [2025/04/04 10:36:04.910 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=166] [cur_db=test] [sql="alter table t add partition (partition `a_3` values less than (300))"] [user=] [2025/04/04 10:36:04.928 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:179, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table t"] [2025/04/04 10:36:04.928 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:179, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:04.936 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=179] [conn=20] [job="ID:179, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:04.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.953 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=166] [neededSchemaVersion=167] ["elapsed time"=2.508243ms] [gotSchemaVersion=167] [phyTblIDs="[171,172,173,177]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:04.956 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=179] [version=167] [2025/04/04 10:36:04.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=167] ["take time"=10.065925ms] [job="ID:179, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.968 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=179] [conn=20] [job="ID:179, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:04.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.984 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=167] [neededSchemaVersion=168] ["elapsed time"=2.450965ms] [gotSchemaVersion=168] [phyTblIDs="[171,172,173,177]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:04.988 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=179] [version=168] [2025/04/04 10:36: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=168] ["take time"=9.322077ms] [job="ID:179, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.998 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=179] [conn=20] [job="ID:179, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:04.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:05.005 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 171, Old Table Name: t)"] [2025/04/04 10:36:05.019 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=168] [neededSchemaVersion=169] ["elapsed time"=1.559279ms] [gotSchemaVersion=169] [phyTblIDs="[171,172,173,177]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:05.022 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=179] [version=169] [2025/04/04 10:36:05.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=169] ["take time"=8.701084ms] [job="ID:179, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:05.033 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=179] [tableIDs="[172,173,177]"] [comment="drop table: partition table IDs"] [2025/04/04 10:36:05.039 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=179] [tableIDs="[171]"] [comment="drop table: table ID"] [2025/04/04 10:36:05.043 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=179] [jobType="drop table"] [2025/04/04 10:36:05.044 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=179] [conn=20] [job="ID:179, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:05.053 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:36:05.062 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=179] [2025/04/04 10:36:05.062 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=169] [cur_db=test] [sql="drop table t"] [user=] [2025/04/04 10:36:05.063 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:36:04.597 +0000 UTC"] [2025/04/04 10:36:05.074 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:180, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:05.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:05.074 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:180, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:05.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:36:04.597000'"] [2025/04/04 10:36:05.080 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=20] [job="ID:180, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:05.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:05.085 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=180] [2025/04/04 10:36:05.092 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=20] [job="ID:180, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:05.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:05.179 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=552ms] [prevState=normal] [newState=adapting] [2025/04/04 10:36:05.212 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=169] [neededSchemaVersion=170] ["elapsed time"=132.769µs] [gotSchemaVersion=170] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:36:05.215 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=180] [version=170] [2025/04/04 10:36:05.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=170] ["take time"=7.363161ms] [job="ID:180, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:05.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:05.220 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:36:05.226 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=20] [job="ID:180, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:05.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:05.261 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:36:05.265 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:36:05.267 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.47015ms] ["completed regions"=1] [2025/04/04 10:36:05.267 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:36:05.271 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:36:05.273 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.116229ms] ["completed regions"=1] [2025/04/04 10:36:05.273 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:36:05.277 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:36:05.278 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=5.263653ms] ["completed regions"=1] [2025/04/04 10:36:05.278 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:36:05.282 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:36:05.283 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.370516ms] ["completed regions"=1] [2025/04/04 10:36:05.283 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:36:05.287 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:36:05.288 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.468476ms] ["completed regions"=1] [2025/04/04 10:36:05.288 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:36:05.292 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:36:05.293 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.830979ms] ["completed regions"=1] [2025/04/04 10:36:05.293 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:36:05.296 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:36:05.297 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.097955ms] ["completed regions"=1] [2025/04/04 10:36:05.297 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:36:05.301 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:36:05.302 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.372757ms] ["completed regions"=1] [2025/04/04 10:36:05.302 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:36:05.305 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:36:05.306 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.883735ms] ["completed regions"=1] [2025/04/04 10:36:05.306 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:36:05.310 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:36:05.311 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.022275ms] ["completed regions"=1] [2025/04/04 10:36:05.311 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:36:05.314 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:36:05.315 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.874475ms] ["completed regions"=1] [2025/04/04 10:36:05.315 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:36:05.318 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:36:05.320 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.342392ms] ["completed regions"=1] [2025/04/04 10:36:05.320 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:36:05.323 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:36:05.324 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.654989ms] ["completed regions"=1] [2025/04/04 10:36:05.324 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:36:05.327 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:36:05.328 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.8806ms] ["completed regions"=1] [2025/04/04 10:36:05.328 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:36:05.331 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:36:05.332 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.563486ms] ["completed regions"=1] [2025/04/04 10:36:05.333 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:36:05.335 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:36:05.336 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.458276ms] ["completed regions"=1] [2025/04/04 10:36:05.336 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:36:05.339 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:36:05.340 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.508635ms] ["completed regions"=1] [2025/04/04 10:36:05.340 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:36:05.343 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:36:05.344 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.379662ms] ["completed regions"=1] [2025/04/04 10:36:05.344 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:36:05.347 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:36:05.348 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.335055ms] ["completed regions"=1] [2025/04/04 10:36:05.348 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:36:05.350 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:36:05.351 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.209543ms] ["completed regions"=1] [2025/04/04 10:36:05.351 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:36:05.354 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:36:05.355 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.190586ms] ["completed regions"=1] [2025/04/04 10:36:05.355 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:36:05.358 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:36:05.359 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.284542ms] ["completed regions"=1] [2025/04/04 10:36:05.359 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:36:05.361 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:36:05.362 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.118314ms] ["completed regions"=1] [2025/04/04 10:36:05.362 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:36:05.365 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:36:05.366 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.248643ms] ["completed regions"=1] [2025/04/04 10:36:05.366 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:36:05.368 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:36:05.369 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.172417ms] ["completed regions"=1] [2025/04/04 10:36:05.370 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:36:05.372 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:36:05.373 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.814639ms] ["completed regions"=1] [2025/04/04 10:36:05.373 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:36:05.375 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:36:05.376 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.907539ms] ["completed regions"=1] [2025/04/04 10:36:05.376 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:36:05.378 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:36:05.379 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.771455ms] ["completed regions"=1] [2025/04/04 10:36:05.379 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:36:05.381 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:36:05.383 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.187799ms] ["completed regions"=1] [2025/04/04 10:36:05.383 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:36:05.385 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:36:05.386 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.620817ms] ["completed regions"=1] [2025/04/04 10:36:05.386 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:36:05.388 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:36:05.389 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.746925ms] ["completed regions"=1] [2025/04/04 10:36:05.389 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:36:05.391 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:36:05.392 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.724333ms] ["completed regions"=1] [2025/04/04 10:36:05.392 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:36:05.396 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:36:05.397 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=4.142674ms] ["completed regions"=1] [2025/04/04 10:36:05.397 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:36:05.399 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:36:05.400 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.590426ms] ["completed regions"=1] [2025/04/04 10:36:05.400 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:36:05.402 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:36:05.403 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.542522ms] ["completed regions"=1] [2025/04/04 10:36:05.403 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:36:05.405 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:36:05.406 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.285151ms] ["completed regions"=1] [2025/04/04 10:36:05.406 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:36:05.407 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:36:05.409 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.4504ms] ["completed regions"=1] [2025/04/04 10:36:05.409 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:36:05.410 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:36:05.411 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.131491ms] ["completed regions"=1] [2025/04/04 10:36:05.411 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:36:05.413 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:36:05.414 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.086455ms] ["completed regions"=1] [2025/04/04 10:36:05.414 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:36:05.415 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:36:05.416 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.301064ms] ["completed regions"=1] [2025/04/04 10:36:05.417 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:36:05.418 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:36:05.419 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.945965ms] ["completed regions"=1] [2025/04/04 10:36:05.419 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:36:05.420 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:36:05.421 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.9204ms] ["completed regions"=1] [2025/04/04 10:36:05.421 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:36:05.423 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:36:05.424 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:36:05.425 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:36:05.426 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.913212ms] ["completed regions"=3] [2025/04/04 10:36:05.432 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=180] [2025/04/04 10:36:05.438 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=20] [job="ID:180, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:05.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:05.439 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:36:05.443 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:36:05.445 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 10:36:05.446 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.013447ms] ["completed regions"=1] [2025/04/04 10:36:05.446 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:36:05.450 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:36:05.451 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 10:36:05.451 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.18515ms] ["completed regions"=1] [2025/04/04 10:36:05.451 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:36:05.455 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:36:05.456 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 10:36:05.456 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.412305ms] ["completed regions"=1] [2025/04/04 10:36:05.456 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:36:05.460 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:36:05.461 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 10:36:05.461 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.695092ms] ["completed regions"=1] [2025/04/04 10:36:05.461 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:36:05.465 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:36:05.466 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 10:36:05.466 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.540526ms] ["completed regions"=1] [2025/04/04 10:36:05.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 10:36:05.469 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:36:05.470 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 10:36:05.471 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.198167ms] ["completed regions"=1] [2025/04/04 10:36:05.471 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:36:05.474 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:36:05.475 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 10:36:05.475 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.40064ms] ["completed regions"=1] [2025/04/04 10:36:05.475 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:36:05.479 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:36:05.480 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 10:36:05.480 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.321588ms] ["completed regions"=1] [2025/04/04 10:36:05.480 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:36:05.483 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:36:05.484 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 10:36:05.484 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.916681ms] ["completed regions"=1] [2025/04/04 10:36:05.485 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:36:05.488 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:36:05.489 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 10:36:05.489 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.396055ms] ["completed regions"=1] [2025/04/04 10:36:05.489 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:36:05.493 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:36:05.494 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 10:36:05.494 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.425613ms] ["completed regions"=1] [2025/04/04 10:36:05.494 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:36:05.497 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:36:05.499 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 10:36:05.500 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=5.135294ms] ["completed regions"=1] [2025/04/04 10:36:05.500 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:36:05.504 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:36:05.505 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 10:36:05.505 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=5.118872ms] ["completed regions"=1] [2025/04/04 10:36:05.505 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:36:05.508 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:36:05.509 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 10:36:05.509 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.908553ms] ["completed regions"=1] [2025/04/04 10:36:05.509 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:36:05.512 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:36:05.513 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 10:36:05.513 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.526865ms] ["completed regions"=1] [2025/04/04 10:36:05.513 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:36:05.516 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:36:05.517 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 10:36:05.517 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.481328ms] ["completed regions"=1] [2025/04/04 10:36:05.517 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:36:05.520 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:36:05.521 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 10:36:05.521 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.589768ms] ["completed regions"=1] [2025/04/04 10:36:05.521 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:36:05.524 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:36:05.525 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 10:36:05.525 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.914338ms] ["completed regions"=1] [2025/04/04 10:36:05.525 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:36:05.529 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:36:05.530 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 10:36:05.530 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.879846ms] ["completed regions"=1] [2025/04/04 10:36:05.530 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:36:05.532 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:36:05.534 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 10:36:05.534 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.684587ms] ["completed regions"=1] [2025/04/04 10:36:05.534 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:36:05.536 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:36:05.537 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 10:36:05.537 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.280344ms] ["completed regions"=1] [2025/04/04 10:36:05.538 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:36:05.540 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:36:05.541 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 10:36:05.541 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.454115ms] ["completed regions"=1] [2025/04/04 10:36:05.541 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:36:05.544 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:36:05.545 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 10:36:05.545 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.243466ms] ["completed regions"=1] [2025/04/04 10:36:05.545 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:36:05.548 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:36:05.549 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 10:36:05.549 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.162223ms] ["completed regions"=1] [2025/04/04 10:36:05.549 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:36:05.551 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:36:05.552 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 10:36:05.552 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.159152ms] ["completed regions"=1] [2025/04/04 10:36:05.553 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:36:05.555 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:36:05.556 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 10:36:05.556 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.115139ms] ["completed regions"=1] [2025/04/04 10:36:05.556 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:36:05.558 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:36:05.560 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 10:36:05.560 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.217426ms] ["completed regions"=1] [2025/04/04 10:36:05.560 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:36:05.562 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:36:05.563 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 10:36:05.563 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.778998ms] ["completed regions"=1] [2025/04/04 10:36:05.563 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:36:05.565 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:36:05.566 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 10:36:05.566 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.840127ms] ["completed regions"=1] [2025/04/04 10:36:05.566 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:36:05.568 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:36:05.569 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 10:36:05.569 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.577237ms] ["completed regions"=1] [2025/04/04 10:36:05.569 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:36:05.571 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:36:05.572 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 10:36:05.572 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.866985ms] ["completed regions"=1] [2025/04/04 10:36:05.572 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:36:05.574 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:36:05.575 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 10:36:05.575 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.700609ms] ["completed regions"=1] [2025/04/04 10:36:05.575 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:36:05.577 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:36:05.578 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 10:36:05.578 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.415216ms] ["completed regions"=1] [2025/04/04 10:36:05.578 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:36:05.580 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:36:05.581 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 10:36:05.581 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.416194ms] ["completed regions"=1] [2025/04/04 10:36:05.581 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:36:05.583 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:36:05.584 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 10:36:05.584 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.507909ms] ["completed regions"=1] [2025/04/04 10:36:05.584 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:36:05.586 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:36:05.587 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 10:36:05.587 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.397767ms] ["completed regions"=1] [2025/04/04 10:36:05.587 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:36:05.588 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:36:05.589 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 10:36:05.589 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.257219ms] ["completed regions"=1] [2025/04/04 10:36:05.590 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:36:05.591 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:36:05.592 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 10:36:05.592 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.116092ms] ["completed regions"=1] [2025/04/04 10:36:05.592 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:36:05.593 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:36:05.594 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 10:36:05.594 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.095414ms] ["completed regions"=1] [2025/04/04 10:36:05.595 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:36:05.596 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:36:05.597 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 10:36:05.597 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.150261ms] ["completed regions"=1] [2025/04/04 10:36:05.597 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:36:05.598 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:36:05.599 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 10:36:05.600 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.059895ms] ["completed regions"=1] [2025/04/04 10:36:05.600 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:36:05.601 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:36:05.602 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 10:36:05.602 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.838445ms] ["completed regions"=1] [2025/04/04 10:36:05.602 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:36:05.603 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:36:05.604 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:36:05.605 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:36:05.606 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 10:36:05.606 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.619272ms] ["completed regions"=3] [2025/04/04 10:36:05.606 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:36:05.621 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 10:36:05.709 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=170] [neededSchemaVersion=171] ["elapsed time"=87.836289ms] [2025/04/04 10:36:05.709 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:36:05.713 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=180] [version=171] [2025/04/04 10:36:05.715 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=171] ["take time"=96.221008ms] [job="ID:180, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:05.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:05.789 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=180] [conn=20] [job="ID:180, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:05.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:05.801 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=180] [2025/04/04 10:36:05.801 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 20\n# Query_time: 0.738983391\n# Parse_time: 0.000073836\n# Compile_time: 0.000254592\n# Rewrite_time: 0.000002864\n# Optimize_time: 0.000868527\n# Wait_TS: 0.00041334\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-04 10:36:04.597000';"] [2025/04/04 10:36:05.817 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:36:05.817 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:36:05.817 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [] [2025/04/04 10:36:05.817 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [2025/04/04 10:36:05.817 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:36:05.817 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:36:05.817 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 56, tp general"] ["take time"=66.967µs] [2025/04/04 10:36:05.818 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 57, tp general"] ["take time"=40.425µs] [2025/04/04 10:36:05.818 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 58, tp general"] ["take time"=33.32µs] [2025/04/04 10:36:05.818 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 59, tp general"] ["take time"=56.68µs] [2025/04/04 10:36:05.818 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 60, tp general"] ["take time"=28.823µs] [2025/04/04 10:36:05.818 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [2025/04/04 10:36:05.818 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [2025/04/04 10:36:05.819 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:36:05.819 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:36:05.822 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=a4731153-f17e-4a32-aad4-c32de58f35a3] ["take time"=4.588043ms] [2025/04/04 10:36:05.822 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=a4731153-f17e-4a32-aad4-c32de58f35a3] [2025/04/04 10:36:05.822 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:36:05.822 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/eed11569-d490-464b-8f82-243ae10a3d24] [watcherID=0ea37b7d-7889-4689-94a6-0a02e43c6f15] [2025/04/04 10:36:05.822 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:36:05.822 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/eed11569-d490-464b-8f82-243ae10a3d24] [2025/04/04 10:36:05.822 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=a4731153-f17e-4a32-aad4-c32de58f35a3] [ttl-worker=task-manager] [ttl-worker=a4731153-f17e-4a32-aad4-c32de58f35a3] [originalCount=4] [newCount=0] [2025/04/04 10:36:05.822 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:36:05.822 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:36:05.822 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:36:05.822 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:36:05.822 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=a4731153-f17e-4a32-aad4-c32de58f35a3] [ttl-worker=task-manager] [ttl-worker=a4731153-f17e-4a32-aad4-c32de58f35a3] [originalCount=4] [newCount=0] [2025/04/04 10:36:05.825 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:36:05.825 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:36:05.825 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:36:05.825 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:36:05.827 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=a4731153-f17e-4a32-aad4-c32de58f35a3] [2025/04/04 10:36:05.827 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:36:05.828 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1177] [2025/04/04 10:36:05.828 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:36:05.828 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:36:05.828 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:36:05.828 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [2025/04/04 10:36:05.828 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:36:05.828 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:36:05.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:36:05.828 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:36:05.828 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:36:05.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:36:05.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:36:05.828 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:36:05.828 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=5a2c80fa-917d-4c12-b546-cf1c0bbdd423] [] [2025/04/04 10:36:05.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:36:05.828 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:36:05.828 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:36:05.829 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:36:05.828 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:36:05.829 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:36:05.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:36:05.829 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:36:05.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:36:05.828 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:36:05.829 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:36:05.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:36:05.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:36:05.829 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=5a2c80fa-917d-4c12-b546-cf1c0bbdd423] [2025/04/04 10:36:05.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:36:05.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:36:05.828 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:36:05.829 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:05.829 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=5a2c80fa-917d-4c12-b546-cf1c0bbdd423] [2025/04/04 10:36:05.829 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:05.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:36:05.829 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=5a2c80fa-917d-4c12-b546-cf1c0bbdd423] [2025/04/04 10:36:05.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:36:05.828 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:05.829 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:05.828 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:36:05.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:36:05.828 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:36:05.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:36:05.828 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:05.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:36:05.829 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:05.828 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:36:05.828 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:36:05.828 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:36:05.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:36:05.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:36:05.828 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:36:05.829 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [] [2025/04/04 10:36:05.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:36:05.829 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [2025/04/04 10:36:05.828 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:36:05.829 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:36:05.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:36:05.829 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:36:05.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:36:05.829 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:05.829 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [2025/04/04 10:36:05.829 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:05.829 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:05.829 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [2025/04/04 10:36:05.829 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [2025/04/04 10:36:05.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:36:05.829 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:05.829 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:36:05.829 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:36:05.829 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:36:05.829 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:36:05.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:36:05.829 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:05.829 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:05.829 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:36:05.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:36:05.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:36:05.830 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=5a2c80fa-917d-4c12-b546-cf1c0bbdd423] [daemon-id=LogBackup::Advancer] [2025/04/04 10:36:05.830 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:36:05.830 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:36:05.830 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:36:05.830 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:36:05.830 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:36:05.830 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:36:05.831 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:36:05.831 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:36:05.831 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:36:05.831 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:36:05.832 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [error="context canceled"] [2025/04/04 10:36:05.832 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [2025/04/04 10:36:05.832 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [error="context canceled"] [2025/04/04 10:36:05.832 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=a4731153-f17e-4a32-aad4-c32de58f35a3] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:05.851 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:36:05.851 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:36:05.899 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:36:05.899 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:36:05.910 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=93.095335ms] [2025/04/04 10:36:05.913 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:05.913 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:05.913 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:05.913 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:05.913 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:05.913 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:05.913 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:05.913 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:05.913 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:05.913 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:05.913 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:05.913 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:05.914 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackPartitionTable (2.88s) === NAME === RUN TestFlashbackTmpTable [2025/04/04 10:36:05.922 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:36:05.923 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:05.924 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404346513542897] [2025/04/04 10:36:05.924 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:05.924 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:05.925 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:05.925 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:05.925 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:05.925 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:05.925 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:05.925 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:05.929 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:36:05.934 +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 10:36:05.935 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:36:05.936 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:36:05.949 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404346513542897] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:36:05.959 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:36:05.998 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=2018] ["lease id"=3eaa96005d3c9c22] [2025/04/04 10:36:06.000 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:36:06.095 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=171] ["elapsed time"=92.20876ms] [2025/04/04 10:36:06.095 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:36:06.097 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:36:06.104 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=0906c4ab-c2b0-471f-8352-3943569eb108] [runWorker=true] [jobVersion=v2] [2025/04/04 10:36:06.104 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:36:06.106 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [2025/04/04 10:36:06.107 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:36:06.107 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237174890496/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:36:06.107 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:36:06.107 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:36:06.107 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:36:06.107 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:36:06.107 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:36:06.107 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:36:06.107 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:36:06.107 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:36:06.107 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:36:06.107 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:36:06.107 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:36:06.107 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:36:06.107 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=895551de-e0bc-45d1-a72f-2514e752d246] [2025/04/04 10:36:06.109 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d3c9c2a] [ownerID=0906c4ab-c2b0-471f-8352-3943569eb108] [op=none] [2025/04/04 10:36:06.109 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [2025/04/04 10:36:06.109 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [ownerKey=/tidb/ddl/fg/owner/223196005d3c9c2a] [currRev=853] [2025/04/04 10:36:06.110 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:36:06.110 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=895551de-e0bc-45d1-a72f-2514e752d246] [daemon-id=LogBackup::Advancer] [2025/04/04 10:36:06.110 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:36:06.111 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/223196005d3c9c2c] [ownerID=895551de-e0bc-45d1-a72f-2514e752d246] [op=none] [2025/04/04 10:36:06.111 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=895551de-e0bc-45d1-a72f-2514e752d246] [2025/04/04 10:36:06.111 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=895551de-e0bc-45d1-a72f-2514e752d246] [ownerKey=/tidb/br-stream/owner/223196005d3c9c2c] [currRev=854] [2025/04/04 10:36:06.111 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d3c9c2a] [ownerID=0906c4ab-c2b0-471f-8352-3943569eb108] [op=none] [2025/04/04 10:36:06.111 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [op=none] [2025/04/04 10:36:06.111 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:36:06.119 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [2025/04/04 10:36:06.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:36:06.120 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:36:06.133 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:36:06.141 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:36:06.147 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:36:06.147 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:36:06.147 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:36:06.147 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:36:06.147 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:36:06.147 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:36:06.147 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:36:06.147 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:36:06.147 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:36:06.148 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:36:06.148 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [2025/04/04 10:36:06.149 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:36:06.150 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:36:06.150 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:36:06.150 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:36:06.150 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:36:06.150 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:36:06.150 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:36:06.150 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:36:06.150 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:36:06.150 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:36:06.150 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:36:06.150 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:36:06.150 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:36:06.150 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:36:06.150 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:36:06.152 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa96005d3c9c2e] [ownerID=0906c4ab-c2b0-471f-8352-3943569eb108] [op=none] [2025/04/04 10:36:06.152 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:36:06.152 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [2025/04/04 10:36:06.152 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [ownerKey=/tidb/stats/owner/3eaa96005d3c9c2e] [currRev=857] [2025/04/04 10:36:06.154 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/20179cbb-3529-4bad-9e38-5480c32b8b95] [2025/04/04 10:36:06.154 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=0906c4ab-c2b0-471f-8352-3943569eb108] [ttl-worker=task-manager] [ttl-worker=0906c4ab-c2b0-471f-8352-3943569eb108] [originalCount=0] [newCount=4] [2025/04/04 10:36:06.155 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=0906c4ab-c2b0-471f-8352-3943569eb108] [ttl-worker=task-manager] [ttl-worker=0906c4ab-c2b0-471f-8352-3943569eb108] [originalCount=0] [newCount=4] [2025/04/04 10:36:06.155 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=0906c4ab-c2b0-471f-8352-3943569eb108] [2025/04/04 10:36:06.156 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:36:06.156 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:36:06.156 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:36:06.156 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743762966156609396 [2025/04/04 10:36:06.161 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:36:06.168 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.957478ms] [2025/04/04 10:36:06.169 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:36:06.169 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:36:06.170 +00:00] [INFO] [set.go:172] ["set global var"] [conn=21] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:36:06.172 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=171] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:36:06.185 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:06.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:06.185 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:06.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:36:06.190 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=21] [job="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:06.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:06.207 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=171] [neededSchemaVersion=172] ["elapsed time"=2.557545ms] [gotSchemaVersion=172] [phyTblIDs="[171,172,173,174]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:06.211 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=172] [2025/04/04 10:36:06.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=172] ["take time"=10.240389ms] [job="ID:181, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:06.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:06.222 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=21] [job="ID:181, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:06.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:06.236 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=172] [neededSchemaVersion=173] ["elapsed time"=2.372098ms] [gotSchemaVersion=173] [phyTblIDs="[171,172,173,174]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:06.240 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=173] [2025/04/04 10:36:06.242 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=173] ["take time"=9.176798ms] [job="ID:181, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:06.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:06.249 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=21] [job="ID:181, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:06.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:06.255 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 171, Old Table Name: t)"] [2025/04/04 10:36:06.267 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=173] [neededSchemaVersion=174] ["elapsed time"=1.107824ms] [gotSchemaVersion=174] [phyTblIDs="[171,172,173,174]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:06.270 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=174] [2025/04/04 10:36:06.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=174] ["take time"=7.848795ms] [job="ID:181, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:06.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:06.280 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=181] [tableIDs="[172,173,174]"] [comment="drop table: partition table IDs"] [2025/04/04 10:36:06.288 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=181] [tableIDs="[171]"] [comment="drop table: table ID"] [2025/04/04 10:36:06.292 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=181] [jobType="drop table"] [2025/04/04 10:36:06.293 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=181] [conn=21] [job="ID:181, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:06.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:06.312 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=181] [2025/04/04 10:36:06.312 +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: 1743762966313012808 [2025/04/04 10:36:06.330 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=174] [cur_db=test] [sql="create temporary table t(a int)"] [user=] [2025/04/04 10:36:07.116 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:36:07.117 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:36:07.117 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:36:07.117 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:36:07.154 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:36:07.154 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:36:07.155 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/20179cbb-3529-4bad-9e38-5480c32b8b95] [watcherID=5e1faa95-a717-4705-bd83-24359af4a8e4] [2025/04/04 10:36:07.156 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:36:07.161 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:36:07.161 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:36:07.161 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:36:07.161 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:36:07.334 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:36:07.297 +0000 UTC"] [2025/04/04 10:36:07.345 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:183, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:07.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:07.345 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:183, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:07.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:36:07.297000'"] [2025/04/04 10:36:07.351 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=22] [job="ID:183, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:07.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:07.356 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=183] [2025/04/04 10:36:07.364 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=22] [job="ID:183, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:07.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:07.435 +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 10:36:07.463 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=174] [neededSchemaVersion=175] ["elapsed time"=146.332µs] [gotSchemaVersion=175] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:36:07.467 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=175] [2025/04/04 10:36:07.468 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=175] ["take time"=7.057194ms] [job="ID:183, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:07.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:07.477 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=22] [job="ID:183, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:07.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:07.506 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:36:07.509 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:36:07.511 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.32911ms] ["completed regions"=1] [2025/04/04 10:36:07.511 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:36:07.514 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:36:07.515 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.423355ms] ["completed regions"=1] [2025/04/04 10:36:07.516 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:36:07.519 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:36:07.520 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.042779ms] ["completed regions"=1] [2025/04/04 10:36:07.520 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:36:07.524 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:36:07.525 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.142229ms] ["completed regions"=1] [2025/04/04 10:36:07.525 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:36:07.528 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:36:07.529 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.159468ms] ["completed regions"=1] [2025/04/04 10:36:07.529 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:36:07.533 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:36:07.534 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.965906ms] ["completed regions"=1] [2025/04/04 10:36:07.534 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:36:07.537 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:36:07.538 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.756292ms] ["completed regions"=1] [2025/04/04 10:36:07.538 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:36:07.541 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:36:07.542 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.906138ms] ["completed regions"=1] [2025/04/04 10:36:07.542 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:36:07.545 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:36:07.546 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.816706ms] ["completed regions"=1] [2025/04/04 10:36:07.546 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:36:07.549 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:36:07.550 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.666441ms] ["completed regions"=1] [2025/04/04 10:36:07.550 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:36:07.553 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:36:07.554 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.861459ms] ["completed regions"=1] [2025/04/04 10:36:07.555 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:36:07.558 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:36:07.559 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.796794ms] ["completed regions"=1] [2025/04/04 10:36:07.559 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:36:07.562 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:36:07.562 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.426439ms] ["completed regions"=1] [2025/04/04 10:36:07.563 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:36:07.565 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:36:07.566 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.564212ms] ["completed regions"=1] [2025/04/04 10:36:07.566 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:36:07.569 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:36:07.570 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.400785ms] ["completed regions"=1] [2025/04/04 10:36:07.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 10:36:07.573 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:36:07.574 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.32796ms] ["completed regions"=1] [2025/04/04 10:36:07.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 10:36:07.577 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:36:07.578 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.483846ms] ["completed regions"=1] [2025/04/04 10:36:07.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 10:36:07.580 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:36:07.581 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.178396ms] ["completed regions"=1] [2025/04/04 10:36:07.581 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:36:07.584 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:36:07.585 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.090671ms] ["completed regions"=1] [2025/04/04 10:36:07.585 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:36:07.587 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:36:07.588 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=2.94908ms] ["completed regions"=1] [2025/04/04 10:36:07.588 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:36:07.591 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:36:07.592 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.016733ms] ["completed regions"=1] [2025/04/04 10:36:07.592 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:36:07.594 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:36:07.595 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.054266ms] ["completed regions"=1] [2025/04/04 10:36:07.595 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:36:07.597 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:36:07.598 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.996037ms] ["completed regions"=1] [2025/04/04 10:36:07.599 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:36:07.601 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:36:07.602 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.872921ms] ["completed regions"=1] [2025/04/04 10:36:07.602 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:36:07.604 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:36:07.605 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.854106ms] ["completed regions"=1] [2025/04/04 10:36:07.605 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:36:07.607 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:36:07.608 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.571435ms] ["completed regions"=1] [2025/04/04 10:36:07.608 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:36:07.610 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:36:07.611 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.678522ms] ["completed regions"=1] [2025/04/04 10:36:07.611 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:36:07.613 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:36:07.614 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.737369ms] ["completed regions"=1] [2025/04/04 10:36:07.614 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:36:07.617 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:36:07.618 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.688483ms] ["completed regions"=1] [2025/04/04 10:36:07.618 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:36:07.620 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:36:07.621 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.514035ms] ["completed regions"=1] [2025/04/04 10:36:07.621 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:36:07.623 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:36:07.624 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.490601ms] ["completed regions"=1] [2025/04/04 10:36:07.624 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:36:07.626 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:36:07.627 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.412008ms] ["completed regions"=1] [2025/04/04 10:36:07.627 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:36:07.629 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:36:07.630 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.470415ms] ["completed regions"=1] [2025/04/04 10:36:07.630 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:36:07.632 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:36:07.633 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.284017ms] ["completed regions"=1] [2025/04/04 10:36:07.633 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:36:07.634 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:36:07.635 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.222996ms] ["completed regions"=1] [2025/04/04 10:36:07.635 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:36:07.637 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:36:07.638 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.286196ms] ["completed regions"=1] [2025/04/04 10:36:07.638 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:36:07.640 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:36:07.641 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.238813ms] ["completed regions"=1] [2025/04/04 10:36:07.641 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:36:07.642 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:36:07.643 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=1.99825ms] ["completed regions"=1] [2025/04/04 10:36:07.643 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:36:07.645 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:36:07.646 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.965131ms] ["completed regions"=1] [2025/04/04 10:36:07.646 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:36:07.647 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:36:07.648 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.91296ms] ["completed regions"=1] [2025/04/04 10:36:07.648 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:36:07.649 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:36:07.650 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.733962ms] ["completed regions"=1] [2025/04/04 10:36:07.650 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:36:07.651 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:36:07.652 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.745283ms] ["completed regions"=1] [2025/04/04 10:36:07.652 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:36:07.653 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:36:07.654 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:36:07.655 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:36:07.656 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.704654ms] ["completed regions"=3] [2025/04/04 10:36:07.662 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=183] [2025/04/04 10:36:07.669 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=22] [job="ID:183, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:07.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:07.670 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:36:07.674 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:36:07.675 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 10:36:07.675 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.750028ms] ["completed regions"=1] [2025/04/04 10:36:07.675 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:36:07.678 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:36:07.679 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 10:36:07.680 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.319414ms] ["completed regions"=1] [2025/04/04 10:36:07.680 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:36:07.683 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:36:07.684 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 10:36:07.684 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.156557ms] ["completed regions"=1] [2025/04/04 10:36:07.684 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:36:07.688 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:36:07.689 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 10:36:07.689 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.167111ms] ["completed regions"=1] [2025/04/04 10:36:07.689 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:36:07.692 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:36:07.693 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 10:36:07.693 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.25352ms] ["completed regions"=1] [2025/04/04 10:36:07.693 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:36:07.697 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:36:07.698 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 10:36:07.698 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.95921ms] ["completed regions"=1] [2025/04/04 10:36:07.698 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:36:07.701 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:36:07.702 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 10:36:07.702 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.958761ms] ["completed regions"=1] [2025/04/04 10:36:07.702 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:36:07.705 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:36:07.706 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 10:36:07.706 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.906708ms] ["completed regions"=1] [2025/04/04 10:36:07.706 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:36:07.709 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:36:07.710 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 10:36:07.710 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.683778ms] ["completed regions"=1] [2025/04/04 10:36:07.710 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:36:07.713 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:36:07.714 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 10:36:07.714 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.711179ms] ["completed regions"=1] [2025/04/04 10:36:07.714 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:36:07.717 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:36:07.718 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 10:36:07.718 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.642841ms] ["completed regions"=1] [2025/04/04 10:36:07.718 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:36:07.721 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:36:07.723 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 10:36:07.723 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.326977ms] ["completed regions"=1] [2025/04/04 10:36:07.723 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:36:07.726 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:36:07.727 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 10:36:07.727 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.422485ms] ["completed regions"=1] [2025/04/04 10:36:07.727 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:36:07.730 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:36:07.731 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 10:36:07.731 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.577704ms] ["completed regions"=1] [2025/04/04 10:36:07.731 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:36:07.733 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:36:07.734 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 10:36:07.734 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.397315ms] ["completed regions"=1] [2025/04/04 10:36:07.734 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:36:07.737 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:36:07.738 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 10:36:07.738 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.441529ms] ["completed regions"=1] [2025/04/04 10:36:07.738 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:36:07.741 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:36:07.742 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 10:36:07.742 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.468194ms] ["completed regions"=1] [2025/04/04 10:36:07.742 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:36:07.745 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:36:07.746 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 10:36:07.746 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.322703ms] ["completed regions"=1] [2025/04/04 10:36:07.746 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:36:07.748 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:36:07.749 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 10:36:07.749 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.215005ms] ["completed regions"=1] [2025/04/04 10:36:07.749 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:36:07.752 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:36:07.753 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 10:36:07.753 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.06552ms] ["completed regions"=1] [2025/04/04 10:36:07.753 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:36:07.755 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:36:07.756 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 10:36:07.756 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.937165ms] ["completed regions"=1] [2025/04/04 10:36:07.756 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:36:07.758 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:36:07.759 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 10:36:07.759 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.010125ms] ["completed regions"=1] [2025/04/04 10:36:07.759 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:36:07.762 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:36:07.763 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 10:36:07.763 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.151204ms] ["completed regions"=1] [2025/04/04 10:36:07.763 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:36:07.765 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:36:07.766 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 10:36:07.766 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.924129ms] ["completed regions"=1] [2025/04/04 10:36:07.766 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:36:07.768 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:36:07.769 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 10:36:07.769 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.860854ms] ["completed regions"=1] [2025/04/04 10:36:07.769 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:36:07.771 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:36:07.772 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 10:36:07.772 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.777102ms] ["completed regions"=1] [2025/04/04 10:36:07.773 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:36:07.774 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:36:07.775 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 10:36:07.775 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.625412ms] ["completed regions"=1] [2025/04/04 10:36:07.775 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:36:07.777 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:36:07.778 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 10:36:07.779 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.798183ms] ["completed regions"=1] [2025/04/04 10:36:07.779 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:36:07.780 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:36:07.781 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 10:36:07.781 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.522744ms] ["completed regions"=1] [2025/04/04 10:36:07.781 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:36:07.783 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:36:07.784 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 10:36:07.784 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.586278ms] ["completed regions"=1] [2025/04/04 10:36:07.784 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:36:07.786 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:36:07.787 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 10:36:07.787 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.403361ms] ["completed regions"=1] [2025/04/04 10:36:07.787 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:36:07.789 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:36:07.790 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 10:36:07.790 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.367781ms] ["completed regions"=1] [2025/04/04 10:36:07.790 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:36:07.791 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:36:07.793 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 10:36:07.793 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.773273ms] ["completed regions"=1] [2025/04/04 10:36:07.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 10:36:07.794 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:36:07.795 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 10:36:07.795 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.126291ms] ["completed regions"=1] [2025/04/04 10:36:07.795 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:36:07.797 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:36:07.798 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 10:36:07.798 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.264725ms] ["completed regions"=1] [2025/04/04 10:36:07.798 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:36:07.799 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:36:07.800 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 10:36:07.800 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.118386ms] ["completed regions"=1] [2025/04/04 10:36:07.800 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:36:07.802 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:36:07.803 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 10:36:07.803 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.076912ms] ["completed regions"=1] [2025/04/04 10:36:07.803 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:36:07.804 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:36:07.805 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 10:36:07.805 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.120264ms] ["completed regions"=1] [2025/04/04 10:36:07.805 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:36:07.807 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:36:07.807 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 10:36:07.808 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.077866ms] ["completed regions"=1] [2025/04/04 10:36:07.808 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:36:07.809 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:36:07.810 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 10:36:07.810 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.963593ms] ["completed regions"=1] [2025/04/04 10:36:07.810 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:36:07.811 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:36:07.812 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 10:36:07.812 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.845475ms] ["completed regions"=1] [2025/04/04 10:36:07.812 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:36:07.813 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:36:07.814 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 10:36:07.814 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.825105ms] ["completed regions"=1] [2025/04/04 10:36:07.814 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:36:07.815 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:36:07.816 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:36:07.817 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:36:07.818 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 10:36:07.818 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.5335ms] ["completed regions"=3] [2025/04/04 10:36:07.818 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:36:07.832 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 10:36:07.916 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=175] [neededSchemaVersion=176] ["elapsed time"=83.92053ms] [2025/04/04 10:36:07.916 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:36:07.920 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=176] [2025/04/04 10:36:07.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=176] ["take time"=91.01292ms] [job="ID:183, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:07.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:08.002 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=183] [conn=22] [job="ID:183, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:07.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:08.014 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=183] [2025/04/04 10:36:08.015 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 22\n# Query_time: 0.681922232\n# Parse_time: 0.00007687\n# Compile_time: 0.000287485\n# Rewrite_time: 0.000003392\n# Optimize_time: 0.000113241\n# Wait_TS: 0.00042228\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-04 10:36:07.297000';"] [2025/04/04 10:36:08.108 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:36:09.020 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=176] [cur_db=test] [sql="drop table t"] [user=] [2025/04/04 10:36:09.021 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:36:08.998 +0000 UTC"] [2025/04/04 10:36:09.032 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:184, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:08.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:09.032 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:184, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:08.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:36:08.998000'"] [2025/04/04 10:36:09.038 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=22] [job="ID:184, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:08.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:09.043 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=184] [2025/04/04 10:36:09.049 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=22] [job="ID:184, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:08.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:09.154 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=135] [indexID=1] [2025/04/04 10:36:09.155 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=120] [indexID=1] [2025/04/04 10:36:09.156 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=176] [neededSchemaVersion=177] ["elapsed time"=152.965µs] [gotSchemaVersion=177] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:36:09.158 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=151] [indexID=1] [2025/04/04 10:36:09.160 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=126] [indexID=1] [2025/04/04 10:36:09.160 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=177] [2025/04/04 10:36:09.162 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=177] ["take time"=8.457814ms] [job="ID:184, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:08.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:09.162 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=120] [indexID=2] [2025/04/04 10:36:09.171 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=22] [job="ID:184, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:08.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:09.173 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:36:09.177 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:36:09.178 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.141705ms] ["completed regions"=1] [2025/04/04 10:36:09.178 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:36:09.182 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:36:09.183 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.494238ms] ["completed regions"=1] [2025/04/04 10:36:09.183 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:36:09.187 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:36:09.188 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.101465ms] ["completed regions"=1] [2025/04/04 10:36:09.188 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:36:09.191 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:36:09.192 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.020791ms] ["completed regions"=1] [2025/04/04 10:36:09.193 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:36:09.196 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:36:09.197 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.948189ms] ["completed regions"=1] [2025/04/04 10:36:09.197 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:36:09.200 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:36:09.201 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.758437ms] ["completed regions"=1] [2025/04/04 10:36:09.201 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:36:09.204 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:36:09.205 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.75978ms] ["completed regions"=1] [2025/04/04 10:36:09.205 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:36:09.208 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:36:09.209 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.781337ms] ["completed regions"=1] [2025/04/04 10:36:09.209 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:36:09.213 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:36:09.214 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.968708ms] ["completed regions"=1] [2025/04/04 10:36:09.214 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:36:09.217 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:36:09.218 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.107341ms] ["completed regions"=1] [2025/04/04 10:36:09.218 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:36:09.221 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:36:09.222 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.754289ms] ["completed regions"=1] [2025/04/04 10:36:09.223 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:36:09.226 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:36:09.227 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.022947ms] ["completed regions"=1] [2025/04/04 10:36:09.227 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:36:09.230 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:36:09.231 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.607196ms] ["completed regions"=1] [2025/04/04 10:36:09.231 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:36:09.234 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:36:09.235 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.721663ms] ["completed regions"=1] [2025/04/04 10:36:09.235 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:36:09.238 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:36:09.239 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.596577ms] ["completed regions"=1] [2025/04/04 10:36:09.239 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:36:09.242 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:36:09.243 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.350963ms] ["completed regions"=1] [2025/04/04 10:36:09.243 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:36:09.246 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:36:09.247 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.562447ms] ["completed regions"=1] [2025/04/04 10:36:09.247 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:36:09.250 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:36:09.251 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.284975ms] ["completed regions"=1] [2025/04/04 10:36:09.251 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:36:09.254 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:36:09.255 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.242122ms] ["completed regions"=1] [2025/04/04 10:36:09.255 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:36:09.257 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:36:09.258 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.183343ms] ["completed regions"=1] [2025/04/04 10:36:09.258 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:36:09.261 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:36:09.262 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.068595ms] ["completed regions"=1] [2025/04/04 10:36:09.262 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:36:09.264 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:36:09.266 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.269819ms] ["completed regions"=1] [2025/04/04 10:36:09.266 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:36:09.268 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:36:09.269 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.862749ms] ["completed regions"=1] [2025/04/04 10:36:09.269 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:36:09.271 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:36:09.272 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.16122ms] ["completed regions"=1] [2025/04/04 10:36:09.273 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:36:09.275 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:36:09.276 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.7941ms] ["completed regions"=1] [2025/04/04 10:36:09.276 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:36:09.278 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:36:09.279 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.597681ms] ["completed regions"=1] [2025/04/04 10:36:09.279 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:36:09.281 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:36:09.282 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.593066ms] ["completed regions"=1] [2025/04/04 10:36:09.282 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:36:09.284 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:36:09.285 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.498306ms] ["completed regions"=1] [2025/04/04 10:36:09.285 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:36:09.286 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:36:09.287 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.331649ms] ["completed regions"=1] [2025/04/04 10:36:09.287 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:36:09.289 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:36:09.290 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.356085ms] ["completed regions"=1] [2025/04/04 10:36:09.290 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:36:09.292 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:36:09.293 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.469158ms] ["completed regions"=1] [2025/04/04 10:36:09.293 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:36:09.294 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:36:09.295 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.264271ms] ["completed regions"=1] [2025/04/04 10:36:09.295 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:36:09.297 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:36:09.298 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.145936ms] ["completed regions"=1] [2025/04/04 10:36:09.298 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:36:09.300 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:36:09.301 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.275798ms] ["completed regions"=1] [2025/04/04 10:36:09.301 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:36:09.302 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:36:09.303 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.093994ms] ["completed regions"=1] [2025/04/04 10:36:09.303 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:36:09.305 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:36:09.306 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.135982ms] ["completed regions"=1] [2025/04/04 10:36:09.306 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:36:09.307 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:36:09.308 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.108615ms] ["completed regions"=1] [2025/04/04 10:36:09.308 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:36:09.310 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:36:09.311 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.057846ms] ["completed regions"=1] [2025/04/04 10:36:09.311 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:36:09.312 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:36:09.313 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.055832ms] ["completed regions"=1] [2025/04/04 10:36:09.313 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:36:09.315 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:36:09.315 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.906847ms] ["completed regions"=1] [2025/04/04 10:36:09.316 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:36:09.317 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:36:09.318 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.754621ms] ["completed regions"=1] [2025/04/04 10:36:09.318 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:36:09.319 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:36:09.320 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.795374ms] ["completed regions"=1] [2025/04/04 10:36:09.320 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:36:09.321 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:36:09.322 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:36:09.323 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:36:09.323 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.328738ms] ["completed regions"=3] [2025/04/04 10:36:09.330 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=184] [2025/04/04 10:36:09.336 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=22] [job="ID:184, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:08.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:09.337 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:36:09.341 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:36:09.342 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 10:36:09.342 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.60755ms] ["completed regions"=1] [2025/04/04 10:36:09.342 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:36:09.346 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:36:09.347 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 10:36:09.347 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.354125ms] ["completed regions"=1] [2025/04/04 10:36:09.347 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:36:09.350 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:36:09.351 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 10:36:09.351 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.047163ms] ["completed regions"=1] [2025/04/04 10:36:09.351 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:36:09.354 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:36:09.355 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 10:36:09.355 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.967571ms] ["completed regions"=1] [2025/04/04 10:36:09.356 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:36:09.359 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:36:09.360 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 10:36:09.360 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.242392ms] ["completed regions"=1] [2025/04/04 10:36:09.360 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:36:09.364 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:36:09.364 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 10:36:09.364 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.98896ms] ["completed regions"=1] [2025/04/04 10:36:09.365 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:36:09.368 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:36:09.369 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 10:36:09.369 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.899906ms] ["completed regions"=1] [2025/04/04 10:36:09.369 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:36:09.372 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:36:09.373 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 10:36:09.373 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.032678ms] ["completed regions"=1] [2025/04/04 10:36:09.373 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:36:09.377 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:36:09.378 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 10:36:09.378 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.238821ms] ["completed regions"=1] [2025/04/04 10:36:09.378 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:36:09.381 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:36:09.382 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 10:36:09.382 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.605593ms] ["completed regions"=1] [2025/04/04 10:36:09.382 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:36:09.385 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:36:09.385 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 10:36:09.386 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.524257ms] ["completed regions"=1] [2025/04/04 10:36:09.386 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:36:09.389 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:36:09.390 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 10:36:09.390 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.775078ms] ["completed regions"=1] [2025/04/04 10:36:09.390 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:36:09.393 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:36:09.394 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 10:36:09.394 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.464446ms] ["completed regions"=1] [2025/04/04 10:36:09.394 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:36:09.396 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:36:09.397 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 10:36:09.397 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.47772ms] ["completed regions"=1] [2025/04/04 10:36:09.398 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:36:09.400 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:36:09.401 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 10:36:09.401 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.299912ms] ["completed regions"=1] [2025/04/04 10:36:09.401 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:36:09.404 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:36:09.405 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 10:36:09.405 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.255885ms] ["completed regions"=1] [2025/04/04 10:36:09.405 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:36:09.407 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:36:09.408 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 10:36:09.408 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.37465ms] ["completed regions"=1] [2025/04/04 10:36:09.409 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:36:09.411 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:36:09.412 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 10:36:09.412 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.285004ms] ["completed regions"=1] [2025/04/04 10:36:09.412 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:36:09.415 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:36:09.416 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 10:36:09.416 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.284607ms] ["completed regions"=1] [2025/04/04 10:36:09.416 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:36:09.418 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:36:09.419 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 10:36:09.419 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.103035ms] ["completed regions"=1] [2025/04/04 10:36:09.419 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:36:09.424 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:36:09.425 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 10:36:09.425 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.488422ms] ["completed regions"=1] [2025/04/04 10:36:09.425 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:36:09.428 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:36:09.429 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 10:36:09.429 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.419114ms] ["completed regions"=1] [2025/04/04 10:36:09.429 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:36:09.432 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:36:09.433 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 10:36:09.433 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.079185ms] ["completed regions"=1] [2025/04/04 10:36:09.433 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:36:09.435 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:36:09.436 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 10:36:09.436 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.848475ms] ["completed regions"=1] [2025/04/04 10:36:09.436 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:36:09.438 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:36:09.439 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 10:36:09.439 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.791675ms] ["completed regions"=1] [2025/04/04 10:36:09.439 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:36:09.441 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:36:09.442 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 10:36:09.442 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.711375ms] ["completed regions"=1] [2025/04/04 10:36:09.442 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:36:09.444 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:36:09.445 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 10:36:09.445 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.689734ms] ["completed regions"=1] [2025/04/04 10:36:09.445 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:36:09.447 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:36:09.448 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 10:36:09.448 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.615024ms] ["completed regions"=1] [2025/04/04 10:36:09.448 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:36:09.450 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:36:09.451 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 10:36:09.451 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.506625ms] ["completed regions"=1] [2025/04/04 10:36:09.451 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:36:09.453 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:36:09.454 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 10:36:09.454 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.529761ms] ["completed regions"=1] [2025/04/04 10:36:09.454 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:36:09.456 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:36:09.457 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 10:36:09.457 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.541978ms] ["completed regions"=1] [2025/04/04 10:36:09.457 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:36:09.459 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:36:09.460 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 10:36:09.460 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.466405ms] ["completed regions"=1] [2025/04/04 10:36:09.460 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:36:09.461 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:36:09.462 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 10:36:09.463 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.507934ms] ["completed regions"=1] [2025/04/04 10:36:09.463 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:36:09.464 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:36:09.465 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 10:36:09.465 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.389002ms] ["completed regions"=1] [2025/04/04 10:36:09.466 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:36:09.467 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:36:09.468 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 10:36:09.468 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.415834ms] ["completed regions"=1] [2025/04/04 10:36:09.468 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:36:09.470 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:36:09.471 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 10:36:09.471 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.34911ms] ["completed regions"=1] [2025/04/04 10:36:09.472 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:36:09.473 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:36:09.474 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 10:36:09.474 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.368604ms] ["completed regions"=1] [2025/04/04 10:36:09.474 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:36:09.476 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:36:09.477 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 10:36:09.477 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.125906ms] ["completed regions"=1] [2025/04/04 10:36:09.477 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:36:09.478 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:36:09.479 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 10:36:09.479 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.10048ms] ["completed regions"=1] [2025/04/04 10:36:09.479 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:36:09.481 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:36:09.482 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 10:36:09.482 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.060484ms] ["completed regions"=1] [2025/04/04 10:36:09.482 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:36:09.483 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:36:09.484 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 10:36:09.484 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.079383ms] ["completed regions"=1] [2025/04/04 10:36:09.484 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:36:09.485 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:36:09.486 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 10:36:09.486 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.828418ms] ["completed regions"=1] [2025/04/04 10:36:09.486 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:36:09.487 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:36:09.488 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:36:09.489 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:36:09.490 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 10:36:09.490 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.50528ms] ["completed regions"=3] [2025/04/04 10:36:09.490 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:36:09.505 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 10:36:09.588 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=177] [neededSchemaVersion=178] ["elapsed time"=83.221243ms] [2025/04/04 10:36:09.588 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:36:09.591 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=178] [2025/04/04 10:36:09.593 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=178] ["take time"=90.075248ms] [job="ID:184, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:08.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:09.665 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=184] [conn=22] [job="ID:184, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:08.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:09.677 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=184] [2025/04/04 10:36:09.678 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 22\n# Query_time: 0.657070122\n# Parse_time: 0.000060238\n# Compile_time: 0.000243509\n# Rewrite_time: 0.000002343\n# Optimize_time: 0.001390455\n# Wait_TS: 0.000479757\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nflashback cluster to timestamp '2025-04-04 10:36:08.998000';"] [2025/04/04 10:36:09.678 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:508\ntests/realtikvtest/flashbacktest/flashbacktest_test.TestFlashbackTmpTable\n\ttests/realtikvtest/flashbacktest/flashback_test.go:528\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="select * from t"] [2025/04/04 10:36:09.679 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:36:09.679 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [] [2025/04/04 10:36:09.679 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:36:09.679 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [2025/04/04 10:36:09.679 +00:00] [WARN] [job_scheduler.go:653] ["delete versions failed"] [category=ddl] ["job ID"=184] [error="context canceled"] [2025/04/04 10:36:09.679 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:36:09.679 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:36:09.679 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 61, tp general"] ["take time"=52.064µs] [2025/04/04 10:36:09.679 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 62, tp general"] ["take time"=43.315µs] [2025/04/04 10:36:09.679 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 63, tp general"] ["take time"=34.799µs] [2025/04/04 10:36:09.679 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [2025/04/04 10:36:09.679 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [2025/04/04 10:36:09.680 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:36:09.680 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:36:09.682 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=0906c4ab-c2b0-471f-8352-3943569eb108] ["take time"=3.373227ms] [2025/04/04 10:36:09.682 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=0906c4ab-c2b0-471f-8352-3943569eb108] [2025/04/04 10:36:09.682 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:36:09.682 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:36:09.682 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/20179cbb-3529-4bad-9e38-5480c32b8b95] [watcherID=5e1faa95-a717-4705-bd83-24359af4a8e4] [2025/04/04 10:36:09.682 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/20179cbb-3529-4bad-9e38-5480c32b8b95] [2025/04/04 10:36:09.682 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=0906c4ab-c2b0-471f-8352-3943569eb108] [ttl-worker=task-manager] [ttl-worker=0906c4ab-c2b0-471f-8352-3943569eb108] [originalCount=4] [newCount=0] [2025/04/04 10:36:09.682 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:36:09.682 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:36:09.682 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:36:09.682 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:36:09.682 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=0906c4ab-c2b0-471f-8352-3943569eb108] [ttl-worker=task-manager] [ttl-worker=0906c4ab-c2b0-471f-8352-3943569eb108] [originalCount=4] [newCount=0] [2025/04/04 10:36:09.685 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:36:09.685 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:36:09.685 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:36:09.685 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:36:09.687 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=0906c4ab-c2b0-471f-8352-3943569eb108] [2025/04/04 10:36:09.687 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=2018] [2025/04/04 10:36:09.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:36:09.688 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:36:09.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:36:09.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:36:09.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:36:09.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:36:09.688 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:09.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:36:09.688 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=895551de-e0bc-45d1-a72f-2514e752d246] [] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:36:09.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:36:09.688 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:36:09.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:36:09.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:36:09.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:36:09.688 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:09.688 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:09.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:36:09.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:36:09.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:36:09.689 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:36:09.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:36:09.688 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:09.689 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:36:09.689 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:36:09.689 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:36:09.689 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:36:09.689 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:36:09.689 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:36:09.689 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:36:09.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:36:09.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:36:09.689 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:36:09.689 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [2025/04/04 10:36:09.689 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:36:09.688 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:36:09.689 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:36:09.688 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:09.688 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [] [2025/04/04 10:36:09.688 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:09.689 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:36:09.689 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [2025/04/04 10:36:09.689 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:09.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:36:09.688 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:09.688 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:09.688 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:36:09.689 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [2025/04/04 10:36:09.689 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:36:09.688 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=895551de-e0bc-45d1-a72f-2514e752d246] [2025/04/04 10:36:09.689 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [2025/04/04 10:36:09.689 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=895551de-e0bc-45d1-a72f-2514e752d246] [2025/04/04 10:36:09.689 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=895551de-e0bc-45d1-a72f-2514e752d246] [2025/04/04 10:36:09.689 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:36:09.689 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:36:09.689 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:36:09.691 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:36:09.691 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:36:09.691 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:36:09.691 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=895551de-e0bc-45d1-a72f-2514e752d246] [daemon-id=LogBackup::Advancer] [2025/04/04 10:36:09.691 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:36:09.691 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:36:09.691 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:36:09.691 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:36:09.691 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:36:09.691 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:36:09.691 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:36:09.691 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:36:09.691 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:36:09.692 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [error="context canceled"] [2025/04/04 10:36:09.692 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [2025/04/04 10:36:09.692 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [error="context canceled"] [2025/04/04 10:36:09.692 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=0906c4ab-c2b0-471f-8352-3943569eb108] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:09.750 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:36:09.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:36:09.761 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.032483ms] [2025/04/04 10:36:09.764 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:09.764 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:09.764 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:09.764 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:09.764 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:09.764 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:09.764 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:09.764 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:09.764 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:09.764 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:09.764 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:09.764 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:09.765 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackTmpTable (3.85s) === NAME === RUN TestFlashbackInProcessErrorMsg [2025/04/04 10:36:09.773 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:36:09.774 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:09.775 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404346513542897] [2025/04/04 10:36:09.775 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:09.775 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:09.775 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:09.775 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:09.775 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:09.776 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:09.776 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:09.776 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:09.780 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:36:09.785 +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 10:36:09.786 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:36:09.786 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:36:09.799 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404346513542897] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:36:09.809 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:36:09.847 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1710] ["lease id"=223196005d3c9c52] [2025/04/04 10:36:09.849 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:36:09.938 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=178] ["elapsed time"=85.829059ms] [2025/04/04 10:36:09.938 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:36:09.940 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:36:09.946 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=d8216c10-c865-48f8-b18c-e704bd6697b9] [runWorker=true] [jobVersion=v2] [2025/04/04 10:36:09.946 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:36:09.948 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [2025/04/04 10:36:09.949 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:36:09.950 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237175042048/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:36:09.950 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:36:09.950 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:36:09.950 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:36:09.950 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:36:09.950 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:36:09.950 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:36:09.950 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:36:09.950 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:36:09.950 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:36:09.950 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:36:09.950 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:36:09.950 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:36:09.950 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=d28d20b9-6457-4df5-9304-2915255ef6ea] [2025/04/04 10:36:09.952 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d3c9df7] [ownerID=d8216c10-c865-48f8-b18c-e704bd6697b9] [op=none] [2025/04/04 10:36:09.952 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [2025/04/04 10:36:09.952 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [ownerKey=/tidb/ddl/fg/owner/6f1896005d3c9df7] [currRev=910] [2025/04/04 10:36:09.953 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:36:09.953 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=d28d20b9-6457-4df5-9304-2915255ef6ea] [daemon-id=LogBackup::Advancer] [2025/04/04 10:36:09.953 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f1896005d3c9df9] [ownerID=d28d20b9-6457-4df5-9304-2915255ef6ea] [op=none] [2025/04/04 10:36:09.953 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=d28d20b9-6457-4df5-9304-2915255ef6ea] [2025/04/04 10:36:09.953 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=d28d20b9-6457-4df5-9304-2915255ef6ea] [ownerKey=/tidb/br-stream/owner/6f1896005d3c9df9] [currRev=910] [2025/04/04 10:36:09.953 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:36:09.954 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d3c9df7] [ownerID=d8216c10-c865-48f8-b18c-e704bd6697b9] [op=none] [2025/04/04 10:36:09.954 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [op=none] [2025/04/04 10:36:09.954 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:36:09.962 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [2025/04/04 10:36:09.963 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:36:09.963 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:36:09.976 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:36:09.983 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:36:09.989 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:36:09.989 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:36:09.989 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:36:09.989 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:36:09.989 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:36:09.989 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:36:09.989 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:36:09.989 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:36:09.990 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:36:09.991 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:36:09.991 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [2025/04/04 10:36:09.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:36:09.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:36:09.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:36:09.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:36:09.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:36:09.992 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:36:09.992 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:36:09.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:36:09.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:36:09.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:36:09.992 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:36:09.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:36:09.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:36:09.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:36:09.993 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:36:09.994 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/223196005d3c9c5c] [ownerID=d8216c10-c865-48f8-b18c-e704bd6697b9] [op=none] [2025/04/04 10:36:09.994 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:36:09.994 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [2025/04/04 10:36:09.994 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [ownerKey=/tidb/stats/owner/223196005d3c9c5c] [currRev=912] [2025/04/04 10:36:09.996 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/d8753359-b1cc-467b-8131-5be22d4fa4e6] [2025/04/04 10:36:09.997 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d8216c10-c865-48f8-b18c-e704bd6697b9] [ttl-worker=task-manager] [ttl-worker=d8216c10-c865-48f8-b18c-e704bd6697b9] [originalCount=0] [newCount=4] [2025/04/04 10:36:09.997 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d8216c10-c865-48f8-b18c-e704bd6697b9] [ttl-worker=task-manager] [ttl-worker=d8216c10-c865-48f8-b18c-e704bd6697b9] [originalCount=0] [newCount=4] [2025/04/04 10:36:09.997 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=d8216c10-c865-48f8-b18c-e704bd6697b9] [2025/04/04 10:36:09.998 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:36:09.999 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:36:09.999 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743762969999308195 [2025/04/04 10:36:10.000 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:36:10.006 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:36:10.013 +00:00] [INFO] [set.go:172] ["set global var"] [conn=23] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:36:10.013 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=22.137534ms] [2025/04/04 10:36:10.013 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:36:10.013 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:36:10.032 +00:00] [INFO] [set.go:172] ["set global var"] [conn=23] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743762970033526281 [2025/04/04 10:36:10.047 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=24] [schemaVersion=178] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 10:36:10.060 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:10.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:10.060 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:10.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int)"] [2025/04/04 10:36:10.065 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=186] [conn=24] [job="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:10.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:10.069 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 185, Table Name: t)"] [2025/04/04 10:36:10.082 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=178] [neededSchemaVersion=179] ["elapsed time"=1.363226ms] [gotSchemaVersion=179] [phyTblIDs="[185]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:10.086 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=186] [version=179] [2025/04/04 10:36:10.087 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=179] ["take time"=7.965854ms] [job="ID:186, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:10.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:10.098 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=186] [conn=24] [job="ID:186, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:10.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:10.108 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=186] [2025/04/04 10:36:10.108 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=24] [schemaVersion=179] [cur_db=test] [sql="create table t(a int)"] [user=] [2025/04/04 10:36:10.959 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:36:10.959 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:36:10.960 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:36:10.960 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:36:10.997 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:36:10.997 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:36:10.997 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/d8753359-b1cc-467b-8131-5be22d4fa4e6] [watcherID=e61884f7-c693-4b47-986b-3fbc86dc4135] [2025/04/04 10:36:10.999 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:36:11.004 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:36:11.004 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:36:11.004 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:36:11.004 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:36:11.111 +00:00] [INFO] [executor.go:5057] ["initialize reorg meta"] [category=ddl] [jobSchema=test] [jobTable=t] [jobType="add index"] [enableDistTask=true] [enableFastReorg=true] [targetScope=] [maxNodeCount=3] [concurrency=4] [batchSize=256] [2025/04/04 10:36:11.122 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:187, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:11.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t add index k(a)"] [2025/04/04 10:36:11.122 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:187, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:11.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/04 10:36:11.128 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:11.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:36:11.129 +00:00] [INFO] [index.go:720] ["[ddl] run add index job"] [category=ddl] [job="ID:187, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:11.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"k\",\"L\":\"k\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"a\",\"L\":\"a\"},\"offset\":0,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false,\"vector_index\":null}"] [2025/04/04 10:36:11.143 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=179] [neededSchemaVersion=180] ["elapsed time"=1.518212ms] [gotSchemaVersion=180] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:36:11.147 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=180] [2025/04/04 10:36:11.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=180] ["take time"=8.129849ms] [job="ID:187, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:11.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:36:11.157 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:11.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:36:11.173 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=180] [neededSchemaVersion=181] ["elapsed time"=1.511479ms] [gotSchemaVersion=181] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:36:11.176 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=181] [2025/04/04 10:36:11.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=181] ["take time"=7.993327ms] [job="ID:187, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:11.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:36:11.186 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:11.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:36:11.201 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=181] [neededSchemaVersion=182] ["elapsed time"=1.543219ms] [gotSchemaVersion=182] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:36:11.205 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=182] [2025/04/04 10:36:11.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=182] ["take time"=8.680331ms] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:11.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:36:11.215 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:11.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:36:11.217 +00:00] [INFO] [index.go:1382] ["table is empty, skipping reorg work"] [category=ddl] [jobID=187] [table=t] [2025/04/04 10:36:11.230 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=182] [neededSchemaVersion=183] ["elapsed time"=1.475576ms] [gotSchemaVersion=183] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:36:11.233 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=183] [2025/04/04 10:36:11.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=183] ["take time"=7.64343ms] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:11.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:36:11.242 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:11.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:36:11.244 +00:00] [INFO] [index.go:1399] ["index backfill state ready to merge"] [category=ddl] ["job ID"=187] [table=t] [index=k] [2025/04/04 10:36:11.256 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=183] [neededSchemaVersion=184] ["elapsed time"=1.440228ms] [gotSchemaVersion=184] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:36:11.259 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=184] [2025/04/04 10:36:11.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=184] ["take time"=7.938405ms] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:11.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:36:11.269 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:11.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:36:11.271 +00:00] [INFO] [index.go:1418] ["temp index is empty, skipping reorg work"] [category=ddl] [jobID=187] [table=t] [2025/04/04 10:36:11.273 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add index, Table ID: 185, Table Name: t, Index ID: 1, Index Name: k)"] [2025/04/04 10:36:11.275 +00:00] [INFO] [index.go:1129] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2025/04/04 10:36:11.286 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=184] [neededSchemaVersion=185] ["elapsed time"=1.391066ms] [gotSchemaVersion=185] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:36:11.290 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=185] [2025/04/04 10:36:11.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=185] ["take time"=7.916848ms] [job="ID:187, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:11.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:36:11.300 +00:00] [INFO] [delete_range.go:448] ["insert into delete-range indices"] [category=ddl] [jobID=187] [tableID=185] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"] [2025/04/04 10:36:11.308 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=187] [jobType="add index"] [2025/04/04 10:36:11.309 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:11.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:36:11.326 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=187] [2025/04/04 10:36:11.327 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=24] [schemaVersion=185] [cur_db=test] [sql="alter table t add index k(a)"] [user=] [2025/04/04 10:36:11.334 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:36:11.098 +0000 UTC"] [2025/04/04 10:36:11.344 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:188, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:11.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:11.344 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:188, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:11.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:36:11.098000'"] [2025/04/04 10:36:11.349 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=188] [conn=24] [job="ID:188, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:11.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:11.355 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=188] [2025/04/04 10:36:11.362 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=188] [conn=24] [job="ID:188, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:11.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:11.437 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=307ms] [prevState=unknown(0)] [newState=adapting] [2025/04/04 10:36:11.468 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=185] [neededSchemaVersion=186] ["elapsed time"=129.352µs] [gotSchemaVersion=186] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:36:11.472 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=188] [version=186] [2025/04/04 10:36:11.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=186] ["take time"=7.537054ms] [job="ID:188, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:11.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:11.482 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=188] [conn=24] [job="ID:188, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:11.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:11.514 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:36:11.517 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:36:11.519 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.077221ms] ["completed regions"=1] [2025/04/04 10:36:11.519 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:36:11.523 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:36:11.524 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.360445ms] ["completed regions"=1] [2025/04/04 10:36:11.524 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:36:11.527 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:36:11.528 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.241277ms] ["completed regions"=1] [2025/04/04 10:36:11.528 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:36:11.532 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:36:11.533 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.100364ms] ["completed regions"=1] [2025/04/04 10:36:11.533 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:36:11.537 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:36:11.538 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.373734ms] ["completed regions"=1] [2025/04/04 10:36:11.538 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:36:11.541 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:36:11.542 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.182676ms] ["completed regions"=1] [2025/04/04 10:36:11.542 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:36:11.546 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:36:11.547 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.205616ms] ["completed regions"=1] [2025/04/04 10:36:11.547 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:36:11.551 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:36:11.552 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.24242ms] ["completed regions"=1] [2025/04/04 10:36:11.552 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:36:11.555 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:36:11.556 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.833491ms] ["completed regions"=1] [2025/04/04 10:36:11.556 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:36:11.559 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:36:11.560 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.637519ms] ["completed regions"=1] [2025/04/04 10:36:11.560 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:36:11.563 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:36:11.564 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.680472ms] ["completed regions"=1] [2025/04/04 10:36:11.564 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:36:11.567 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:36:11.569 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.262567ms] ["completed regions"=1] [2025/04/04 10:36:11.569 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:36:11.572 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:36:11.573 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.534992ms] ["completed regions"=1] [2025/04/04 10:36:11.573 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:36:11.575 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:36:11.577 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.572853ms] ["completed regions"=1] [2025/04/04 10:36:11.577 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:36:11.579 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:36:11.580 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.482951ms] ["completed regions"=1] [2025/04/04 10:36:11.580 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:36:11.583 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:36:11.584 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.239095ms] ["completed regions"=1] [2025/04/04 10:36:11.584 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:36:11.587 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:36:11.588 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.321238ms] ["completed regions"=1] [2025/04/04 10:36:11.588 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:36:11.590 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:36:11.591 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.008095ms] ["completed regions"=1] [2025/04/04 10:36:11.591 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:36:11.594 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:36:11.595 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.16304ms] ["completed regions"=1] [2025/04/04 10:36:11.595 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:36:11.597 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:36:11.598 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.082705ms] ["completed regions"=1] [2025/04/04 10:36:11.598 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:36:11.600 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:36:11.601 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.934075ms] ["completed regions"=1] [2025/04/04 10:36:11.601 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:36:11.605 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:36:11.606 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=4.232421ms] ["completed regions"=1] [2025/04/04 10:36:11.606 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:36:11.608 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:36:11.609 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.071493ms] ["completed regions"=1] [2025/04/04 10:36:11.609 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:36:11.612 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:36:11.613 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.104465ms] ["completed regions"=1] [2025/04/04 10:36:11.613 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:36:11.615 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:36:11.616 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.789768ms] ["completed regions"=1] [2025/04/04 10:36:11.616 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:36:11.618 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:36:11.619 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.880507ms] ["completed regions"=1] [2025/04/04 10:36:11.619 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:36:11.621 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:36:11.622 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.80027ms] ["completed regions"=1] [2025/04/04 10:36:11.623 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:36:11.624 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:36:11.626 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.73944ms] ["completed regions"=1] [2025/04/04 10:36:11.626 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:36:11.628 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:36:11.629 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.569726ms] ["completed regions"=1] [2025/04/04 10:36:11.629 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:36:11.630 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:36:11.631 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.432986ms] ["completed regions"=1] [2025/04/04 10:36:11.631 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:36:11.633 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:36:11.634 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.656738ms] ["completed regions"=1] [2025/04/04 10:36:11.635 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:36:11.636 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:36:11.637 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.472539ms] ["completed regions"=1] [2025/04/04 10:36:11.637 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:36:11.639 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:36:11.640 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.161467ms] ["completed regions"=1] [2025/04/04 10:36:11.640 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:36:11.641 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:36:11.642 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.159684ms] ["completed regions"=1] [2025/04/04 10:36:11.642 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:36:11.644 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:36:11.645 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.092453ms] ["completed regions"=1] [2025/04/04 10:36:11.645 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:36:11.646 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:36:11.647 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.124788ms] ["completed regions"=1] [2025/04/04 10:36:11.647 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:36:11.649 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:36:11.650 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.124542ms] ["completed regions"=1] [2025/04/04 10:36:11.650 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:36:11.651 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:36:11.652 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=1.971097ms] ["completed regions"=1] [2025/04/04 10:36:11.652 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:36:11.654 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:36:11.654 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.975059ms] ["completed regions"=1] [2025/04/04 10:36:11.655 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:36:11.656 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:36:11.657 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.207774ms] ["completed regions"=1] [2025/04/04 10:36:11.657 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:36:11.658 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:36:11.659 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.985059ms] ["completed regions"=1] [2025/04/04 10:36:11.659 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:36:11.661 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:36:11.662 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.787691ms] ["completed regions"=1] [2025/04/04 10:36:11.662 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:36:11.663 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:36:11.664 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:36:11.665 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:36:11.666 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.936564ms] ["completed regions"=3] [2025/04/04 10:36:11.672 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=188] [2025/04/04 10:36:11.679 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=188] [conn=24] [job="ID:188, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:11.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:11.680 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:36:11.684 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:36:11.685 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 10:36:11.686 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.255645ms] ["completed regions"=1] [2025/04/04 10:36:11.686 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:36:11.689 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:36:11.690 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 10:36:11.690 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.432398ms] ["completed regions"=1] [2025/04/04 10:36:11.690 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:36:11.694 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:36:11.695 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 10:36:11.695 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.01889ms] ["completed regions"=1] [2025/04/04 10:36:11.695 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:36:11.698 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:36:11.699 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 10:36:11.699 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.891944ms] ["completed regions"=1] [2025/04/04 10:36:11.699 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:36:11.702 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:36:11.703 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 10:36:11.703 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.911539ms] ["completed regions"=1] [2025/04/04 10:36:11.703 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:36:11.707 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:36:11.707 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 10:36:11.708 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.92413ms] ["completed regions"=1] [2025/04/04 10:36:11.708 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:36:11.711 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:36:11.712 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 10:36:11.712 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.958509ms] ["completed regions"=1] [2025/04/04 10:36:11.712 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:36:11.715 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:36:11.716 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 10:36:11.716 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.036721ms] ["completed regions"=1] [2025/04/04 10:36:11.716 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:36:11.719 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:36:11.720 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 10:36:11.720 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.62369ms] ["completed regions"=1] [2025/04/04 10:36:11.720 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:36:11.723 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:36:11.724 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 10:36:11.724 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.52247ms] ["completed regions"=1] [2025/04/04 10:36:11.724 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:36:11.727 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:36:11.728 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 10:36:11.728 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.642048ms] ["completed regions"=1] [2025/04/04 10:36:11.728 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:36:11.731 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:36:11.733 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 10:36:11.733 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.569392ms] ["completed regions"=1] [2025/04/04 10:36:11.733 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:36:11.736 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:36:11.737 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 10:36:11.737 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.668524ms] ["completed regions"=1] [2025/04/04 10:36:11.737 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:36:11.740 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:36:11.741 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 10:36:11.741 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.411718ms] ["completed regions"=1] [2025/04/04 10:36:11.741 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:36:11.744 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:36:11.745 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 10:36:11.745 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.4578ms] ["completed regions"=1] [2025/04/04 10:36:11.745 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:36:11.747 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:36:11.749 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 10:36:11.749 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.944893ms] ["completed regions"=1] [2025/04/04 10:36:11.749 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:36:11.752 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:36:11.753 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 10:36:11.753 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.280959ms] ["completed regions"=1] [2025/04/04 10:36:11.753 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:36:11.755 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:36:11.756 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 10:36:11.756 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.275433ms] ["completed regions"=1] [2025/04/04 10:36:11.756 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:36:11.759 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:36:11.760 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 10:36:11.760 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.170952ms] ["completed regions"=1] [2025/04/04 10:36:11.760 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:36:11.762 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:36:11.763 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 10:36:11.763 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.138002ms] ["completed regions"=1] [2025/04/04 10:36:11.763 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:36:11.766 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:36:11.767 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 10:36:11.767 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.522248ms] ["completed regions"=1] [2025/04/04 10:36:11.767 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:36:11.770 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:36:11.771 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 10:36:11.771 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.464339ms] ["completed regions"=1] [2025/04/04 10:36:11.771 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:36:11.773 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:36:11.774 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 10:36:11.775 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.084135ms] ["completed regions"=1] [2025/04/04 10:36:11.775 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:36:11.777 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:36:11.778 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 10:36:11.778 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.179469ms] ["completed regions"=1] [2025/04/04 10:36:11.778 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:36:11.780 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:36:11.781 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 10:36:11.781 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.861302ms] ["completed regions"=1] [2025/04/04 10:36:11.782 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:36:11.784 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:36:11.785 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 10:36:11.785 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.946991ms] ["completed regions"=1] [2025/04/04 10:36:11.785 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:36:11.787 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:36:11.788 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 10:36:11.788 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.900659ms] ["completed regions"=1] [2025/04/04 10:36:11.788 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:36:11.790 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:36:11.791 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 10:36:11.791 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.875765ms] ["completed regions"=1] [2025/04/04 10:36:11.791 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:36:11.793 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:36:11.794 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 10:36:11.794 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.619596ms] ["completed regions"=1] [2025/04/04 10:36:11.794 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:36:11.797 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:36:11.798 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 10:36:11.798 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.498554ms] ["completed regions"=1] [2025/04/04 10:36:11.798 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:36:11.800 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:36:11.801 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 10:36:11.801 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.645841ms] ["completed regions"=1] [2025/04/04 10:36:11.801 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:36:11.803 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:36:11.804 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 10:36:11.804 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.966544ms] ["completed regions"=1] [2025/04/04 10:36:11.805 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:36:11.806 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:36:11.807 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 10:36:11.807 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.477828ms] ["completed regions"=1] [2025/04/04 10:36:11.807 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:36:11.809 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:36:11.810 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 10:36:11.810 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.450995ms] ["completed regions"=1] [2025/04/04 10:36:11.810 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:36:11.812 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:36:11.813 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 10:36:11.813 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.228172ms] ["completed regions"=1] [2025/04/04 10:36:11.813 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:36:11.814 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:36:11.815 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 10:36:11.815 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.458088ms] ["completed regions"=1] [2025/04/04 10:36:11.815 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:36:11.817 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:36:11.818 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 10:36:11.818 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.268723ms] ["completed regions"=1] [2025/04/04 10:36:11.818 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:36:11.819 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:36:11.820 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 10:36:11.820 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.16607ms] ["completed regions"=1] [2025/04/04 10:36:11.821 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:36:11.822 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:36:11.823 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 10:36:11.823 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.053974ms] ["completed regions"=1] [2025/04/04 10:36:11.823 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:36:11.824 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:36:11.825 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 10:36:11.825 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.026116ms] ["completed regions"=1] [2025/04/04 10:36:11.825 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:36:11.826 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:36:11.827 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 10:36:11.827 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.857109ms] ["completed regions"=1] [2025/04/04 10:36:11.828 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:36:11.829 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:36:11.830 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 10:36:11.830 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.916944ms] ["completed regions"=1] [2025/04/04 10:36:11.830 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:36:11.831 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:36:11.832 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:36:11.833 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:36:11.835 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 10:36:11.835 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.201034ms] ["completed regions"=3] [2025/04/04 10:36:11.835 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:36:11.850 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 10:36:11.934 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=186] [neededSchemaVersion=187] ["elapsed time"=83.550898ms] [2025/04/04 10:36:11.934 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:36:11.937 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=188] [version=187] [2025/04/04 10:36:11.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=187] ["take time"=90.746868ms] [job="ID:188, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:11.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:11.950 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:36:12.020 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=188] [conn=24] [job="ID:188, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:11.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:12.033 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=188] [2025/04/04 10:36:12.033 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 24\n# Query_time: 0.700151451\n# Parse_time: 0.00007054\n# Compile_time: 0.000246916\n# Rewrite_time: 0.00000303\n# Optimize_time: 0.000076538\n# Wait_TS: 0.000378135\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-04 10:36:11.098000';"] [2025/04/04 10:36:12.033 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:36:12.033 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [] [2025/04/04 10:36:12.034 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:36:12.034 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [2025/04/04 10:36:12.034 +00:00] [WARN] [job_scheduler.go:653] ["delete versions failed"] [category=ddl] ["job ID"=188] [error="context canceled"] [2025/04/04 10:36:12.034 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:36:12.034 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 65, tp add index"] ["take time"=60.892µs] [2025/04/04 10:36:12.034 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:36:12.034 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 64, tp general"] ["take time"=53.898µs] [2025/04/04 10:36:12.034 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 66, tp general"] ["take time"=58.767µs] [2025/04/04 10:36:12.034 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [2025/04/04 10:36:12.035 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [2025/04/04 10:36:12.036 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:36:12.036 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:36:12.037 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=d8216c10-c865-48f8-b18c-e704bd6697b9] ["take time"=3.844393ms] [2025/04/04 10:36:12.037 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=d8216c10-c865-48f8-b18c-e704bd6697b9] [2025/04/04 10:36:12.037 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:36:12.037 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:36:12.037 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/d8753359-b1cc-467b-8131-5be22d4fa4e6] [watcherID=e61884f7-c693-4b47-986b-3fbc86dc4135] [2025/04/04 10:36:12.038 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/d8753359-b1cc-467b-8131-5be22d4fa4e6] [2025/04/04 10:36:12.038 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d8216c10-c865-48f8-b18c-e704bd6697b9] [ttl-worker=task-manager] [ttl-worker=d8216c10-c865-48f8-b18c-e704bd6697b9] [originalCount=4] [newCount=0] [2025/04/04 10:36:12.038 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:36:12.038 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:36:12.038 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:36:12.038 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:36:12.038 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d8216c10-c865-48f8-b18c-e704bd6697b9] [ttl-worker=task-manager] [ttl-worker=d8216c10-c865-48f8-b18c-e704bd6697b9] [originalCount=4] [newCount=0] [2025/04/04 10:36:12.040 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:36:12.040 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:36:12.040 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:36:12.040 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:36:12.043 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=d8216c10-c865-48f8-b18c-e704bd6697b9] [2025/04/04 10:36:12.043 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:36:12.043 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1710] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [2025/04/04 10:36:12.044 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:36:12.044 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:36:12.044 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:36:12.044 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:36:12.044 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=d28d20b9-6457-4df5-9304-2915255ef6ea] [] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:36:12.044 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:36:12.044 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:12.044 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:36:12.044 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:12.044 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:36:12.044 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:12.044 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:12.044 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:36:12.044 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:36:12.044 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [2025/04/04 10:36:12.044 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:36:12.044 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:36:12.044 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:36:12.044 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:36:12.044 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:36:12.044 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:36:12.045 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:36:12.045 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:36:12.044 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=d28d20b9-6457-4df5-9304-2915255ef6ea] [2025/04/04 10:36:12.045 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=d28d20b9-6457-4df5-9304-2915255ef6ea] [2025/04/04 10:36:12.044 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:36:12.045 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=d28d20b9-6457-4df5-9304-2915255ef6ea] [2025/04/04 10:36:12.045 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:36:12.045 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [2025/04/04 10:36:12.045 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:36:12.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:36:12.046 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:36:12.046 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:36:12.046 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=d28d20b9-6457-4df5-9304-2915255ef6ea] [daemon-id=LogBackup::Advancer] [2025/04/04 10:36:12.046 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:36:12.046 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:36:12.046 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:36:12.046 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:36:12.046 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:36:12.046 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:36:12.046 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:36:12.046 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:36:12.047 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [error="context canceled"] [2025/04/04 10:36:12.047 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [2025/04/04 10:36:12.047 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [error="context canceled"] [2025/04/04 10:36:12.047 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=d8216c10-c865-48f8-b18c-e704bd6697b9] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:12.063 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:36:12.063 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:36:12.105 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:36:12.105 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:36:12.117 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.03969ms] [2025/04/04 10:36:12.120 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:12.120 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:12.120 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:12.120 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:12.120 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:12.120 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:12.120 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:12.120 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:12.120 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:12.120 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:12.120 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:12.120 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:12.121 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackInProcessErrorMsg (2.36s) === NAME PASS ================================================================================ Target //tests/realtikvtest/flashbacktest:flashbacktest_test up-to-date: bazel-bin/tests/realtikvtest/flashbacktest/flashbacktest_test_/flashbacktest_test INFO: Elapsed time: 32.399s, Critical Path: 13.40s INFO: 4571 processes: 4558 remote cache hit, 13 internal. INFO: Build completed successfully, 4571 total actions //tests/realtikvtest/flashbacktest:flashbacktest_test (cached) PASSED in 42.5s PASSED flashbacktest_test.TestFlashback (7.1s) PASSED flashbacktest_test.TestFlashbackAddDropIndex (4.6s) PASSED flashbacktest_test.TestFlashbackAddDropModifyColumn (2.9s) PASSED flashbacktest_test.TestFlashbackAutoID (2.4s) PASSED flashbacktest_test.TestFlashbackBasicRenameDropCreateTable (2.7s) PASSED flashbacktest_test.TestFlashbackCreateDropSchema (2.7s) PASSED flashbacktest_test.TestFlashbackCreateDropTableWithData (2.7s) PASSED flashbacktest_test.TestFlashbackInProcessErrorMsg (2.4s) PASSED flashbacktest_test.TestFlashbackPartitionTable (2.9s) PASSED flashbacktest_test.TestFlashbackSequence (2.7s) PASSED flashbacktest_test.TestFlashbackTmpTable (3.9s) PASSED flashbacktest_test.TestPrepareFlashbackFailed (2.6s) Test cases: finished with 12 passing and 0 failing out of 12 test cases Executed 0 out of 1 test: 1 test passes.  [Pipeline] // withCredentials [4,642 / 4,643] [Prepa] Testing //tests/realtikvtest/importintotest4:importintotest4_test INFO: From Testing //tests/realtikvtest/importintotest4:importintotest4_test: ==================== Test output for //tests/realtikvtest/importintotest4:importintotest4_test: === RUN TestImportInto [2025/04/04 10:35:32.481 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:32.482 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:32.482 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:32.483 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:32.483 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:32.483 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:32.484 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:32.484 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:32.484 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:32.484 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:32.484 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:32.490 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:35:32.497 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:32.497 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=5] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:32.498 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=4] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:32.521 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:32.521 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:32.526 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:32.526 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:32.537 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:32.559 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404353670991810] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:35:32.582 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:35:32.620 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=505] ["lease id"=223196005d4397e1] [2025/04/04 10:35:32.623 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:35:32.629 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/importintotest4/importintotest4_test.(*mockGCSSuite).SetupSuite\n\ttests/realtikvtest/importintotest4/main_test.go:65\ngithub.com/stretchr/testify/suite.Run\n\texternal/com_github_stretchr_testify/suite/suite.go:157\ntests/realtikvtest/importintotest4/importintotest4_test.TestImportInto\n\ttests/realtikvtest/importintotest4/main_test.go:49\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 10:35:32.733 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=103.50303ms] [2025/04/04 10:35:32.733 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:32.734 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/04 10:35:32.734 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=f58e11f5-c868-409a-9f2b-8fb6c2766764] [runWorker=true] [jobVersion=v2] [2025/04/04 10:35:32.734 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:35:32.736 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:32.738 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:35:32.738 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 135959449600/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:35:32.738 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:32.738 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:32.738 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:32.738 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:32.738 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:32.738 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:32.738 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:32.738 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:32.738 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:35:32.738 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:32.738 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:32.738 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:32.738 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=2da37ad3-9b5d-4cef-8766-6dce8748823e] [2025/04/04 10:35:32.740 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d439be1] [ownerID=f58e11f5-c868-409a-9f2b-8fb6c2766764] [op=none] [2025/04/04 10:35:32.740 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:32.740 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [ownerKey=/tidb/ddl/fg/owner/6f1896005d439be1] [currRev=91] [2025/04/04 10:35:32.741 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:32.741 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=2da37ad3-9b5d-4cef-8766-6dce8748823e] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:32.742 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:35:32.742 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f1896005d439be3] [ownerID=2da37ad3-9b5d-4cef-8766-6dce8748823e] [op=none] [2025/04/04 10:35:32.742 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=2da37ad3-9b5d-4cef-8766-6dce8748823e] [2025/04/04 10:35:32.742 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=2da37ad3-9b5d-4cef-8766-6dce8748823e] [ownerKey=/tidb/br-stream/owner/6f1896005d439be3] [currRev=92] [2025/04/04 10:35:32.742 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d439be1] [ownerID=f58e11f5-c868-409a-9f2b-8fb6c2766764] [op=none] [2025/04/04 10:35:32.743 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [op=none] [2025/04/04 10:35:32.743 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:35:32.745 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 10:35:32.761 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:32.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:32.761 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:32.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/04 10:35:32.767 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:32.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:32.905 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=123.756518ms] [2025/04/04 10:35:32.905 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:32.911 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:32.912 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/04 10:35:32.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=1] ["take time"=133.735322ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:32.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:32.927 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:32.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:32.942 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/04 10:35:32.942 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/04 10:35:32.944 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/04 10:35:32.947 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=UTC] [2025/04/04 10:35:32.973 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:32.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:32.973 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:32.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/04 10:35:32.982 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:32.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.037 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.553595ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.041 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.041 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/04 10:35:33.042 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=14.60678ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:32.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.062 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:32.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.095 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/04 10:35:33.095 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 10:35:33.109 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.109 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2025/04/04 10:35:33.115 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.134 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.125029ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.138 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.138 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/04 10:35:33.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=3] ["take time"=9.062995ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.150 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.163 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/04 10:35:33.164 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2025/04/04 10:35:33.177 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.177 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [2025/04/04 10:35:33.183 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.202 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=2.064038ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.205 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.205 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/04 10:35:33.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=4] ["take time"=8.805928ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.218 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.230 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/04 10:35:33.230 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [user=] [2025/04/04 10:35:33.251 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.251 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [2025/04/04 10:35:33.263 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.299 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.442359ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.302 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.302 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/04 10:35:33.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=5] ["take time"=11.553681ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.318 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.339 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/04 10:35:33.339 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 10:35:33.355 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.355 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [2025/04/04 10:35:33.361 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.384 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.718918ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.387 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.387 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/04 10:35: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=6] ["take time"=9.535439ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.400 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.415 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/04 10:35:33.415 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 10:35:33.430 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.430 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [2025/04/04 10:35:33.436 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.458 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.513396ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.461 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.461 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/04 10:35:33.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=7] ["take time"=9.003133ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.473 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.488 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/04 10:35:33.488 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 10:35:33.501 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.501 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2025/04/04 10:35:33.506 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.523 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.808444ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.526 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.526 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/04 10:35:33.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=8] ["take time"=8.659181ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.538 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.549 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/04 10:35:33.550 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2025/04/04 10:35:33.563 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.563 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2025/04/04 10:35:33.568 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.585 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.837347ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.589 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.589 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/04 10:35:33.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=9] ["take time"=8.467553ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.600 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.612 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/04 10:35:33.612 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2025/04/04 10:35:33.626 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.626 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2025/04/04 10:35:33.632 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.652 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.18129ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.655 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.655 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/04 10:35:33.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=10] ["take time"=8.412089ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.667 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.680 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/04 10:35:33.680 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2025/04/04 10:35:33.694 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.694 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2025/04/04 10:35:33.699 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.718 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.166375ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.722 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.722 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/04 10:35:33.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=11] ["take time"=8.838ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.734 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.739 +00:00] [WARN] [runaway.go:85] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:33.748 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/04 10:35:33.748 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2025/04/04 10:35:33.750 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:33.765 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.765 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 10:35:33.772 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.799 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.267836ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.802 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.802 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/04 10:35:33.804 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=10.334339ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.817 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.834 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/04 10:35:33.834 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 10:35:33.850 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.849 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2025/04/04 10:35:33.856 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.881 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=3.911538ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.885 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.885 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/04 10:35:33.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=13] ["take time"=11.719657ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.900 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.915 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/04 10:35:33.916 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2025/04/04 10:35:33.930 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.930 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2025/04/04 10:35:33.935 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.960 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.381591ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:33.964 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:33.964 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/04 10:35:33.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=14] ["take time"=10.050645ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.977 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:33.994 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/04 10:35:33.994 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 10:35:34.009 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.009 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2025/04/04 10:35:34.015 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.036 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.214359ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.039 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.039 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/04 10:35:34.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=15] ["take time"=9.355572ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.052 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.066 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/04 10:35:34.066 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 10:35:34.079 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.079 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2025/04/04 10:35:34.085 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.103 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=2.058601ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.106 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.107 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/04 10:35: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=16] ["take time"=8.525164ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.118 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.131 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/04 10:35:34.131 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 10:35:34.145 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.145 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2025/04/04 10:35:34.153 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.172 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.228781ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.176 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.176 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/04 10:35:34.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=17] ["take time"=8.88273ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.188 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.202 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/04 10:35:34.202 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/04 10:35:34.216 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.216 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [2025/04/04 10:35:34.221 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.240 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.146978ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.244 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.244 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/04 10:35:34.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=18] ["take time"=8.966626ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.256 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.269 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/04 10:35:34.269 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/04 10:35:34.285 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.284 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 10:35:34.290 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.315 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.042559ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.319 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.319 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/04 10:35:34.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=19] ["take time"=9.355234ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.332 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.348 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/04 10:35:34.349 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 10:35:34.369 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.34 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.369 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.34 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 10:35:34.374 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.34 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.393 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.075746ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.396 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.396 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/04 10:35:34.398 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=8.697487ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.34 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.408 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.34 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.420 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/04 10:35:34.420 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 10:35:34.432 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.432 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2025/04/04 10:35:34.438 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.454 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.63514ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.457 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.457 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/04 10:35: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=21] ["take time"=8.082834ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.469 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.480 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/04 10:35:34.481 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2025/04/04 10:35:34.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 10:35:34.493 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.493 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/04 10:35:34.498 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.513 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.51286ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.517 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.517 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/04 10:35: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=22] ["take time"=7.905507ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.528 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.538 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/04 10:35:34.539 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/04 10:35:34.554 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.554 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2025/04/04 10:35:34.560 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.582 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.576589ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.585 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.585 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/04 10:35:34.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=23] ["take time"=8.982022ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.598 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.612 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/04 10:35:34.613 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2025/04/04 10:35:34.626 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 10:35:34.627 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.632 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.651 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.077101ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.654 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.654 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/04 10:35:34.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=24] ["take time"=8.627206ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.667 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.683 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/04 10:35:34.683 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 10:35:34.698 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.698 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [2025/04/04 10:35:34.703 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.722 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.155795ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.726 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.726 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/04 10:35:34.727 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=8.688416ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.738 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:35:34.738 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.738 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2382] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/04 10:35:34.750 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/04 10:35:34.751 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/04 10:35:34.763 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.763 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2025/04/04 10:35:34.768 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.785 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.825685ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.789 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.789 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/04 10:35:34.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=26] ["take time"=8.211197ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.800 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.812 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/04 10:35:34.812 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/04 10:35:34.824 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.824 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2025/04/04 10:35:34.830 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.848 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=1.937247ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.851 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.851 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/04 10:35:34.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=27] ["take time"=8.604797ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.863 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.875 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/04 10:35:34.875 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/04 10:35:34.888 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.888 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2025/04/04 10:35:34.893 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.911 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.868709ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.914 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.914 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/04 10:35:34.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=28] ["take time"=8.11527ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.926 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.937 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/04 10:35:34.937 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/04 10:35:34.939 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:34.952 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.952 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2025/04/04 10:35:34.957 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.977 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.238015ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.980 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.980 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/04 10:35:34.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=29] ["take time"=8.929316ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.992 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.006 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/04 10:35:35.006 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/04 10:35:35.020 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.020 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 10:35:35.025 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.045 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.289109ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.049 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.049 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/04 10:35:35.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=30] ["take time"=9.464896ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.062 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.076 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/04 10:35:35.076 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 10:35:35.090 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.090 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 10:35:35.095 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.115 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.333183ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.119 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.119 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/04 10:35:35.120 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=8.488494ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.130 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.143 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/04 10:35:35.143 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 10:35:35.161 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [Pipeline] } [2025/04/04 10:35:35.161 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/04 10:35:35.167 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.195 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.501788ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.198 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.198 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/04 10:35:35.200 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=10.24875ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.211 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.228 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/04 10:35:35.228 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/04 10:35:35.240 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.240 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/04 10:35:35.245 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.261 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.608678ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.264 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.264 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/04 10:35:35.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=33] ["take time"=8.070457ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.275 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.285 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/04 10:35:35.286 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/04 10:35:35.302 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.302 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/04 10:35:35.308 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.330 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.139446ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:35:35.333 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.333 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/04 10:35:35.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=34] ["take time"=8.460667ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.345 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.359 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/04 10:35:35.373 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.373 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2025/04/04 10:35:35.379 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.399 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.196963ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.403 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.403 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/04 10:35:35.404 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=8.880493ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.414 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.428 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/04 10:35:35.428 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/04 10:35:35.441 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.441 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2025/04/04 10:35:35.446 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.465 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=1.887505ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.468 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.468 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/04 10:35:35.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=36] ["take time"=8.470386ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.480 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.496 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/04 10:35:35.496 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/04 10:35:35.510 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.510 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2025/04/04 10:35:35.516 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.534 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.907286ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.537 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.537 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/04 10:35:35.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=37] ["take time"=8.728333ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.549 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.561 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/04 10:35:35.562 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/04 10:35:35.579 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.579 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2025/04/04 10:35:35.585 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.615 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.557791ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.618 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.618 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/04 10:35:35.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=38] ["take time"=10.246181ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.632 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.649 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/04 10:35:35.650 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/04 10:35:35.666 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.666 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2025/04/04 10:35:35.672 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.698 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.359221ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.701 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.701 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/04 10:35:35.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=39] ["take time"=10.28175ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.716 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.733 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/04 10:35:35.734 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/04 10:35:35.752 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.752 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2025/04/04 10:35:35.758 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.787 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.585421ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.790 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.790 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/04 10:35:35.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=40] ["take time"=10.136104ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.805 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.822 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/04 10:35:35.823 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/04 10:35:35.840 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.840 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/04 10:35:35.846 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.877 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.811951ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.880 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.880 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/04 10:35:35.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=41] ["take time"=10.643041ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.895 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.914 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/04 10:35:35.914 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 10:35:35.931 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.931 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/04 10:35:35.937 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.968 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.858616ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.971 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.971 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/04 10:35:35.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=42] ["take time"=10.818426ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.986 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.005 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/04 10:35:36.005 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 10:35:36.022 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.022 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2025/04/04 10:35:36.028 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.056 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.438023ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.060 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.060 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/04 10:35:36.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=43] ["take time"=9.833655ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.074 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.091 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/04 10:35:36.092 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2025/04/04 10:35:36.108 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.108 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 10:35:36.114 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.138 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.843503ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.141 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.141 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/04 10:35:36.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=44] ["take time"=9.459001ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.155 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.170 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/04 10:35:36.171 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 10:35:36.186 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.186 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 10:35:36.192 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.216 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.861306ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.220 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.220 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/04 10:35:36.221 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=9.635777ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.234 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.250 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/04 10:35:36.250 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 10:35:36.269 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.269 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2025/04/04 10:35:36.275 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.312 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=4.007956ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.316 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.316 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/04 10:35:36.317 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=11.029093ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.331 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.350 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/04 10:35:36.350 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2025/04/04 10:35:36.366 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.366 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 10:35:36.372 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.396 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.825559ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.399 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.399 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/04 10:35:36.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=47] ["take time"=9.546625ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.412 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.427 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/04 10:35:36.427 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 10:35:36.440 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.440 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2025/04/04 10:35:36.446 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.464 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=2.020928ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.467 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.467 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/04 10:35:36.469 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=8.739523ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.478 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.490 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/04 10:35:36.490 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2025/04/04 10:35:36.503 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.503 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2025/04/04 10:35:36.509 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.528 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.106169ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.531 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.531 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/04 10:35:36.532 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=8.577982ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.543 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.555 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/04 10:35:36.555 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2025/04/04 10:35:36.556 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:36.568 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.568 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/04 10:35:36.573 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.591 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=1.990162ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.594 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.594 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/04 10:35:36.596 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=8.246852ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.606 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.619 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/04 10:35:36.619 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/04 10:35:36.630 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.630 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/04 10:35:36.635 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.647 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=576.7µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:36.650 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.650 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/04 10:35:36.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=51] ["take time"=7.249391ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.661 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.670 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/04 10:35:36.670 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/04 10:35:36.683 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.683 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2025/04/04 10:35:36.688 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.706 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.710056ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:35:36.709 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.709 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/04 10:35:36.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=52] ["take time"=7.887031ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.721 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.732 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/04 10:35:36.746 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:35:36.746 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:36.746 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:36.746 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:36.749 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.749 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/04 10:35:36.755 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.780 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.188965ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.784 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.784 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/04 10:35:36.785 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=9.976678ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.798 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.814 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/04 10:35:36.814 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/04 10:35:36.828 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.828 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/04 10:35:36.833 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.853 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.065905ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.856 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.856 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/04 10:35:36.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=54] ["take time"=8.648535ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.868 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.880 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/04 10:35:36.881 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/04 10:35:36.894 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.894 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/04 10:35:36.898 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.919 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.345744ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.922 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.922 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/04 10:35:36.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=55] ["take time"=8.563671ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.934 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.947 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/04 10:35:36.947 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/04 10:35:37.089 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.348061636s] [2025/04/04 10:35:37.092 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [] [2025/04/04 10:35:37.092 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:37.092 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:35:37.092 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:35:37.092 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:37.092 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:37.093 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=68.437µs] [2025/04/04 10:35:37.093 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=47.156µs] [2025/04/04 10:35:37.093 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=42.343µs] [2025/04/04 10:35:37.093 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=47.436µs] [2025/04/04 10:35:37.093 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=41.134µs] [2025/04/04 10:35:37.093 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=40.297µs] [2025/04/04 10:35:37.093 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=36.317µs] [2025/04/04 10:35:37.093 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=39.612µs] [2025/04/04 10:35:37.093 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=39.86µs] [2025/04/04 10:35:37.094 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=38.196µs] [2025/04/04 10:35:37.094 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:37.094 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:37.095 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:35:37.095 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:35:37.104 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=f58e11f5-c868-409a-9f2b-8fb6c2766764] ["take time"=11.916009ms] [2025/04/04 10:35:37.104 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:37.105 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=505] [2025/04/04 10:35:37.105 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:35:37.105 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:37.105 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:37.105 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:37.105 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:35:37.105 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:37.105 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:35:37.105 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=2da37ad3-9b5d-4cef-8766-6dce8748823e] [] [2025/04/04 10:35:37.105 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:35:37.105 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:37.105 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:35:37.105 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=2da37ad3-9b5d-4cef-8766-6dce8748823e] [2025/04/04 10:35:37.105 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:37.105 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:37.105 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=2da37ad3-9b5d-4cef-8766-6dce8748823e] [2025/04/04 10:35:37.105 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=2da37ad3-9b5d-4cef-8766-6dce8748823e] [2025/04/04 10:35:37.107 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=2da37ad3-9b5d-4cef-8766-6dce8748823e] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:37.107 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:35:37.107 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:35:37.107 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:35:37.107 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:37.107 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:37.107 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:37.107 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:35:37.111 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=18.606639ms] [2025/04/04 10:35:37.111 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404353670991810] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:35:37.120 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:35:37.168 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=832] ["lease id"=3eaa96005d439acc] [2025/04/04 10:35:37.170 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:35:37.289 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=116.604323ms] [2025/04/04 10:35:37.290 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:37.298 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=f58e11f5-c868-409a-9f2b-8fb6c2766764] [runWorker=true] [jobVersion=v2] [2025/04/04 10:35:37.298 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:35:37.300 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [lease=6f1896005d439be1] [2025/04/04 10:35:37.301 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:35:37.301 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 135959502848/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:35:37.301 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:37.301 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:37.301 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:37.301 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:37.301 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:37.301 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:37.301 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:37.301 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:37.301 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:37.301 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:35:37.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:37.301 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:37.301 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=02e093f4-c457-413d-ae85-5e7d1589bee2] [2025/04/04 10:35:37.303 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d439be1] [ownerID=f58e11f5-c868-409a-9f2b-8fb6c2766764] [op=none] [2025/04/04 10:35:37.303 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:37.303 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [ownerKey=/tidb/ddl/fg/owner/6f1896005d439be1] [currRev=270] [2025/04/04 10:35:37.304 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:37.304 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/223196005d439859] [ownerID=02e093f4-c457-413d-ae85-5e7d1589bee2] [op=none] [2025/04/04 10:35:37.304 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=02e093f4-c457-413d-ae85-5e7d1589bee2] [2025/04/04 10:35:37.304 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=02e093f4-c457-413d-ae85-5e7d1589bee2] [ownerKey=/tidb/br-stream/owner/223196005d439859] [currRev=271] [2025/04/04 10:35:37.304 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=02e093f4-c457-413d-ae85-5e7d1589bee2] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:37.305 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:35:37.306 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896005d439be1] [ownerID=f58e11f5-c868-409a-9f2b-8fb6c2766764] [op=none] [2025/04/04 10:35:37.306 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [op=none] [2025/04/04 10:35:37.306 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:35:37.312 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:37.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:37.313 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:35:37.315 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/3eaa96005d439ad4] [ownerID=f58e11f5-c868-409a-9f2b-8fb6c2766764] [op=none] [2025/04/04 10:35:37.315 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:37.316 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [ownerKey=/tidb/bindinfo/owner/3eaa96005d439ad4] [currRev=272] [2025/04/04 10:35:37.322 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/04 10:35:37.324 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:35:37.325 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:37.331 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:37.338 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:37.339 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:37.339 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:37.339 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:35:37.339 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:37.339 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:35:37.339 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:35:37.339 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:35:37.339 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:35:37.340 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:37.340 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:37.341 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:37.341 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:37.341 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:37.341 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:37.341 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:35:37.341 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:37.341 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:37.341 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:35:37.341 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:37.341 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:37.341 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/04 10:35:37.341 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:37.341 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:37.341 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:37.341 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:37.343 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/223196005d43985f] [ownerID=f58e11f5-c868-409a-9f2b-8fb6c2766764] [op=none] [2025/04/04 10:35:37.343 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:37.343 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [ownerKey=/tidb/stats/owner/223196005d43985f] [currRev=273] [2025/04/04 10:35:37.343 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:35:37.345 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/001d1d93-1482-4b23-99cd-e3f1e0cb5153] [2025/04/04 10:35:37.345 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f58e11f5-c868-409a-9f2b-8fb6c2766764] [ttl-worker=task-manager] [ttl-worker=f58e11f5-c868-409a-9f2b-8fb6c2766764] [originalCount=0] [newCount=4] [2025/04/04 10:35:37.345 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f58e11f5-c868-409a-9f2b-8fb6c2766764] [ttl-worker=task-manager] [ttl-worker=f58e11f5-c868-409a-9f2b-8fb6c2766764] [originalCount=0] [newCount=4] [2025/04/04 10:35:37.346 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:37.347 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:35:37.354 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:37.354 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:35:37.355 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743762937355260724 [2025/04/04 10:35:37.356 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:35:37.363 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.187593ms] [2025/04/04 10:35:37.363 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:37.363 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:35:37.374 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743762937376252255 === RUN TestImportInto/TestGlobalSortBasic [2025/04/04 10:35:37.380 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=] [sql="drop database if exists gsort_basic"] [user=] [2025/04/04 10:35:37.391 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database gsort_basic"] [2025/04/04 10:35:37.391 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:37.396 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.411 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=603.879µs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:37.414 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/04 10:35:37.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=56] ["take time"=7.665436ms] [job="ID:113, Type:create schema, State:done, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.426 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:synced, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.440 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/04 10:35:37.441 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=] [sql="create database gsort_basic"] [user=] [2025/04/04 10:35:37.454 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:37.454 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c varchar(100), d int,\n\t\tkey(a), key(c,d), key(d));"] [2025/04/04 10:35:37.460 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.465 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 114, Table Name: t)"] [2025/04/04 10:35:37.485 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=2.209722ms] [gotSchemaVersion=57] [phyTblIDs="[114]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:37.488 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=57] [2025/04/04 10:35:37.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=57] ["take time"=8.952899ms] [job="ID:115, Type:create table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.502 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.514 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/04 10:35:37.514 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=57] [cur_db=gsort_basic] [sql="create table t (a bigint primary key, b varchar(100), c varchar(100), d int,\n\t\tkey(a), key(c,d), key(d));"] [user=] [2025/04/04 10:35:37.639 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:37.640 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:37.663 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:37.696 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gs-basic/t.*.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"cloud_storage_uri\":\"gs://sorted/import?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\"}}"] [dist-task-enabled=true] [2025/04/04 10:35:37.728 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=1] [task-id=1] [data-size=96B] [thread-cnt=8] [global-sort=true] [2025/04/04 10:35:38.314 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:35:38.314 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:38.314 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:38.314 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:38.346 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:35:38.346 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:35:38.346 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/001d1d93-1482-4b23-99cd-e3f1e0cb5153] [watcherID=f771ce15-a39f-4995-858d-edb187d80917] [2025/04/04 10:35:38.355 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:35:38.359 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:35:38.359 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:35:38.359 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:35:38.359 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:35:38.376 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/04 10:35:38.376 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:35:38.478 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=encode] [2025/04/04 10:35:38.480 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:38.482 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=encode] [2025/04/04 10:35:38.490 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:38.491 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:38.493 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:38.493 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 10:35:38.494 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=79.459µs] [2025/04/04 10:35:38.494 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=198.976µs] [] [2025/04/04 10:35:38.494 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:38.495 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:38.502 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=encode] [subtask-count=2] [2025/04/04 10:35:38.502 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=encode] [concurrency=8] [subtasks=2] [2025/04/04 10:35:38.548 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:35:38.569 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=1] [step=encode] [2025/04/04 10:35:38.569 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:38.570 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:38.571 +00:00] [INFO] [table_import.go:119] ["import dir not exists, create it"] [table=t] [import_dir=/tmp/tidb/import-4000] [2025/04/04 10:35:38.579 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:38.579 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:38.579 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:38.579 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:38.579 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:38.579 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:38.579 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:38.579 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:38.580 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:38.580 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:38.591 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=1] [2025/04/04 10:35:38.596 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:38.598 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:38.598 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 10:35:38.598 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=1] [step=encode] [data-buf-limit=512MiB] [per-index-buf-limit=170.7MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:38.598 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 10:35:38.606 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=encode] [2025/04/04 10:35:38.607 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=encode] [subtask-id=1] [2025/04/04 10:35:38.609 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a6bff3c1-71de-4d31-a39d-03ae589fc275] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:38.609 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8193a241-1ffb-47af-b72f-b0ede91e5bab] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:38.609 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c6dd6f82-f06e-4c50-a074-c238ad5819d7] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:38.609 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b0e3864e-7e2d-4ddb-88a4-740119e64315] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:38.609 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/04 10:35:38.609 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4a78db58-4075-4150-bf96-c2a7068ca0e9] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:38.609 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b43db71c-b6aa-431d-aeb2-cacfc4e33842] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:38.609 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/6b317b08-7664-4a63-be44-f8172ca6a3e9] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:38.612 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=t.1.csv:0] [2025/04/04 10:35:38.614 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=t.1.csv:0] [readDur=1.032105ms] [encodeDur=290.358µs] [checksum="{cksum=5544494089301268680,size=556,kvs=12}"] [deliverDur=623.503µs] [type=file] [takeTime=2.408935ms] [] [2025/04/04 10:35:38.618 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/b2072fde-c62d-44b7-b60d-a23201a0e1eb] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=4.062103ms] [write-speed(bytes/s)=43.03KiB] [2025/04/04 10:35:38.618 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/b2072fde-c62d-44b7-b60d-a23201a0e1eb] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=3.957µs] [write-time=4.208073ms] [sort-speed(kv/s)=758150.1137] [writer-id=data/b2072fde-c62d-44b7-b60d-a23201a0e1eb] [2025/04/04 10:35:38.619 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b2072fde-c62d-44b7-b60d-a23201a0e1eb] [kv-cnt-cap=4] [minKey=7480000000000000725f728000000000000001] [maxKey=7480000000000000725f728000000000000003] [2025/04/04 10:35:38.623 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/b2072fde-c62d-44b7-b60d-a23201a0e1eb] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=3.990413ms] [write-speed(bytes/s)=59.96KiB] [2025/04/04 10:35:38.623 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/b2072fde-c62d-44b7-b60d-a23201a0e1eb] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=3.434µs] [write-time=4.091718ms] [sort-speed(kv/s)=873616.7734] [writer-id=index/2/b2072fde-c62d-44b7-b60d-a23201a0e1eb] [2025/04/04 10:35:38.623 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/b2072fde-c62d-44b7-b60d-a23201a0e1eb] [kv-cnt-cap=4] [minKey=7480000000000000725f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [maxKey=7480000000000000725f698000000000000002016261723300000000fb038000000000000315038000000000000003] [2025/04/04 10:35:38.644 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/b2072fde-c62d-44b7-b60d-a23201a0e1eb] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=21.353869ms] [write-speed(bytes/s)=7.409KiB] [2025/04/04 10:35:38.644 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/b2072fde-c62d-44b7-b60d-a23201a0e1eb] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.187µs] [write-time=21.497512ms] [sort-speed(kv/s)=941324.1293] [writer-id=index/3/b2072fde-c62d-44b7-b60d-a23201a0e1eb] [2025/04/04 10:35:38.645 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/b2072fde-c62d-44b7-b60d-a23201a0e1eb] [kv-cnt-cap=4] [minKey=7480000000000000725f69800000000000000303800000000000007b038000000000000001] [maxKey=7480000000000000725f698000000000000003038000000000000315038000000000000003] [2025/04/04 10:35:38.656 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/b2072fde-c62d-44b7-b60d-a23201a0e1eb] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=11.185333ms] [write-speed(bytes/s)=14.14KiB] [2025/04/04 10:35:38.656 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/b2072fde-c62d-44b7-b60d-a23201a0e1eb] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.166µs] [write-time=11.371616ms] [sort-speed(kv/s)=947567.9090] [writer-id=index/1/b2072fde-c62d-44b7-b60d-a23201a0e1eb] [2025/04/04 10:35:38.656 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/b2072fde-c62d-44b7-b60d-a23201a0e1eb] [kv-cnt-cap=4] [minKey=7480000000000000725f698000000000000001038000000000000001038000000000000001] [maxKey=7480000000000000725f698000000000000001038000000000000003038000000000000003] [2025/04/04 10:35:38.656 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=1] [step=encode] [engine-id=0] [2025/04/04 10:35:38.659 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=encode] [subtask-id=1] [takeTime=52.472521ms] [] [2025/04/04 10:35:38.659 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=encode] [takeTime=52.642404ms] [] [2025/04/04 10:35:38.682 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=encode] [2025/04/04 10:35:38.682 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=encode] [subtask-id=2] [2025/04/04 10:35:38.684 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a123a0a5-79c3-4b86-a9aa-3b8a60adc04c] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:38.684 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/24478c83-e393-47d5-8dbd-2cd4b70316c5] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:38.684 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1a37709b-27b5-4eba-8373-b272b1edd984] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:38.684 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/3fcfa457-0a10-4712-b75d-2ce64e0b87f5] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:38.684 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/2cc3c1c4-491d-4ef8-9a9c-f7cc760dfb38] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:38.684 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/573f8312-c8f6-4c48-b8ba-aa65d3b48b6a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:38.684 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/04 10:35:38.684 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/23485283-1a89-4a47-813f-b019332b1abd] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:38.686 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=t.2.csv:0] [2025/04/04 10:35:38.726 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=t.2.csv:0] [readDur=862.461µs] [encodeDur=324.537µs] [checksum="{cksum=17440827801518230997,size=556,kvs=12}"] [deliverDur=38.354271ms] [type=file] [takeTime=39.810687ms] [] [2025/04/04 10:35:38.746 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/2de48c45-5534-4021-b5ab-8473017c751e] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=19.836663ms] [write-speed(bytes/s)=8.812KiB] [2025/04/04 10:35:38.746 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/2de48c45-5534-4021-b5ab-8473017c751e] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=4.011µs] [write-time=19.963107ms] [sort-speed(kv/s)=747943.1563] [writer-id=data/2de48c45-5534-4021-b5ab-8473017c751e] [2025/04/04 10:35:38.746 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/2de48c45-5534-4021-b5ab-8473017c751e] [kv-cnt-cap=4] [minKey=7480000000000000725f728000000000000004] [maxKey=7480000000000000725f728000000000000006] [2025/04/04 10:35:38.766 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/2de48c45-5534-4021-b5ab-8473017c751e] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=19.795757ms] [write-speed(bytes/s)=7.992KiB] [2025/04/04 10:35:38.766 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/2de48c45-5534-4021-b5ab-8473017c751e] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.601µs] [write-time=19.930735ms] [sort-speed(kv/s)=833101.9161] [writer-id=index/1/2de48c45-5534-4021-b5ab-8473017c751e] [2025/04/04 10:35:38.767 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/2de48c45-5534-4021-b5ab-8473017c751e] [kv-cnt-cap=4] [minKey=7480000000000000725f698000000000000001038000000000000004038000000000000004] [maxKey=7480000000000000725f698000000000000001038000000000000006038000000000000006] [2025/04/04 10:35:38.771 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/2de48c45-5534-4021-b5ab-8473017c751e] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=3.868044ms] [write-speed(bytes/s)=61.85KiB] [2025/04/04 10:35:38.771 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/2de48c45-5534-4021-b5ab-8473017c751e] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=3.697µs] [write-time=3.975231ms] [sort-speed(kv/s)=811468.7585] [writer-id=index/2/2de48c45-5534-4021-b5ab-8473017c751e] [2025/04/04 10:35:38.771 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/2de48c45-5534-4021-b5ab-8473017c751e] [kv-cnt-cap=4] [minKey=7480000000000000725f698000000000000002016261723400000000fb03800000000000007b038000000000000004] [maxKey=7480000000000000725f698000000000000002016261723600000000fb038000000000000143038000000000000006] [2025/04/04 10:35:38.774 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/2de48c45-5534-4021-b5ab-8473017c751e] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=3.450237ms] [write-speed(bytes/s)=45.85KiB] [2025/04/04 10:35:38.774 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/2de48c45-5534-4021-b5ab-8473017c751e] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.205µs] [write-time=3.553502ms] [sort-speed(kv/s)=936037.4415] [writer-id=index/3/2de48c45-5534-4021-b5ab-8473017c751e] [2025/04/04 10:35:38.774 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/2de48c45-5534-4021-b5ab-8473017c751e] [kv-cnt-cap=4] [minKey=7480000000000000725f69800000000000000303800000000000007b038000000000000004] [maxKey=7480000000000000725f698000000000000003038000000000000143038000000000000006] [2025/04/04 10:35:38.775 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=1] [step=encode] [engine-id=1] [2025/04/04 10:35:38.777 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=encode] [subtask-id=2] [takeTime=94.84567ms] [] [2025/04/04 10:35:38.777 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=encode] [takeTime=95.004665ms] [] [2025/04/04 10:35:38.882 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=encode] [next-step=merge-sort] [2025/04/04 10:35:38.884 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:38.886 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=encode] [next-step=merge-sort] [2025/04/04 10:35:38.893 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:38.894 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:38.898 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=1] [kv-group=data] [2025/04/04 10:35:38.898 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=1] [kv-group=1] [2025/04/04 10:35:38.898 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=1] [kv-group=2] [2025/04/04 10:35:38.898 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=1] [kv-group=3] [2025/04/04 10:35:38.899 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:38.899 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:38.902 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=encode] [next-step=merge-sort] [subtask-count=0] [2025/04/04 10:35:38.902 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=merge-sort] [concurrency=8] [subtasks=0] [2025/04/04 10:35:38.919 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:35:38.920 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=encode] [2025/04/04 10:35:38.921 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:38.921 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:38.921 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:38.921 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:38.921 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:38.921 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:38.921 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:38.921 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:38.921 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:38.921 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:38.921 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:38.921 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:38.923 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:38.923 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:38.923 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:38.923 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:38.923 +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=324.829869ms] [] [2025/04/04 10:35:38.923 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/04 10:35:38.982 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=merge-sort] [next-step=ingest] [2025/04/04 10:35:38.984 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:38.986 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=merge-sort] [next-step=ingest] [2025/04/04 10:35:39.003 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:39.004 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:39.011 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:39.012 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:39.012 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:39.013 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:39.013 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:39.013 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:39.013 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:39.013 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:39.013 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:39.014 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:39.014 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:39.018 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:39.018 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:39.018 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:39.018 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:39.018 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:39.018 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:39.018 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:39.018 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:39.018 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:39.018 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:39.018 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:39.018 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:39.019 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 10:35:39.019 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:35:39.022 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000725f728000000000000001] [endKey=7480000000000000725f72800000000000000600] [dataFiles=2] [2025/04/04 10:35:39.022 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:35:39.025 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:39.025 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:39.026 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:39.026 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:39.027 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:39.027 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:39.027 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:39.027 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:39.027 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:39.027 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:39.027 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:39.031 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:39.031 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:39.031 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:39.031 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:39.031 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:39.031 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:39.031 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:39.031 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:39.031 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:39.031 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:39.031 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:39.031 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:39.032 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 10:35:39.032 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:35:39.035 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000725f698000000000000001038000000000000001038000000000000001] [endKey=7480000000000000725f69800000000000000103800000000000000603800000000000000600] [dataFiles=2] [2025/04/04 10:35:39.035 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:35:39.038 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:39.038 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:39.039 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:39.039 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:39.039 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:39.040 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:39.040 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:39.040 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:39.040 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:39.040 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:39.040 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:39.044 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:39.044 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:39.044 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:39.044 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:39.044 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:39.044 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:39.044 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:39.044 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:39.044 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:39.044 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:39.044 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:39.044 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:39.045 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 10:35:39.045 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:35:39.049 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000725f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [endKey=7480000000000000725f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [dataFiles=2] [2025/04/04 10:35:39.049 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:35:39.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 10:35:39.052 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:39.053 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:39.053 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:39.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 10:35:39.054 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:39.054 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:39.054 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:39.054 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:39.054 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:39.054 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:39.058 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:39.058 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:39.058 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:39.058 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:39.058 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:39.058 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:39.058 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:39.058 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:39.058 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:39.058 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:39.058 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:39.058 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:39.059 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 10:35:39.059 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:35:39.063 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000725f69800000000000000303800000000000007b038000000000000001] [endKey=7480000000000000725f69800000000000000303800000000000031503800000000000000300] [dataFiles=2] [2025/04/04 10:35:39.063 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:35:39.063 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:39.064 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:39.076 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=merge-sort] [next-step=ingest] [subtask-count=4] [2025/04/04 10:35:39.076 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=ingest] [concurrency=8] [subtasks=4] [2025/04/04 10:35:39.117 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:35:39.137 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:39.138 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:39.146 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:39.146 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:39.146 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:39.146 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:39.147 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:39.147 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:39.147 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:39.147 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:39.147 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:39.147 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:39.159 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:39.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 10:35:39.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 10:35:39.161 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 10:35:39.170 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=ingest] [2025/04/04 10:35:39.172 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=3] [kv-group=data] [2025/04/04 10:35:39.172 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:39.172 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:35:39.176 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000725F728000000000000001] [endKey=7480000000000000725F72800000000000000600] [len(keys)=2] [] [2025/04/04 10:35:39.176 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:39.198 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=7d2e7e3b-6425-5eaa-bb47-b89a67a6610f] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 10:35:39.199 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:39.199 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:35:39.199 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF725F728000000000FF0000010000000000FA] [end=7480000000000000FF725F728000000000FF0000060000000000FC] [2025/04/04 10:35:39.200 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.741µs] [2025/04/04 10:35:39.200 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=1.031733ms] [] [2025/04/04 10:35:39.200 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:35:39.200 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:35:39.200 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=2] [stat-file-count=2] [start-key=7480000000000000725f728000000000000001] [end-key=7480000000000000725f72800000000000000600] [2025/04/04 10:35:39.200 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:35:39.204 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.534935ms] [] [2025/04/04 10:35:39.204 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:35:39.229 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:39.230 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=29.599639ms] [] [2025/04/04 10:35:39.230 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 10:35:39.230 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=29.775377ms] [droppedSize=0] [2025/04/04 10:35:39.230 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=10.573µs] [2025/04/04 10:35:39.230 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f728000000000000001] [endOfAllRanges=7480000000000000725f72800000000000000600] [startKeyOfFirstRegion=7480000000000000ff725f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7800000000000000fb] [2025/04/04 10:35:39.243 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=7d2e7e3b-6425-5eaa-bb47-b89a67a6610f] [size=107374182400] [kvs=0] [importedSize=262] [importedCount=6] [2025/04/04 10:35:39.245 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=3] [kv-group=data] [takeTime=73.575643ms] [] [2025/04/04 10:35:39.245 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=ingest] [takeTime=75.337608ms] [] [2025/04/04 10:35:39.269 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=ingest] [2025/04/04 10:35:39.271 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=4] [kv-group=1] [2025/04/04 10:35:39.271 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:39.272 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:35:39.276 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000725F698000000000000001038000000000000001038000000000000001] [endKey=7480000000000000725F69800000000000000103800000000000000603800000000000000600] [len(keys)=2] [] [2025/04/04 10:35:39.276 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:39.298 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=35a62bba-3aab-5322-b59b-c5bc8baf9c9d] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 10:35:39.298 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:39.298 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:35:39.298 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF725F698000000000FF0000010380000000FF0000000103800000FF0000000001000000FC] [end=7480000000000000FF725F698000000000FF0000010380000000FF0000000603800000FF0000000006000000FE] [2025/04/04 10:35:39.298 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.535µs] [2025/04/04 10:35:39.298 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=715.448µs] [] [2025/04/04 10:35:39.299 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:35:39.299 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:35:39.299 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=2] [stat-file-count=2] [start-key=7480000000000000725f698000000000000001038000000000000001038000000000000001] [end-key=7480000000000000725f69800000000000000103800000000000000603800000000000000600] [2025/04/04 10:35:39.299 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:35:39.301 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:35:39.303 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.898302ms] [] [2025/04/04 10:35:39.303 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:35:39.307 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:39.308 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.943466ms] [] [2025/04/04 10:35:39.308 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 10:35:39.308 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=9.119649ms] [droppedSize=0] [2025/04/04 10:35:39.308 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=8.63µs] [2025/04/04 10:35:39.308 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=7480000000000000725f69800000000000000103800000000000000603800000000000000600] [startKeyOfFirstRegion=7480000000000000ff725f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ff725f698000000000ff0000010380000000ff0000000603800000ff0000000006000000fd] [2025/04/04 10:35:39.319 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=35a62bba-3aab-5322-b59b-c5bc8baf9c9d] [size=107374182400] [kvs=0] [importedSize=228] [importedCount=6] [2025/04/04 10:35:39.321 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=4] [kv-group=1] [takeTime=49.537875ms] [] [2025/04/04 10:35:39.321 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=ingest] [takeTime=51.880954ms] [] [2025/04/04 10:35:39.346 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=ingest] [2025/04/04 10:35:39.348 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=5] [kv-group=2] [2025/04/04 10:35:39.348 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:39.349 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:35:39.353 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000725F698000000000000002016261723100000000FB03800000000000007B038000000000000001] [endKey=7480000000000000725F698000000000000002016261723600000000FB03800000000000014303800000000000000600] [len(keys)=2] [] [2025/04/04 10:35:39.353 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:39.375 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=8d2242cb-c9a7-5915-a93a-45927b24759d] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 10:35:39.375 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:39.375 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:35:39.376 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF725F698000000000FF0000020162617231FF00000000FB038000FF00000000007B0380FF0000000000000100FE] [end=7480000000000000FF725F698000000000FF0000020162617236FF00000000FB038000FF0000000001430380FF0000000000000600FF0000000000000000F8] [2025/04/04 10:35:39.376 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.516µs] [2025/04/04 10:35:39.376 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=860.232µs] [] [2025/04/04 10:35:39.376 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:35:39.376 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:35:39.376 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=2] [stat-file-count=2] [start-key=7480000000000000725f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [end-key=7480000000000000725f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [2025/04/04 10:35:39.376 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:35:39.380 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.871191ms] [] [2025/04/04 10:35:39.380 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:35:39.384 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:39.385 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.623892ms] [] [2025/04/04 10:35:39.385 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 10:35:39.385 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.786005ms] [droppedSize=0] [2025/04/04 10:35:39.385 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=6.372µs] [2025/04/04 10:35:39.386 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [endOfAllRanges=7480000000000000725f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [startKeyOfFirstRegion=7480000000000000ff725f698000000000ff0000020162617231ff00000000fb038000ff00000000007b0380ff0000000000000100fe] [endKeyOfLastRegion=7480000000000000ff725f698000000000ff0000020162617236ff00000000fb038000ff0000000001430380ff0000000000000600ff0000000000000000f7] [2025/04/04 10:35:39.397 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=8d2242cb-c9a7-5915-a93a-45927b24759d] [size=107374182400] [kvs=0] [importedSize=394] [importedCount=6] [2025/04/04 10:35:39.399 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=5] [kv-group=2] [takeTime=51.20187ms] [] [2025/04/04 10:35:39.399 +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.157678ms] [] [2025/04/04 10:35:39.422 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=ingest] [2025/04/04 10:35:39.424 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=6] [kv-group=3] [2025/04/04 10:35:39.424 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:39.425 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:35:39.429 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000725F69800000000000000303800000000000007B038000000000000001] [endKey=7480000000000000725F69800000000000000303800000000000031503800000000000000300] [len(keys)=2] [] [2025/04/04 10:35:39.429 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:39.451 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=68c3c0d0-46c6-5523-9dfa-6206622dc2ff] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 10:35:39.451 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:39.451 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:35:39.451 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF725F698000000000FF0000030380000000FF0000007B03800000FF0000000001000000FC] [end=7480000000000000FF725F698000000000FF0000030380000000FF0000031503800000FF0000000003000000FE] [2025/04/04 10:35:39.452 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.742µs] [2025/04/04 10:35:39.452 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=748.24µs] [] [2025/04/04 10:35:39.452 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:35:39.452 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:35:39.452 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=2] [stat-file-count=2] [start-key=7480000000000000725f69800000000000000303800000000000007b038000000000000001] [end-key=7480000000000000725f69800000000000000303800000000000031503800000000000000300] [2025/04/04 10:35:39.452 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:35:39.456 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=4.44529ms] [] [2025/04/04 10:35:39.456 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:35:39.461 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:39.462 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=9.713359ms] [] [2025/04/04 10:35:39.462 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 10:35:39.462 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=9.888427ms] [droppedSize=0] [2025/04/04 10:35:39.462 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=9.847µs] [2025/04/04 10:35:39.462 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f69800000000000000303800000000000007b038000000000000001] [endOfAllRanges=7480000000000000725f69800000000000000303800000000000031503800000000000000300] [startKeyOfFirstRegion=7480000000000000ff725f698000000000ff0000030380000000ff0000007b03800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ff725f698000000000ff0000030380000000ff0000031503800000ff0000000003000000fd] [2025/04/04 10:35:39.474 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=68c3c0d0-46c6-5523-9dfa-6206622dc2ff] [size=107374182400] [kvs=0] [importedSize=228] [importedCount=6] [2025/04/04 10:35:39.475 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=6] [kv-group=3] [takeTime=51.682772ms] [] [2025/04/04 10:35:39.476 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=ingest] [takeTime=53.558617ms] [] [2025/04/04 10:35:39.583 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=ingest] [next-step=post-process] [2025/04/04 10:35:39.585 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:39.587 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=ingest] [next-step=post-process] [2025/04/04 10:35:39.609 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=1] [curr-step=ingest] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 10:35:39.611 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=ingest] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:39.611 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:35:39.622 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:35:39.623 +00:00] [INFO] [task_executor.go:515] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=ingest] [2025/04/04 10:35:39.629 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:39.629 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:39.629 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:39.629 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:39.629 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:39.629 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:39.629 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:39.629 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:39.629 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:39.629 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:39.629 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:39.629 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:39.631 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:39.631 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:39.631 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:39.631 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:39.631 +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=470.143893ms] [] [2025/04/04 10:35:39.631 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/04 10:35:39.649 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:35:39.671 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 10:35:39.679 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=post-process] [2025/04/04 10:35:39.679 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [2025/04/04 10:35:39.680 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [2025/04/04 10:35:39.680 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [2025/04/04 10:35:39.680 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [takeTime=2.11µs] [] [2025/04/04 10:35:39.680 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [groupId=-1] [size=262] [kvs=6] [checksum=16467553292841115641] [2025/04/04 10:35:39.680 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [groupId=1] [size=228] [kvs=6] [checksum=5933586680183683] [2025/04/04 10:35:39.680 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [groupId=2] [size=394] [kvs=6] [checksum=1482059515352799067] [2025/04/04 10:35:39.680 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [groupId=3] [size=228] [kvs=6] [checksum=5690150982916384316] [2025/04/04 10:35:39.680 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [checksum="{cksum=13761799268116354333,size=1112,kvs=24}"] [2025/04/04 10:35:39.680 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [weight=30] [2025/04/04 10:35:39.680 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [concurrency=15] [2025/04/04 10:35:39.689 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=-1] [checksum=16467553292841115641] [totalKvs=6] [totalBytes=262] [2025/04/04 10:35:39.689 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=1] [checksum=5933586680183683] [totalKvs=6] [totalBytes=228] [2025/04/04 10:35:39.690 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=3] [checksum=5690150982916384316] [totalKvs=6] [totalBytes=228] [2025/04/04 10:35:39.691 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=2] [checksum=1482059515352799067] [totalKvs=6] [totalBytes=394] [2025/04/04 10:35:39.691 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:39.691 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [local="{cksum=13761799268116354333,size=1112,kvs=24}"] [2025/04/04 10:35:39.691 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [takeTime=11.448945ms] [] [2025/04/04 10:35:39.691 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [takeTime=11.682917ms] [] [2025/04/04 10:35:39.691 +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=12.220692ms] [] [2025/04/04 10:35:39.698 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:39.783 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:39.783 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=1] [step=post-process] [state=running] [] [2025/04/04 10:35:39.786 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=1] [2025/04/04 10:35:39.814 +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=143.441879ms] [] [2025/04/04 10:35:39.815 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/04 10:35:39.846 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 2.330899453\n# Parse_time: 0.000277394\n# Compile_time: 0.000567138\n# Rewrite_time: 0.000110539\n# Optimize_time: 0.000074765\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjIuMzNzLCBvcGVuOjc0OG5zLCBjbG9zZTo4NjhucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjIuMzNzLCBvcGVuOjc0OG5zLCBjbG9zZTo4NjhucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse gsort_basic;\nIMPORT INTO `gsort_basic`.`t` FROM 'gs://gs-basic/t.*.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F' WITH __max_engine_size=_UTF8MB4'1', cloud_storage_uri=_UTF8MB4'gs://sorted/import?endpoint=http://127.0.0.1:4443/storage/v1/&access-key=aaaaaa&secret-access-key=bbbbbb';"] [2025/04/04 10:35:39.878 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/04 10:35:39.884 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:39.884 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/04 10:35:39.886 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=1] [2025/04/04 10:35:39.886 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:39.887 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:39.939 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=1] [takeTime=53.022574ms] [] [2025/04/04 10:35:39.973 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:39.996 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:39.99 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:35:39.996 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:39.99 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:40.002 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:39.99 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.010 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 116, Table Name: t, Old Table ID: 114, Old Table Name: t)"] [2025/04/04 10:35:40.028 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=2.167959ms] [gotSchemaVersion=58] [phyTblIDs="[114,116]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:35:40.032 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=58] [2025/04/04 10:35:40.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=58] ["take time"=9.153877ms] [job="ID:117, Type:truncate table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:39.99 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.045 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=117] [tableIDs="[114]"] [comment="truncate table: table ID"] [2025/04/04 10:35:40.053 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="truncate table"] [2025/04/04 10:35:40.054 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:truncate table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:39.99 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.076 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/04 10:35:40.076 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=gsort_basic] [sql="truncate table t"] [user=] [2025/04/04 10:35:40.082 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:40.083 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:40.098 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:40.133 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gs-basic/t.*.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\",\"options\":{\"__force_merge_step\":null,\"__max_engine_size\":\"1\",\"cloud_storage_uri\":\"gs://sorted/import?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\"}}"] [dist-task-enabled=true] [2025/04/04 10:35:40.156 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=2] [task-id=2] [data-size=96B] [thread-cnt=8] [global-sort=true] [2025/04/04 10:35:40.171 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=2] [2025/04/04 10:35:40.171 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:35:40.273 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=encode] [2025/04/04 10:35:40.275 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:40.277 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=encode] [2025/04/04 10:35:40.286 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:40.287 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:40.290 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:40.290 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 10:35:40.290 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=70.47µs] [2025/04/04 10:35:40.290 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=168.955µs] [] [2025/04/04 10:35:40.290 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:40.291 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:40.298 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=encode] [subtask-count=2] [2025/04/04 10:35:40.298 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=encode] [concurrency=8] [subtasks=2] [2025/04/04 10:35:40.337 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:35:40.345 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/04 10:35:40.345 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/04 10:35:40.358 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=2] [step=encode] [2025/04/04 10:35:40.359 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:40.360 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:40.368 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:40.368 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:40.369 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:40.369 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:40.369 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:40.369 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:40.369 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:40.369 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:40.370 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:40.370 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:40.382 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:40.384 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:40.384 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 10:35:40.384 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=2] [step=encode] [data-buf-limit=512MiB] [per-index-buf-limit=170.7MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:40.384 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 10:35:40.386 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=2] [2025/04/04 10:35:40.392 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=encode] [2025/04/04 10:35:40.392 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=encode] [subtask-id=8] [2025/04/04 10:35:40.394 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/02d9d7d1-1dd1-4222-a935-74754ad0ef61] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:40.394 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/225f56fc-2cd7-4797-805c-915e209effed] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:40.394 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4dde6b92-99f5-47bc-82c1-66e0a449ea10] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:40.394 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/04 10:35:40.394 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/d0dc05d6-bafc-400f-9b51-9bb9b0101860] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:40.394 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/7c6142c7-161d-407a-9e4a-c411ad5df007] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:40.394 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/10ceb018-4004-49ea-ba59-423535074ab5] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:40.394 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/71f2d86d-162f-49ac-9d6b-be0154628ff9] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:40.397 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=t.1.csv:0] [2025/04/04 10:35:40.399 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=t.1.csv:0] [readDur=805.953µs] [encodeDur=679.338µs] [checksum="{cksum=3408228459156692313,size=556,kvs=12}"] [deliverDur=606.906µs] [type=file] [takeTime=2.435597ms] [] [2025/04/04 10:35:40.403 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/880d5f0d-a356-40c6-8c25-10d730441062] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=4.007532ms] [write-speed(bytes/s)=43.62KiB] [2025/04/04 10:35:40.404 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/880d5f0d-a356-40c6-8c25-10d730441062] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=3.223µs] [write-time=4.129338ms] [sort-speed(kv/s)=930809.8045] [writer-id=data/880d5f0d-a356-40c6-8c25-10d730441062] [2025/04/04 10:35:40.404 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/880d5f0d-a356-40c6-8c25-10d730441062] [kv-cnt-cap=4] [minKey=7480000000000000745f728000000000000001] [maxKey=7480000000000000745f728000000000000003] [2025/04/04 10:35:40.408 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/880d5f0d-a356-40c6-8c25-10d730441062] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=3.834332ms] [write-speed(bytes/s)=41.26KiB] [2025/04/04 10:35:40.408 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/880d5f0d-a356-40c6-8c25-10d730441062] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=2.778µs] [write-time=3.93095ms] [sort-speed(kv/s)=1079913.6069] [writer-id=index/1/880d5f0d-a356-40c6-8c25-10d730441062] [2025/04/04 10:35:40.408 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/880d5f0d-a356-40c6-8c25-10d730441062] [kv-cnt-cap=4] [minKey=7480000000000000745f698000000000000001038000000000000001038000000000000001] [maxKey=7480000000000000745f698000000000000001038000000000000003038000000000000003] [2025/04/04 10:35:40.412 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/880d5f0d-a356-40c6-8c25-10d730441062] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=3.952962ms] [write-speed(bytes/s)=60.53KiB] [2025/04/04 10:35:40.412 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/880d5f0d-a356-40c6-8c25-10d730441062] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=2.594µs] [write-time=4.06122ms] [sort-speed(kv/s)=1156515.0347] [writer-id=index/2/880d5f0d-a356-40c6-8c25-10d730441062] [2025/04/04 10:35:40.412 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/880d5f0d-a356-40c6-8c25-10d730441062] [kv-cnt-cap=4] [minKey=7480000000000000745f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [maxKey=7480000000000000745f698000000000000002016261723300000000fb038000000000000315038000000000000003] [2025/04/04 10:35:40.416 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/880d5f0d-a356-40c6-8c25-10d730441062] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=3.680858ms] [write-speed(bytes/s)=42.98KiB] [2025/04/04 10:35:40.416 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/880d5f0d-a356-40c6-8c25-10d730441062] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=2.644µs] [write-time=3.809011ms] [sort-speed(kv/s)=1134644.4781] [writer-id=index/3/880d5f0d-a356-40c6-8c25-10d730441062] [2025/04/04 10:35:40.416 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/880d5f0d-a356-40c6-8c25-10d730441062] [kv-cnt-cap=4] [minKey=7480000000000000745f69800000000000000303800000000000007b038000000000000001] [maxKey=7480000000000000745f698000000000000003038000000000000315038000000000000003] [2025/04/04 10:35:40.416 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=encode] [engine-id=0] [2025/04/04 10:35:40.418 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=encode] [subtask-id=8] [takeTime=26.349838ms] [] [2025/04/04 10:35:40.419 +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.507616ms] [] [2025/04/04 10:35:40.441 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=encode] [2025/04/04 10:35:40.441 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=encode] [subtask-id=9] [2025/04/04 10:35:40.444 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/35d17b1c-5c20-4f1a-bebd-80556895b84e] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:40.444 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/04 10:35:40.444 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/85b73fb4-2e49-48a5-b554-a56d015e05de] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:40.444 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/46224ec7-7098-4147-bd05-abdc5a222d70] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:40.444 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/50e7c11f-6da9-4d30-8df7-8f9d0ef57b69] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:40.444 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/63392acc-d2fc-414c-8483-c9beb4ac21f7] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:40.444 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1c8e9fb9-c29f-4276-9b32-f16522ecbfeb] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:40.444 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9310d3bb-d9e7-4731-81df-d6bc57774a0e] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:40.446 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=t.2.csv:0] [2025/04/04 10:35:40.459 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=t.2.csv:0] [readDur=882.752µs] [encodeDur=310.881µs] [checksum="{cksum=10500087816336640068,size=556,kvs=12}"] [deliverDur=11.081635ms] [type=file] [takeTime=12.91809ms] [] [2025/04/04 10:35:40.476 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/73babf45-34e8-469e-8e15-74ba4d8110d0] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=16.721852ms] [write-speed(bytes/s)=10.45KiB] [2025/04/04 10:35:40.476 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/73babf45-34e8-469e-8e15-74ba4d8110d0] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=3.363µs] [write-time=16.849152ms] [sort-speed(kv/s)=892060.6601] [writer-id=data/73babf45-34e8-469e-8e15-74ba4d8110d0] [2025/04/04 10:35:40.476 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/73babf45-34e8-469e-8e15-74ba4d8110d0] [kv-cnt-cap=4] [minKey=7480000000000000745f728000000000000004] [maxKey=7480000000000000745f728000000000000006] [2025/04/04 10:35:40.493 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/73babf45-34e8-469e-8e15-74ba4d8110d0] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=16.955583ms] [write-speed(bytes/s)=14.11KiB] [2025/04/04 10:35:40.493 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/73babf45-34e8-469e-8e15-74ba4d8110d0] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=3.569µs] [write-time=17.080235ms] [sort-speed(kv/s)=840571.5887] [writer-id=index/2/73babf45-34e8-469e-8e15-74ba4d8110d0] [2025/04/04 10:35:40.493 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/73babf45-34e8-469e-8e15-74ba4d8110d0] [kv-cnt-cap=4] [minKey=7480000000000000745f698000000000000002016261723400000000fb03800000000000007b038000000000000004] [maxKey=7480000000000000745f698000000000000002016261723600000000fb038000000000000143038000000000000006] [2025/04/04 10:35:40.510 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/73babf45-34e8-469e-8e15-74ba4d8110d0] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=16.301949ms] [write-speed(bytes/s)=9.705KiB] [2025/04/04 10:35:40.510 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/73babf45-34e8-469e-8e15-74ba4d8110d0] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.427µs] [write-time=16.461194ms] [sort-speed(kv/s)=875401.2256] [writer-id=index/3/73babf45-34e8-469e-8e15-74ba4d8110d0] [2025/04/04 10:35:40.510 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/73babf45-34e8-469e-8e15-74ba4d8110d0] [kv-cnt-cap=4] [minKey=7480000000000000745f69800000000000000303800000000000007b038000000000000004] [maxKey=7480000000000000745f698000000000000003038000000000000143038000000000000006] [2025/04/04 10:35:40.532 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/73babf45-34e8-469e-8e15-74ba4d8110d0] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=22.107816ms] [write-speed(bytes/s)=7.156KiB] [2025/04/04 10:35:40.532 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/73babf45-34e8-469e-8e15-74ba4d8110d0] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=5.009µs] [write-time=22.236263ms] [sort-speed(kv/s)=598921.9405] [writer-id=index/1/73babf45-34e8-469e-8e15-74ba4d8110d0] [2025/04/04 10:35:40.533 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/73babf45-34e8-469e-8e15-74ba4d8110d0] [kv-cnt-cap=4] [minKey=7480000000000000745f698000000000000001038000000000000004038000000000000004] [maxKey=7480000000000000745f698000000000000001038000000000000006038000000000000006] [2025/04/04 10:35:40.533 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=encode] [engine-id=1] [2025/04/04 10:35:40.544 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=encode] [subtask-id=9] [takeTime=102.570236ms] [] [2025/04/04 10:35:40.544 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=encode] [takeTime=102.817502ms] [] [2025/04/04 10:35:40.579 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=encode] [next-step=merge-sort] [2025/04/04 10:35:40.581 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:40.583 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=encode] [next-step=merge-sort] [2025/04/04 10:35:40.589 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:40.590 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:40.594 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:40.595 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:40.621 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=encode] [next-step=merge-sort] [subtask-count=4] [2025/04/04 10:35:40.621 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=merge-sort] [concurrency=8] [subtasks=4] [2025/04/04 10:35:40.651 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=encode] [2025/04/04 10:35:40.652 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:40.652 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:40.652 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:40.652 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:40.652 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:40.652 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:40.652 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:40.652 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:40.652 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:40.653 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:40.653 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:40.653 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:40.654 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:40.654 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:40.654 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:40.655 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:40.655 +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=270.34987ms] [] [2025/04/04 10:35:40.657 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:40.658 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:40.658 +00:00] [INFO] [task_executor.go:326] ["merge sort partSize"] [type=ImportInto] [task-id=2] [step=merge-sort] [data-kv=12.8MiB] [index-kv=5MiB] [2025/04/04 10:35:40.658 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=merge-sort] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 10:35:40.666 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=merge-sort] [2025/04/04 10:35:40.668 +00:00] [INFO] [task_executor.go:346] ["run subtask start"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=10] [kv-group=data] [2025/04/04 10:35:40.668 +00:00] [INFO] [merge.go:59] ["start to merge overlapping files"] [kv-group=data] [subtask-id=10] [file-count=2] [file-groups=1] [concurrency=8] [part-size=14470348] [2025/04/04 10:35:40.668 +00:00] [INFO] [merge.go:143] ["merge overlapping files start"] [kv-group=data] [subtask-id=10] [writer-id=83bcefd1-52e2-4a43-9b58-f8fe5d8d949c] [file-count=2] [2025/04/04 10:35:40.672 +00:00] [INFO] [onefile_writer.go:88] ["one file writer"] [kv-group=data] [subtask-id=10] [data-file=2/10/83bcefd1-52e2-4a43-9b58-f8fe5d8d949c/one-file] [stat-file=2/10/83bcefd1-52e2-4a43-9b58-f8fe5d8d949c_stat/one-file] [2025/04/04 10:35:40.696 +00:00] [INFO] [onefile_writer.go:153] ["close one file writer"] [kv-group=data] [subtask-id=10] [writerID=83bcefd1-52e2-4a43-9b58-f8fe5d8d949c] [2025/04/04 10:35:40.697 +00:00] [INFO] [merge.go:148] ["merge overlapping files completed"] [kv-group=data] [subtask-id=10] [writer-id=83bcefd1-52e2-4a43-9b58-f8fe5d8d949c] [file-count=2] [takeTime=28.80229ms] [] [2025/04/04 10:35:40.697 +00:00] [INFO] [task_executor.go:375] ["merge sort finished"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=10] [kv-group=data] [total-kv-size=262] [total-kv-count=6] [start-key=7480000000000000745F728000000000000001] [end-key=7480000000000000745F72800000000000000600] [2025/04/04 10:35:40.707 +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=39.160303ms] [] [2025/04/04 10:35:40.707 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=merge-sort] [takeTime=41.526071ms] [] [2025/04/04 10:35:40.729 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=11] [step=merge-sort] [2025/04/04 10:35:40.731 +00:00] [INFO] [task_executor.go:346] ["run subtask start"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=11] [kv-group=1] [2025/04/04 10:35:40.731 +00:00] [INFO] [merge.go:59] ["start to merge overlapping files"] [kv-group=1] [subtask-id=11] [file-count=2] [file-groups=1] [concurrency=8] [part-size=6291456] [2025/04/04 10:35:40.731 +00:00] [INFO] [merge.go:143] ["merge overlapping files start"] [kv-group=1] [subtask-id=11] [writer-id=17125236-8c13-4777-85c7-ec8c9936d755] [file-count=2] [2025/04/04 10:35:40.734 +00:00] [INFO] [onefile_writer.go:88] ["one file writer"] [kv-group=1] [subtask-id=11] [data-file=2/11/17125236-8c13-4777-85c7-ec8c9936d755/one-file] [stat-file=2/11/17125236-8c13-4777-85c7-ec8c9936d755_stat/one-file] [2025/04/04 10:35:40.764 +00:00] [INFO] [onefile_writer.go:153] ["close one file writer"] [kv-group=1] [subtask-id=11] [writerID=17125236-8c13-4777-85c7-ec8c9936d755] [2025/04/04 10:35:40.764 +00:00] [INFO] [merge.go:148] ["merge overlapping files completed"] [kv-group=1] [subtask-id=11] [writer-id=17125236-8c13-4777-85c7-ec8c9936d755] [file-count=2] [takeTime=33.263661ms] [] [2025/04/04 10:35:40.764 +00:00] [INFO] [task_executor.go:375] ["merge sort finished"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=11] [kv-group=1] [total-kv-size=228] [total-kv-count=6] [start-key=7480000000000000745F698000000000000001038000000000000001038000000000000001] [end-key=7480000000000000745F69800000000000000103800000000000000603800000000000000600] [2025/04/04 10:35:40.776 +00:00] [INFO] [task_executor.go:348] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=11] [kv-group=1] [takeTime=44.996747ms] [] [2025/04/04 10:35:40.776 +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=46.5962ms] [] [2025/04/04 10:35:40.797 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=12] [step=merge-sort] [2025/04/04 10:35:40.799 +00:00] [INFO] [task_executor.go:346] ["run subtask start"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=12] [kv-group=2] [2025/04/04 10:35:40.799 +00:00] [INFO] [merge.go:59] ["start to merge overlapping files"] [kv-group=2] [subtask-id=12] [file-count=2] [file-groups=1] [concurrency=8] [part-size=6291456] [2025/04/04 10:35:40.799 +00:00] [INFO] [merge.go:143] ["merge overlapping files start"] [kv-group=2] [subtask-id=12] [writer-id=f5406141-8fc2-4185-b5a3-76e641f4ba48] [file-count=2] [2025/04/04 10:35:40.802 +00:00] [INFO] [onefile_writer.go:88] ["one file writer"] [kv-group=2] [subtask-id=12] [data-file=2/12/f5406141-8fc2-4185-b5a3-76e641f4ba48/one-file] [stat-file=2/12/f5406141-8fc2-4185-b5a3-76e641f4ba48_stat/one-file] [2025/04/04 10:35:40.832 +00:00] [INFO] [onefile_writer.go:153] ["close one file writer"] [kv-group=2] [subtask-id=12] [writerID=f5406141-8fc2-4185-b5a3-76e641f4ba48] [2025/04/04 10:35:40.832 +00:00] [INFO] [merge.go:148] ["merge overlapping files completed"] [kv-group=2] [subtask-id=12] [writer-id=f5406141-8fc2-4185-b5a3-76e641f4ba48] [file-count=2] [takeTime=32.690731ms] [] [2025/04/04 10:35:40.832 +00:00] [INFO] [task_executor.go:375] ["merge sort finished"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=12] [kv-group=2] [total-kv-size=394] [total-kv-count=6] [start-key=7480000000000000745F698000000000000002016261723100000000FB03800000000000007B038000000000000001] [end-key=7480000000000000745F698000000000000002016261723600000000FB03800000000000014303800000000000000600] [2025/04/04 10:35:40.842 +00:00] [INFO] [task_executor.go:348] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=12] [kv-group=2] [takeTime=43.589653ms] [] [2025/04/04 10:35:40.843 +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=45.10948ms] [] [2025/04/04 10:35:40.864 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=13] [step=merge-sort] [2025/04/04 10:35:40.865 +00:00] [INFO] [task_executor.go:346] ["run subtask start"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=13] [kv-group=3] [2025/04/04 10:35:40.866 +00:00] [INFO] [merge.go:59] ["start to merge overlapping files"] [kv-group=3] [subtask-id=13] [file-count=2] [file-groups=1] [concurrency=8] [part-size=6291456] [2025/04/04 10:35:40.866 +00:00] [INFO] [merge.go:143] ["merge overlapping files start"] [kv-group=3] [subtask-id=13] [writer-id=a374fee8-e155-4b47-b744-b29b6c5cf496] [file-count=2] [2025/04/04 10:35:40.869 +00:00] [INFO] [onefile_writer.go:88] ["one file writer"] [kv-group=3] [subtask-id=13] [data-file=2/13/a374fee8-e155-4b47-b744-b29b6c5cf496/one-file] [stat-file=2/13/a374fee8-e155-4b47-b744-b29b6c5cf496_stat/one-file] [2025/04/04 10:35:40.896 +00:00] [INFO] [onefile_writer.go:153] ["close one file writer"] [kv-group=3] [subtask-id=13] [writerID=a374fee8-e155-4b47-b744-b29b6c5cf496] [2025/04/04 10:35:40.896 +00:00] [INFO] [merge.go:148] ["merge overlapping files completed"] [kv-group=3] [subtask-id=13] [writer-id=a374fee8-e155-4b47-b744-b29b6c5cf496] [file-count=2] [takeTime=30.594223ms] [] [2025/04/04 10:35:40.896 +00:00] [INFO] [task_executor.go:375] ["merge sort finished"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=13] [kv-group=3] [total-kv-size=228] [total-kv-count=6] [start-key=7480000000000000745F69800000000000000303800000000000007B038000000000000001] [end-key=7480000000000000745F69800000000000000303800000000000031503800000000000000300] [2025/04/04 10:35:40.906 +00:00] [INFO] [task_executor.go:348] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=13] [kv-group=3] [takeTime=40.659784ms] [] [2025/04/04 10:35:40.906 +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=41.953142ms] [] [2025/04/04 10:35:40.977 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=merge-sort] [next-step=ingest] [2025/04/04 10:35:40.979 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:40.981 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=merge-sort] [next-step=ingest] [2025/04/04 10:35:41.000 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:41.001 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:41.013 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:41.014 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:41.015 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:41.015 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:41.015 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:41.015 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:41.015 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:41.015 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:41.016 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:41.016 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:41.016 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:41.020 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:41.020 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:41.020 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:41.020 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:41.020 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:41.020 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:41.020 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:41.020 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:41.020 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:41.020 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:41.020 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:41.020 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:41.021 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 10:35:41.021 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:35:41.025 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000745f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [endKey=7480000000000000745f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [dataFiles=1] [2025/04/04 10:35:41.025 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:35:41.027 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:41.028 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:41.029 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:41.046 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:35:41.046 +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=387.861631ms] [] [2025/04/04 10:35:41.046 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/04 10:35:41.050 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:41.050 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:41.050 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:41.050 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:41.050 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:41.050 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:41.051 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:41.051 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:41.055 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:41.055 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:41.055 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:41.055 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:41.055 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:41.055 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:41.055 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:41.055 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:41.055 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:41.055 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:41.055 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:41.055 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:41.056 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 10:35:41.056 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:35:41.060 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000745f69800000000000000303800000000000007b038000000000000001] [endKey=7480000000000000745f69800000000000000303800000000000031503800000000000000300] [dataFiles=1] [2025/04/04 10:35:41.060 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:35:41.062 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:41.063 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:41.064 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:41.064 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:41.064 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:41.064 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:41.064 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:41.064 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:41.064 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:41.065 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:41.065 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:41.068 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:41.068 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:41.068 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:41.068 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:41.068 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:41.068 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:41.068 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:41.069 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:41.068 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:41.069 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:41.069 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:41.069 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:41.070 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 10:35:41.070 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:35:41.073 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000745f728000000000000001] [endKey=7480000000000000745f72800000000000000600] [dataFiles=1] [2025/04/04 10:35:41.074 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:35:41.076 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:41.077 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:41.077 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:41.078 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:41.078 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:41.078 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:41.078 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:41.078 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:41.079 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:41.079 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:41.079 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:41.083 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:41.083 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:41.083 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:41.083 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:41.083 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:41.083 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:41.083 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:41.083 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:41.083 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:41.083 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:41.083 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:41.083 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:41.084 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 10:35:41.084 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:35:41.088 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000745f698000000000000001038000000000000001038000000000000001] [endKey=7480000000000000745f69800000000000000103800000000000000603800000000000000600] [dataFiles=1] [2025/04/04 10:35:41.088 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:35:41.088 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:41.089 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:41.130 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=merge-sort] [next-step=ingest] [subtask-count=4] [2025/04/04 10:35:41.131 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=ingest] [concurrency=8] [subtasks=4] [2025/04/04 10:35:41.179 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:35:41.199 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:41.200 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:41.207 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:41.207 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:41.208 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:41.208 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:41.208 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:41.208 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:41.208 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:41.208 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:41.209 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:41.209 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:41.221 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:41.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 10:35:41.223 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 10:35:41.223 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 10:35:41.231 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=ingest] [2025/04/04 10:35:41.233 +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 10:35:41.233 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:41.234 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:35:41.237 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000745F698000000000000002016261723100000000FB03800000000000007B038000000000000001] [endKey=7480000000000000745F698000000000000002016261723600000000FB03800000000000014303800000000000000600] [len(keys)=2] [] [2025/04/04 10:35:41.237 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:41.259 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c92104fe-1480-5ebe-be2b-61946fa2dda3] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 10:35:41.259 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:41.259 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:35:41.260 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF745F698000000000FF0000020162617231FF00000000FB038000FF00000000007B0380FF0000000000000100FE] [end=7480000000000000FF745F698000000000FF0000020162617236FF00000000FB038000FF0000000001430380FF0000000000000600FF0000000000000000F8] [2025/04/04 10:35:41.260 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.527µs] [2025/04/04 10:35:41.260 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=670.706µs] [] [2025/04/04 10:35:41.260 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:35:41.260 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:35:41.260 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=1] [stat-file-count=1] [start-key=7480000000000000745f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [end-key=7480000000000000745f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [2025/04/04 10:35:41.260 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:35:41.264 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.807633ms] [] [2025/04/04 10:35:41.264 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:35:41.267 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:41.268 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.395041ms] [] [2025/04/04 10:35:41.268 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 10:35:41.269 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.573142ms] [droppedSize=0] [2025/04/04 10:35:41.269 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=7.679µs] [2025/04/04 10:35:41.269 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000745f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [endOfAllRanges=7480000000000000745f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [startKeyOfFirstRegion=7480000000000000ff745f698000000000ff0000020162617231ff00000000fb038000ff00000000007b0380ff0000000000000100fe] [endKeyOfLastRegion=7480000000000000ff745f698000000000ff0000020162617236ff00000000fb038000ff0000000001430380ff0000000000000600ff0000000000000000f7] [2025/04/04 10:35:41.279 +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 10:35:41.281 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=14] [kv-group=2] [takeTime=48.400643ms] [] [2025/04/04 10:35:41.282 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=ingest] [takeTime=51.38109ms] [] [2025/04/04 10:35:41.305 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=15] [step=ingest] [2025/04/04 10:35:41.306 +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 10:35:41.306 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:41.308 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:35:41.311 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000745F69800000000000000303800000000000007B038000000000000001] [endKey=7480000000000000745F69800000000000000303800000000000031503800000000000000300] [len(keys)=2] [] [2025/04/04 10:35:41.311 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:41.333 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=42e52923-6f90-566b-850e-758ca411cbe4] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 10:35:41.333 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:41.333 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:35:41.334 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF745F698000000000FF0000030380000000FF0000007B03800000FF0000000001000000FC] [end=7480000000000000FF745F698000000000FF0000030380000000FF0000031503800000FF0000000003000000FE] [2025/04/04 10:35:41.334 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.102µs] [2025/04/04 10:35:41.334 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=700.795µs] [] [2025/04/04 10:35:41.334 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:35:41.334 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:35:41.334 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=1] [stat-file-count=1] [start-key=7480000000000000745f69800000000000000303800000000000007b038000000000000001] [end-key=7480000000000000745f69800000000000000303800000000000031503800000000000000300] [2025/04/04 10:35:41.334 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:35:41.338 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.91221ms] [] [2025/04/04 10:35:41.338 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:35:41.342 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:41.343 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.619509ms] [] [2025/04/04 10:35:41.343 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 10:35:41.343 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.782992ms] [droppedSize=0] [2025/04/04 10:35:41.343 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=8.769µs] [2025/04/04 10:35:41.344 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000745f69800000000000000303800000000000007b038000000000000001] [endOfAllRanges=7480000000000000745f69800000000000000303800000000000031503800000000000000300] [startKeyOfFirstRegion=7480000000000000ff745f698000000000ff0000030380000000ff0000007b03800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ff745f698000000000ff0000030380000000ff0000031503800000ff0000000003000000fd] [2025/04/04 10:35:41.354 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=42e52923-6f90-566b-850e-758ca411cbe4] [size=107374182400] [kvs=0] [importedSize=228] [importedCount=6] [2025/04/04 10:35:41.355 +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.812826ms] [] [2025/04/04 10:35:41.357 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=15] [step=ingest] [takeTime=52.093439ms] [] [2025/04/04 10:35:41.379 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=16] [step=ingest] [2025/04/04 10:35:41.381 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=16] [kv-group=data] [2025/04/04 10:35:41.381 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:41.382 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:35:41.385 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000745F728000000000000001] [endKey=7480000000000000745F72800000000000000600] [len(keys)=2] [] [2025/04/04 10:35:41.385 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:41.407 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=797c5bd4-ca63-548e-8137-62562b529a90] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 10:35:41.407 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:41.407 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:35:41.408 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF745F728000000000FF0000010000000000FA] [end=7480000000000000FF745F728000000000FF0000060000000000FC] [2025/04/04 10:35:41.408 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.152µs] [2025/04/04 10:35:41.408 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=724.812µs] [] [2025/04/04 10:35:41.408 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:35:41.408 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:35:41.408 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=1] [stat-file-count=1] [start-key=7480000000000000745f728000000000000001] [end-key=7480000000000000745f72800000000000000600] [2025/04/04 10:35:41.408 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:35:41.412 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.451639ms] [] [2025/04/04 10:35:41.412 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:35:41.415 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:41.416 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=7.853383ms] [] [2025/04/04 10:35:41.416 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 10:35:41.416 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=7.99774ms] [droppedSize=0] [2025/04/04 10:35:41.416 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=7.709µs] [2025/04/04 10:35:41.417 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000745f728000000000000001] [endOfAllRanges=7480000000000000745f72800000000000000600] [startKeyOfFirstRegion=7480000000000000ff745f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7800000000000000fb] [2025/04/04 10:35:41.426 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=797c5bd4-ca63-548e-8137-62562b529a90] [size=107374182400] [kvs=0] [importedSize=262] [importedCount=6] [2025/04/04 10:35:41.428 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=16] [kv-group=data] [takeTime=47.49473ms] [] [2025/04/04 10:35:41.428 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=16] [step=ingest] [takeTime=49.125059ms] [] [2025/04/04 10:35:41.450 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=17] [step=ingest] [2025/04/04 10:35:41.452 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=17] [kv-group=1] [2025/04/04 10:35:41.452 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:41.453 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:35:41.456 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000745F698000000000000001038000000000000001038000000000000001] [endKey=7480000000000000745F69800000000000000103800000000000000603800000000000000600] [len(keys)=2] [] [2025/04/04 10:35:41.456 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:41.479 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=fccca47b-a071-5db3-9487-f6af0df82fd4] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 10:35:41.479 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:41.479 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:35:41.480 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF745F698000000000FF0000010380000000FF0000000103800000FF0000000001000000FC] [end=7480000000000000FF745F698000000000FF0000010380000000FF0000000603800000FF0000000006000000FE] [2025/04/04 10:35:41.480 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.504µs] [2025/04/04 10:35:41.480 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=711.975µs] [] [2025/04/04 10:35:41.480 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:35:41.480 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:35:41.480 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=1] [stat-file-count=1] [start-key=7480000000000000745f698000000000000001038000000000000001038000000000000001] [end-key=7480000000000000745f69800000000000000103800000000000000603800000000000000600] [2025/04/04 10:35:41.480 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:35:41.484 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.507207ms] [] [2025/04/04 10:35:41.484 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:35:41.487 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:41.488 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.222761ms] [] [2025/04/04 10:35:41.488 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 10:35:41.488 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.37486ms] [droppedSize=0] [2025/04/04 10:35:41.489 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=7.951µs] [2025/04/04 10:35:41.489 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000745f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=7480000000000000745f69800000000000000103800000000000000603800000000000000600] [startKeyOfFirstRegion=7480000000000000ff745f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ff745f698000000000ff0000010380000000ff0000000603800000ff0000000006000000fd] [2025/04/04 10:35:41.499 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=fccca47b-a071-5db3-9487-f6af0df82fd4] [size=107374182400] [kvs=0] [importedSize=228] [importedCount=6] [2025/04/04 10:35:41.500 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=17] [kv-group=1] [takeTime=48.3709ms] [] [2025/04/04 10:35:41.500 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=17] [step=ingest] [takeTime=50.086186ms] [] [2025/04/04 10:35:41.577 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=ingest] [next-step=post-process] [2025/04/04 10:35:41.579 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:41.581 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=ingest] [next-step=post-process] [2025/04/04 10:35:41.602 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=2] [curr-step=ingest] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 10:35:41.604 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=ingest] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:41.604 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:35:41.639 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [oldStep=ingest] [newStep=post-process] [2025/04/04 10:35:41.646 +00:00] [INFO] [task_executor.go:515] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=ingest] [2025/04/04 10:35:41.652 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:41.652 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:41.652 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:41.652 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:41.652 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:41.652 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:41.653 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:41.653 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:41.653 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:41.653 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:41.653 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:41.653 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:41.654 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:41.655 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:41.655 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:41.655 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:41.655 +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=431.874883ms] [] [2025/04/04 10:35:41.657 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 10:35:41.664 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=18] [step=post-process] [2025/04/04 10:35:41.664 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [2025/04/04 10:35:41.664 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [2025/04/04 10:35:41.664 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [2025/04/04 10:35:41.665 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [takeTime=2.342µs] [] [2025/04/04 10:35:41.665 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [groupId=3] [size=228] [kvs=6] [checksum=5690150982916384316] [2025/04/04 10:35:41.665 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [groupId=-1] [size=262] [kvs=6] [checksum=16467553292841115641] [2025/04/04 10:35:41.665 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [groupId=1] [size=228] [kvs=6] [checksum=5933586680183683] [2025/04/04 10:35:41.665 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [groupId=2] [size=394] [kvs=6] [checksum=1482059515352799067] [2025/04/04 10:35:41.665 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [checksum="{cksum=13761799268116354333,size=1112,kvs=24}"] [2025/04/04 10:35:41.665 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [weight=30] [2025/04/04 10:35:41.665 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [concurrency=15] [2025/04/04 10:35:41.667 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=-1] [checksum=16467553292841115641] [totalKvs=6] [totalBytes=262] [2025/04/04 10:35:41.667 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=3] [checksum=5690150982916384316] [totalKvs=6] [totalBytes=228] [2025/04/04 10:35:41.671 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=2] [checksum=1482059515352799067] [totalKvs=6] [totalBytes=394] [2025/04/04 10:35:41.672 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=1] [checksum=5933586680183683] [totalKvs=6] [totalBytes=228] [2025/04/04 10:35:41.672 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:41.672 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [local="{cksum=13761799268116354333,size=1112,kvs=24}"] [2025/04/04 10:35:41.672 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [takeTime=7.990652ms] [] [2025/04/04 10:35:41.673 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [takeTime=8.160487ms] [] [2025/04/04 10:35:41.673 +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.29552ms] [] [2025/04/04 10:35:41.736 +00:00] [WARN] [pd.go:261] ["get timestamp too slow"] ["cost time"=57.206506ms] [2025/04/04 10:35:41.739 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:41.779 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:41.779 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=2] [step=post-process] [state=running] [] [2025/04/04 10:35:41.783 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=2] [2025/04/04 10:35:41.797 +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=139.954446ms] [] [2025/04/04 10:35:41.797 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/04 10:35:41.873 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=2] [2025/04/04 10:35:41.879 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:41.879 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=2] [2025/04/04 10:35:41.881 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=2] [2025/04/04 10:35:41.882 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:41.883 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:41.974 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.897124525\n# Parse_time: 0.000211129\n# Compile_time: 0.00050505\n# Rewrite_time: 0.000101509\n# Optimize_time: 0.000414117\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('RfBEMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuOXMsIG9wZW46NjEybnMsIGNsb3NlOjc3NW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YPBMClwKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWit0aW1lOjEuOXMsIG9wZW46NjEybnMsIGNsb3NlOjc3NW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000033716\nIMPORT INTO `gsort_basic`.`t` FROM 'gs://gs-basic/t.*.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F' WITH __max_engine_size=_UTF8MB4'1', cloud_storage_uri=_UTF8MB4'gs://sorted/import?endpoint=http://127.0.0.1:4443/storage/v1/&access-key=aaaaaa&secret-access-key=bbbbbb', __force_merge_step;"] [2025/04/04 10:35:41.974 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=2] [takeTime=93.166725ms] [] [2025/04/04 10:35:42.000 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:42.013 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:119, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:35:42.013 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:42.018 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.027 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 118, Table Name: t, Old Table ID: 116, Old Table Name: t)"] [2025/04/04 10:35:42.046 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=2.483562ms] [gotSchemaVersion=59] [phyTblIDs="[116,118]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:35:42.050 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=59] [2025/04/04 10:35:42.053 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=10.901648ms] [job="ID:119, Type:truncate table, State:done, SchemaState:public, SchemaID:112, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.064 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=119] [tableIDs="[116]"] [comment="truncate table: table ID"] [2025/04/04 10:35:42.069 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=119] [jobType="truncate table"] [2025/04/04 10:35:42.069 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:truncate table, State:synced, SchemaState:public, SchemaID:112, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.089 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/04 10:35:42.089 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=59] [cur_db=gsort_basic] [sql="truncate table t"] [user=] [2025/04/04 10:35:42.095 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:42.096 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:42.113 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:42.149 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gs-basic/t.*.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"cloud_storage_uri\":\"gs://sorted/import?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"detached\":null}}"] [dist-task-enabled=true] [2025/04/04 10:35:42.171 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=3] [task-id=3] [data-size=96B] [thread-cnt=8] [global-sort=true] [2025/04/04 10:35:42.188 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=3] [2025/04/04 10:35:42.188 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:35:42.291 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=encode] [2025/04/04 10:35:42.293 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:42.295 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=encode] [2025/04/04 10:35:42.304 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:42.305 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:42.308 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:42.308 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 10:35:42.308 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=72.472µs] [2025/04/04 10:35:42.308 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=186.14µs] [] [2025/04/04 10:35:42.308 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:42.309 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:42.323 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=encode] [subtask-count=2] [2025/04/04 10:35:42.323 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=encode] [concurrency=8] [subtasks=2] [2025/04/04 10:35:42.370 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:35:42.391 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=3] [step=encode] [2025/04/04 10:35:42.392 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:42.392 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:42.401 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:42.402 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:42.402 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:42.402 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:42.402 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:42.402 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:42.402 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:42.402 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:42.403 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:42.403 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:42.405 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=3] [2025/04/04 10:35:42.416 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:42.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 10:35:42.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 10:35:42.418 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=3] [step=encode] [data-buf-limit=512MiB] [per-index-buf-limit=170.7MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:42.418 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 10:35:42.426 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=19] [step=encode] [2025/04/04 10:35:42.426 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=encode] [subtask-id=19] [2025/04/04 10:35:42.429 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/dbe791ef-a247-448e-ae6d-7d3cafe19d37] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:42.429 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a25f7612-8805-4219-acc3-e17b238b7f18] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:42.429 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/bef2f3ff-40d2-4043-8ec1-64040271b6d9] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:42.429 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/5cd92eb9-d960-4e35-ac4a-737ca0da9930] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:42.429 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f88d5159-3488-4793-91f4-90a248e8dc93] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:42.429 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/6a74f27e-3dbe-4875-a31b-03d53c13e0a4] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:42.429 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f1748161-d393-4e31-8c44-b1b185fbfd8e] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:42.429 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=118] [2025/04/04 10:35:42.431 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=118] [key=t.1.csv:0] [2025/04/04 10:35:42.447 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=118] [key=t.1.csv:0] [readDur=778.974µs] [encodeDur=409.934µs] [checksum="{cksum=1019797567031239126,size=556,kvs=12}"] [deliverDur=14.252393ms] [type=file] [takeTime=15.798225ms] [] [2025/04/04 10:35:42.456 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/19f94fa0-cef6-4fa2-8bb5-e2721c0d9574] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=8.952858ms] [write-speed(bytes/s)=19.53KiB] [2025/04/04 10:35:42.456 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/19f94fa0-cef6-4fa2-8bb5-e2721c0d9574] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=4.006µs] [write-time=9.125779ms] [sort-speed(kv/s)=748876.6850] [writer-id=data/19f94fa0-cef6-4fa2-8bb5-e2721c0d9574] [2025/04/04 10:35:42.456 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/19f94fa0-cef6-4fa2-8bb5-e2721c0d9574] [kv-cnt-cap=4] [minKey=7480000000000000765f728000000000000001] [maxKey=7480000000000000765f728000000000000003] [2025/04/04 10:35:42.465 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/19f94fa0-cef6-4fa2-8bb5-e2721c0d9574] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=9.118748ms] [write-speed(bytes/s)=17.35KiB] [2025/04/04 10:35:42.466 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/19f94fa0-cef6-4fa2-8bb5-e2721c0d9574] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.203µs] [write-time=9.248438ms] [sort-speed(kv/s)=936621.9170] [writer-id=index/3/19f94fa0-cef6-4fa2-8bb5-e2721c0d9574] [2025/04/04 10:35:42.466 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/19f94fa0-cef6-4fa2-8bb5-e2721c0d9574] [kv-cnt-cap=4] [minKey=7480000000000000765f69800000000000000303800000000000007b038000000000000001] [maxKey=7480000000000000765f698000000000000003038000000000000315038000000000000003] [2025/04/04 10:35:42.475 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/19f94fa0-cef6-4fa2-8bb5-e2721c0d9574] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=8.904935ms] [write-speed(bytes/s)=17.77KiB] [2025/04/04 10:35:42.475 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/19f94fa0-cef6-4fa2-8bb5-e2721c0d9574] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=4.198µs] [write-time=9.033929ms] [sort-speed(kv/s)=714626.0124] [writer-id=index/1/19f94fa0-cef6-4fa2-8bb5-e2721c0d9574] [2025/04/04 10:35:42.475 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/19f94fa0-cef6-4fa2-8bb5-e2721c0d9574] [kv-cnt-cap=4] [minKey=7480000000000000765f698000000000000001038000000000000001038000000000000001] [maxKey=7480000000000000765f698000000000000001038000000000000003038000000000000003] [2025/04/04 10:35:42.492 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/19f94fa0-cef6-4fa2-8bb5-e2721c0d9574] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=16.89207ms] [write-speed(bytes/s)=14.16KiB] [2025/04/04 10:35:42.492 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/19f94fa0-cef6-4fa2-8bb5-e2721c0d9574] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=4.062µs] [write-time=17.05954ms] [sort-speed(kv/s)=738552.4372] [writer-id=index/2/19f94fa0-cef6-4fa2-8bb5-e2721c0d9574] [2025/04/04 10:35:42.492 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/19f94fa0-cef6-4fa2-8bb5-e2721c0d9574] [kv-cnt-cap=4] [minKey=7480000000000000765f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [maxKey=7480000000000000765f698000000000000002016261723300000000fb038000000000000315038000000000000003] [2025/04/04 10:35:42.492 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=encode] [engine-id=0] [2025/04/04 10:35:42.499 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=encode] [subtask-id=19] [takeTime=73.06956ms] [] [2025/04/04 10:35:42.499 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=19] [step=encode] [takeTime=73.254617ms] [] [2025/04/04 10:35:42.524 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=20] [step=encode] [2025/04/04 10:35:42.524 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=encode] [subtask-id=20] [2025/04/04 10:35:42.526 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f7cc9633-f56a-4837-8d1d-592543353052] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:42.526 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/27d98e2f-23d7-483f-af50-d907d4fa5cfc] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:42.526 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e32220d2-1a89-4be9-98bc-2b712c7e02e0] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:42.526 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=118] [2025/04/04 10:35:42.526 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/d7956b71-361c-4872-a51b-8ac5634b717c] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:42.526 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a1f6af29-e13b-4ce9-b62a-43d9ebbfa777] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:42.526 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/caaca0a5-abec-44c2-93ac-e313d7f26615] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:42.526 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e735ba5e-38bb-411c-98b0-34e4f14a322f] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:42.529 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=118] [key=t.2.csv:0] [2025/04/04 10:35:42.552 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=118] [key=t.2.csv:0] [readDur=821.467µs] [encodeDur=305.225µs] [checksum="{cksum=12744263349315450059,size=556,kvs=12}"] [deliverDur=21.552046ms] [type=file] [takeTime=23.033755ms] [] [2025/04/04 10:35:42.564 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/19b1617b-0cb6-4eff-89ed-c710914604e3] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=12.274695ms] [write-speed(bytes/s)=14.24KiB] [2025/04/04 10:35:42.564 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/19b1617b-0cb6-4eff-89ed-c710914604e3] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=13.225µs] [write-time=12.437969ms] [sort-speed(kv/s)=226843.1002] [writer-id=data/19b1617b-0cb6-4eff-89ed-c710914604e3] [2025/04/04 10:35:42.565 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/19b1617b-0cb6-4eff-89ed-c710914604e3] [kv-cnt-cap=4] [minKey=7480000000000000765f728000000000000004] [maxKey=7480000000000000765f728000000000000006] [2025/04/04 10:35:42.576 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/19b1617b-0cb6-4eff-89ed-c710914604e3] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=11.148993ms] [write-speed(bytes/s)=14.19KiB] [2025/04/04 10:35:42.576 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/19b1617b-0cb6-4eff-89ed-c710914604e3] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=4.052µs] [write-time=11.274794ms] [sort-speed(kv/s)=740375.1234] [writer-id=index/1/19b1617b-0cb6-4eff-89ed-c710914604e3] [2025/04/04 10:35:42.576 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/19b1617b-0cb6-4eff-89ed-c710914604e3] [kv-cnt-cap=4] [minKey=7480000000000000765f698000000000000001038000000000000004038000000000000004] [maxKey=7480000000000000765f698000000000000001038000000000000006038000000000000006] [2025/04/04 10:35:42.587 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/19b1617b-0cb6-4eff-89ed-c710914604e3] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=11.085382ms] [write-speed(bytes/s)=21.58KiB] [2025/04/04 10:35:42.587 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/19b1617b-0cb6-4eff-89ed-c710914604e3] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=4.232µs] [write-time=11.225207ms] [sort-speed(kv/s)=708884.6881] [writer-id=index/2/19b1617b-0cb6-4eff-89ed-c710914604e3] [2025/04/04 10:35:42.587 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/19b1617b-0cb6-4eff-89ed-c710914604e3] [kv-cnt-cap=4] [minKey=7480000000000000765f698000000000000002016261723400000000fb03800000000000007b038000000000000004] [maxKey=7480000000000000765f698000000000000002016261723600000000fb038000000000000143038000000000000006] [2025/04/04 10:35:42.598 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/19b1617b-0cb6-4eff-89ed-c710914604e3] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=10.234854ms] [write-speed(bytes/s)=15.46KiB] [2025/04/04 10:35:42.598 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/19b1617b-0cb6-4eff-89ed-c710914604e3] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.824µs] [write-time=10.377843ms] [sort-speed(kv/s)=784518.8285] [writer-id=index/3/19b1617b-0cb6-4eff-89ed-c710914604e3] [2025/04/04 10:35:42.598 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/19b1617b-0cb6-4eff-89ed-c710914604e3] [kv-cnt-cap=4] [minKey=7480000000000000765f69800000000000000303800000000000007b038000000000000004] [maxKey=7480000000000000765f698000000000000003038000000000000143038000000000000006] [2025/04/04 10:35:42.598 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=encode] [engine-id=1] [2025/04/04 10:35:42.605 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=encode] [subtask-id=20] [takeTime=81.522037ms] [] [2025/04/04 10:35:42.606 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=20] [step=encode] [takeTime=82.096655ms] [] [2025/04/04 10:35:42.697 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=encode] [next-step=merge-sort] [2025/04/04 10:35:42.699 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:42.701 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=encode] [next-step=merge-sort] [2025/04/04 10:35:42.708 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:42.710 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:42.714 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=3] [kv-group=2] [2025/04/04 10:35:42.715 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=3] [kv-group=3] [2025/04/04 10:35:42.715 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=3] [kv-group=data] [2025/04/04 10:35:42.715 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=3] [kv-group=1] [2025/04/04 10:35:42.715 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:42.716 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:42.719 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=encode] [next-step=merge-sort] [subtask-count=0] [2025/04/04 10:35:42.719 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=merge-sort] [concurrency=8] [subtasks=0] [2025/04/04 10:35:42.759 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:35:42.759 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=3] [step=encode] [2025/04/04 10:35:42.760 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:42.760 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:42.760 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:42.760 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:42.760 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:42.760 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:42.760 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:42.760 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:42.760 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:42.760 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-14] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:42.760 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:42.760 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:42.763 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:42.763 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:42.763 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:42.763 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:42.763 +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=344.86978ms] [] [2025/04/04 10:35:42.764 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/04 10:35:42.796 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=merge-sort] [next-step=ingest] [2025/04/04 10:35:42.799 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:42.802 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=merge-sort] [next-step=ingest] [2025/04/04 10:35:42.802 +00:00] [WARN] [scheduler.go:486] ["generate part of subtasks failed"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [error="injected error"] [errorVerbose="injected error\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:298\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:42.802 +00:00] [WARN] [scheduler.go:571] ["generate plan failed"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [error="injected error"] [errorVerbose="injected error\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:298\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [state=running] [2025/04/04 10:35:42.896 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=3] [step=merge-sort] [state=reverting] [error="injected error"] [errorVerbose="injected error\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:298\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:42.901 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=3] [2025/04/04 10:35:42.992 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2025/04/04 10:35:43.001 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:43.001 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=3] [2025/04/04 10:35:43.003 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=3] [2025/04/04 10:35:43.003 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:43.004 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:43.050 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=3] [takeTime=46.671795ms] [] [2025/04/04 10:35:43.074 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] --- PASS: TestImportInto/TestGlobalSortBasic (5.71s) === NAME TestImportInto === RUN TestImportInto/TestGlobalSortMultiFiles [2025/04/04 10:35:43.159 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=59] [cur_db=gsort_basic] [sql="drop database if exists gs_multi_files"] [user=] [2025/04/04 10:35:43.171 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:create schema, State:queueing, SchemaState:none, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:43.171 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:121, Type:create schema, State:queueing, SchemaState:none, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database gs_multi_files"] [2025/04/04 10:35:43.177 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=121] [conn=2] [job="ID:121, Type:create schema, State:queueing, SchemaState:none, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.191 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=711.616µs] [gotSchemaVersion=60] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:43.195 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=121] [version=60] [2025/04/04 10:35:43.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=60] ["take time"=8.174151ms] [job="ID:121, Type:create schema, State:done, SchemaState:public, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.208 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=121] [conn=2] [job="ID:121, Type:create schema, State:synced, SchemaState:public, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.218 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=121] [2025/04/04 10:35:43.218 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=60] [cur_db=gsort_basic] [sql="create database gs_multi_files"] [user=] [2025/04/04 10:35:43.232 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:create table, State:queueing, SchemaState:none, SchemaID:120, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:43.232 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:123, Type:create table, State:queueing, SchemaState:none, SchemaID:120, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key , b varchar(100), key(b), key(a,b), key(b,a));"] [2025/04/04 10:35:43.238 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:create table, State:queueing, SchemaState:none, SchemaID:120, TableID:122, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.243 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 122, Table Name: t)"] [2025/04/04 10:35:43.262 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=2.098679ms] [gotSchemaVersion=61] [phyTblIDs="[122]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:43.265 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=61] [2025/04/04 10:35:43.267 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=9.319405ms] [job="ID:123, Type:create table, State:done, SchemaState:public, SchemaID:120, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.278 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:create table, State:synced, SchemaState:public, SchemaID:120, TableID:122, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.291 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=123] [2025/04/04 10:35:43.291 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=61] [cur_db=gs_multi_files] [sql="create table t (a bigint primary key , b varchar(100), key(b), key(a,b), key(b,a));"] [user=] [2025/04/04 10:35:43.298 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:43.299 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:43.316 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:43.351 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gs-multi-files/t.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"cloud_storage_uri\":\"gs://sorted/gs_multi_files?endpoint=http://127.0.0.1:4443/storage/v1/\"}}"] [dist-task-enabled=true] [2025/04/04 10:35:43.374 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=4] [task-id=4] [data-size=144.3KiB] [thread-cnt=8] [global-sort=true] [2025/04/04 10:35:43.388 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=4] [2025/04/04 10:35:43.388 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:35:43.491 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=encode] [2025/04/04 10:35:43.492 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:43.494 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=encode] [2025/04/04 10:35:43.503 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:43.504 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:43.508 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:43.508 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=147780] [2025/04/04 10:35:43.508 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=10] [MaxChunkSize=268435456] [RegionsCount=10] [BatchSize=147780] [cost=196.853µs] [2025/04/04 10:35:43.508 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=380.843µs] [] [2025/04/04 10:35:43.509 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:43.510 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:43.520 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=encode] [subtask-count=1] [2025/04/04 10:35:43.520 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=encode] [concurrency=8] [subtasks=1] [2025/04/04 10:35:43.558 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:35:43.579 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=4] [step=encode] [2025/04/04 10:35:43.579 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:43.580 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:43.588 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:43.588 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:43.588 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:43.588 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:43.589 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:43.589 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:43.589 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:43.589 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:43.589 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:43.589 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:43.603 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:43.604 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=4] [2025/04/04 10:35:43.605 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:43.605 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 10:35:43.605 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=4] [step=encode] [data-buf-limit=512MiB] [per-index-buf-limit=170.7MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:43.605 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 10:35:43.613 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=21] [step=encode] [2025/04/04 10:35:43.613 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=4] [step=encode] [subtask-id=21] [2025/04/04 10:35:43.616 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:35:43.616 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:35:43.616 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:35:43.616 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:35:43.616 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:35:43.616 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:35:43.616 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:35:43.616 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:35:43.619 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.3.csv:0] [2025/04/04 10:35:43.619 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.2.csv:0] [2025/04/04 10:35:43.619 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.0.csv:0] [2025/04/04 10:35:43.619 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.7.csv:0] [2025/04/04 10:35:43.619 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.1.csv:0] [2025/04/04 10:35:43.619 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.6.csv:0] [2025/04/04 10:35:43.619 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.4.csv:0] [2025/04/04 10:35:43.619 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.5.csv:0] [2025/04/04 10:35:43.725 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.6.csv:0] [readDur=9.149897ms] [encodeDur=77.220898ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=41.034222ms] [type=file] [takeTime=105.659697ms] [] [2025/04/04 10:35:43.725 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:35:43.728 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.8.csv:0] [2025/04/04 10:35:43.729 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.1.csv:0] [readDur=9.297058ms] [encodeDur=78.219261ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=60.341348ms] [type=file] [takeTime=109.814085ms] [] [2025/04/04 10:35:43.729 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:35:43.729 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.0.csv:0] [readDur=9.194923ms] [encodeDur=80.817374ms] [checksum="{cksum=10408207814181128213,size=255604,kvs=4000}"] [deliverDur=26.257176ms] [type=file] [takeTime=110.191211ms] [] [2025/04/04 10:35:43.730 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.2.csv:0] [readDur=9.204503ms] [encodeDur=79.193935ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=35.157803ms] [type=file] [takeTime=111.135166ms] [] [2025/04/04 10:35:43.732 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.9.csv:0] [2025/04/04 10:35:43.735 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.5.csv:0] [readDur=9.398078ms] [encodeDur=80.98936ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=36.2776ms] [type=file] [takeTime=116.094448ms] [] [2025/04/04 10:35:43.782 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.3.csv:0] [readDur=9.180183ms] [encodeDur=89.741425ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=98.072369ms] [type=file] [takeTime=163.284325ms] [] [2025/04/04 10:35:43.791 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.4.csv:0] [readDur=9.592151ms] [encodeDur=81.097672ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=128.042826ms] [type=file] [takeTime=172.065839ms] [] [2025/04/04 10:35:43.848 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.7.csv:0] [readDur=9.400553ms] [encodeDur=78.43238ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=184.170977ms] [type=file] [takeTime=228.911716ms] [] [2025/04/04 10:35:43.849 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/18d4aecd-3b55-4701-bdfb-8b96afff21a8] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=113.316343ms] [write-speed(bytes/s)=456.8KiB] [2025/04/04 10:35:43.850 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/18d4aecd-3b55-4701-bdfb-8b96afff21a8] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=484.529µs] [write-time=113.44041ms] [sort-speed(kv/s)=2063859.9547] [writer-id=data/18d4aecd-3b55-4701-bdfb-8b96afff21a8] [2025/04/04 10:35:43.850 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/18d4aecd-3b55-4701-bdfb-8b96afff21a8] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000001388] [maxKey=74800000000000007a5f72800000000000176f] [2025/04/04 10:35:43.854 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/43e05d7c-6a7b-4bd1-a67b-cd4d327c90d7] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=71.679598ms] [write-speed(bytes/s)=722.1KiB] [2025/04/04 10:35:43.854 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/43e05d7c-6a7b-4bd1-a67b-cd4d327c90d7] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=341.648µs] [write-time=71.798073ms] [sort-speed(kv/s)=2926989.1818] [writer-id=data/43e05d7c-6a7b-4bd1-a67b-cd4d327c90d7] [2025/04/04 10:35:43.855 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/43e05d7c-6a7b-4bd1-a67b-cd4d327c90d7] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000000bb8] [maxKey=74800000000000007a5f728000000000000f9f] [2025/04/04 10:35:43.860 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.9.csv:0] [readDur=8.225395ms] [encodeDur=106.844405ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=5.875683ms] [type=file] [takeTime=127.806029ms] [] [2025/04/04 10:35:43.886 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/113b5c7a-ab24-4a68-9eaa-56995a40f2a6] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=155.146731ms] [write-speed(bytes/s)=333.6KiB] [2025/04/04 10:35:43.886 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/113b5c7a-ab24-4a68-9eaa-56995a40f2a6] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=343.76µs] [write-time=155.269659ms] [sort-speed(kv/s)=2909006.2835] [writer-id=data/113b5c7a-ab24-4a68-9eaa-56995a40f2a6] [2025/04/04 10:35:43.886 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/113b5c7a-ab24-4a68-9eaa-56995a40f2a6] [kv-cnt-cap=1365] [minKey=74800000000000007a5f7280000000000007d0] [maxKey=74800000000000007a5f728000000000000bb7] [2025/04/04 10:35:43.895 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.8.csv:0] [readDur=14.733589ms] [encodeDur=137.53744ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=5.21591ms] [type=file] [takeTime=166.625863ms] [] [2025/04/04 10:35:43.895 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/dff131b5-307e-46bc-9fbf-a4d2684db0f1] [sequence-number=0] [bytes=51890] [stat-size=74] [write-time=165.594991ms] [write-speed(bytes/s)=306KiB] [2025/04/04 10:35:43.895 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/dff131b5-307e-46bc-9fbf-a4d2684db0f1] [sequence-number=0] [bytes=51890] [kv-cnt=1000] [sort-time=354.17µs] [write-time=165.736387ms] [sort-speed(kv/s)=2823502.8376] [writer-id=data/dff131b5-307e-46bc-9fbf-a4d2684db0f1] [2025/04/04 10:35:43.895 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/dff131b5-307e-46bc-9fbf-a4d2684db0f1] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000000000] [maxKey=74800000000000007a5f7280000000000003e7] [2025/04/04 10:35:43.897 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/87f37e97-4d23-4d09-999e-449b034dd32f] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=49.098221ms] [write-speed(bytes/s)=1.029MiB] [2025/04/04 10:35:43.898 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/87f37e97-4d23-4d09-999e-449b034dd32f] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=338.528µs] [write-time=49.217179ms] [sort-speed(kv/s)=2953965.4032] [writer-id=data/87f37e97-4d23-4d09-999e-449b034dd32f] [2025/04/04 10:35:43.898 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/87f37e97-4d23-4d09-999e-449b034dd32f] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000001b58] [maxKey=74800000000000007a5f728000000000001f3f] [2025/04/04 10:35:43.899 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/62cd6aa2-5d7d-437a-a82d-fb0c1fd5cf4a] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=107.412411ms] [write-speed(bytes/s)=481.9KiB] [2025/04/04 10:35:43.899 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/62cd6aa2-5d7d-437a-a82d-fb0c1fd5cf4a] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=344.6µs] [write-time=107.563171ms] [sort-speed(kv/s)=2901915.2641] [writer-id=data/62cd6aa2-5d7d-437a-a82d-fb0c1fd5cf4a] [2025/04/04 10:35:43.899 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/62cd6aa2-5d7d-437a-a82d-fb0c1fd5cf4a] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000000fa0] [maxKey=74800000000000007a5f728000000000001387] [2025/04/04 10:35:43.926 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/18d4aecd-3b55-4701-bdfb-8b96afff21a8] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=75.68536ms] [write-speed(bytes/s)=1.21MiB] [2025/04/04 10:35:43.926 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/18d4aecd-3b55-4701-bdfb-8b96afff21a8] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=382.625µs] [write-time=75.851222ms] [sort-speed(kv/s)=2613524.9918] [writer-id=index/3/18d4aecd-3b55-4701-bdfb-8b96afff21a8] [2025/04/04 10:35:43.926 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/18d4aecd-3b55-4701-bdfb-8b96afff21a8] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d353030ff3000000000000000f8038000000000001388038000000000001388] [maxKey=74800000000000007a5f69800000000000000301746573742d353939ff3900000000000000f803800000000000176f03800000000000176f] [2025/04/04 10:35:43.927 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/87f37e97-4d23-4d09-999e-449b034dd32f] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=28.504764ms] [write-speed(bytes/s)=3.212MiB] [2025/04/04 10:35:43.928 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/87f37e97-4d23-4d09-999e-449b034dd32f] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=376.976µs] [write-time=29.907222ms] [sort-speed(kv/s)=2652688.7653] [writer-id=index/2/87f37e97-4d23-4d09-999e-449b034dd32f] [2025/04/04 10:35:43.928 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/87f37e97-4d23-4d09-999e-449b034dd32f] [kv-cnt-cap=1365] [minKey=74800000000000007a5f698000000000000002038000000000001b5801746573742d373030ff3000000000000000f8038000000000001b58] [maxKey=74800000000000007a5f698000000000000002038000000000001f3f01746573742d373939ff3900000000000000f8038000000000001f3f] [2025/04/04 10:35:43.937 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/172d4c2f-d856-452d-ba48-8a4140f4662d] [sequence-number=0] [bytes=106000] [stat-size=74] [write-time=41.366132ms] [write-speed(bytes/s)=2.444MiB] [2025/04/04 10:35:43.937 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/172d4c2f-d856-452d-ba48-8a4140f4662d] [sequence-number=0] [bytes=106000] [kv-cnt=2000] [sort-time=738.39µs] [write-time=41.52845ms] [sort-speed(kv/s)=2708595.7285] [writer-id=data/172d4c2f-d856-452d-ba48-8a4140f4662d] [2025/04/04 10:35:43.937 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/172d4c2f-d856-452d-ba48-8a4140f4662d] [kv-cnt-cap=2048] [minKey=74800000000000007a5f728000000000001770] [maxKey=74800000000000007a5f728000000000002327] [2025/04/04 10:35:43.939 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/43e05d7c-6a7b-4bd1-a67b-cd4d327c90d7] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=83.654308ms] [write-speed(bytes/s)=957.3KiB] [2025/04/04 10:35:43.939 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/43e05d7c-6a7b-4bd1-a67b-cd4d327c90d7] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=327.271µs] [write-time=83.771144ms] [sort-speed(kv/s)=3055571.6822] [writer-id=index/1/43e05d7c-6a7b-4bd1-a67b-cd4d327c90d7] [2025/04/04 10:35:43.939 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/43e05d7c-6a7b-4bd1-a67b-cd4d327c90d7] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d333030ff3000000000000000f8038000000000000bb8] [maxKey=74800000000000007a5f69800000000000000101746573742d333939ff3900000000000000f8038000000000000f9f] [2025/04/04 10:35:43.947 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/18d4aecd-3b55-4701-bdfb-8b96afff21a8] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=19.014068ms] [write-speed(bytes/s)=4.113MiB] [2025/04/04 10:35:43.947 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/18d4aecd-3b55-4701-bdfb-8b96afff21a8] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=1.846382ms] [write-time=19.130257ms] [sort-speed(kv/s)=541599.7340] [writer-id=index/1/18d4aecd-3b55-4701-bdfb-8b96afff21a8] [2025/04/04 10:35:43.947 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/18d4aecd-3b55-4701-bdfb-8b96afff21a8] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d353030ff3000000000000000f8038000000000001388] [maxKey=74800000000000007a5f69800000000000000101746573742d353939ff3900000000000000f803800000000000176f] [2025/04/04 10:35:43.948 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/87f37e97-4d23-4d09-999e-449b034dd32f] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=19.053183ms] [write-speed(bytes/s)=4.805MiB] [2025/04/04 10:35:43.948 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/87f37e97-4d23-4d09-999e-449b034dd32f] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=364.297µs] [write-time=19.167406ms] [sort-speed(kv/s)=2745012.9976] [writer-id=index/3/87f37e97-4d23-4d09-999e-449b034dd32f] [2025/04/04 10:35:43.948 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/87f37e97-4d23-4d09-999e-449b034dd32f] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d373030ff3000000000000000f8038000000000001b58038000000000001b58] [maxKey=74800000000000007a5f69800000000000000301746573742d373939ff3900000000000000f8038000000000001f3f038000000000001f3f] [2025/04/04 10:35:43.949 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/fbb36389-9b8c-4597-9c55-e7f1af521058] [sequence-number=0] [bytes=106000] [stat-size=74] [write-time=88.128114ms] [write-speed(bytes/s)=1.147MiB] [2025/04/04 10:35:43.949 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/fbb36389-9b8c-4597-9c55-e7f1af521058] [sequence-number=0] [bytes=106000] [kv-cnt=2000] [sort-time=666.479µs] [write-time=88.242193ms] [sort-speed(kv/s)=3000844.7378] [writer-id=data/fbb36389-9b8c-4597-9c55-e7f1af521058] [2025/04/04 10:35:43.949 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fbb36389-9b8c-4597-9c55-e7f1af521058] [kv-cnt-cap=2048] [minKey=74800000000000007a5f7280000000000003e8] [maxKey=74800000000000007a5f72800000000000270f] [2025/04/04 10:35:43.958 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/62cd6aa2-5d7d-437a-a82d-fb0c1fd5cf4a] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=58.253663ms] [write-speed(bytes/s)=1.572MiB] [2025/04/04 10:35:43.959 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/62cd6aa2-5d7d-437a-a82d-fb0c1fd5cf4a] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=753.731µs] [write-time=58.427306ms] [sort-speed(kv/s)=1326733.2775] [writer-id=index/3/62cd6aa2-5d7d-437a-a82d-fb0c1fd5cf4a] [2025/04/04 10:35:43.959 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/62cd6aa2-5d7d-437a-a82d-fb0c1fd5cf4a] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d343030ff3000000000000000f8038000000000000fa0038000000000000fa0] [maxKey=74800000000000007a5f69800000000000000301746573742d343939ff3900000000000000f8038000000000001387038000000000001387] [2025/04/04 10:35:43.959 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/dff131b5-307e-46bc-9fbf-a4d2684db0f1] [sequence-number=0] [bytes=79990] [stat-size=121] [write-time=57.316817ms] [write-speed(bytes/s)=1.331MiB] [2025/04/04 10:35:43.959 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/dff131b5-307e-46bc-9fbf-a4d2684db0f1] [sequence-number=0] [bytes=79990] [kv-cnt=1000] [sort-time=6.414315ms] [write-time=57.458495ms] [sort-speed(kv/s)=155901.2927] [writer-id=index/1/dff131b5-307e-46bc-9fbf-a4d2684db0f1] [2025/04/04 10:35:43.960 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/dff131b5-307e-46bc-9fbf-a4d2684db0f1] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d300000fd038000000000000000] [maxKey=74800000000000007a5f69800000000000000101746573742d393939ff0000000000000000f70380000000000003e7] [2025/04/04 10:35:43.961 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/113b5c7a-ab24-4a68-9eaa-56995a40f2a6] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=74.226724ms] [write-speed(bytes/s)=1.054MiB] [2025/04/04 10:35:43.961 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/113b5c7a-ab24-4a68-9eaa-56995a40f2a6] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=312.378µs] [write-time=74.39462ms] [sort-speed(kv/s)=3201249.7679] [writer-id=index/1/113b5c7a-ab24-4a68-9eaa-56995a40f2a6] [2025/04/04 10:35:43.961 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/113b5c7a-ab24-4a68-9eaa-56995a40f2a6] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d323030ff3000000000000000f80380000000000007d0] [maxKey=74800000000000007a5f69800000000000000101746573742d323939ff3900000000000000f8038000000000000bb7] [2025/04/04 10:35:43.970 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/43e05d7c-6a7b-4bd1-a67b-cd4d327c90d7] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=30.59468ms] [write-speed(bytes/s)=2.992MiB] [2025/04/04 10:35:43.970 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/43e05d7c-6a7b-4bd1-a67b-cd4d327c90d7] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=362.555µs] [write-time=30.730942ms] [sort-speed(kv/s)=2758202.2038] [writer-id=index/2/43e05d7c-6a7b-4bd1-a67b-cd4d327c90d7] [2025/04/04 10:35:43.970 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/43e05d7c-6a7b-4bd1-a67b-cd4d327c90d7] [kv-cnt-cap=1365] [minKey=74800000000000007a5f698000000000000002038000000000000bb801746573742d333030ff3000000000000000f8038000000000000bb8] [maxKey=74800000000000007a5f698000000000000002038000000000000f9f01746573742d333939ff3900000000000000f8038000000000000f9f] [2025/04/04 10:35:43.971 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/18d4aecd-3b55-4701-bdfb-8b96afff21a8] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=23.067569ms] [write-speed(bytes/s)=3.969MiB] [2025/04/04 10:35:43.971 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/18d4aecd-3b55-4701-bdfb-8b96afff21a8] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=361.034µs] [write-time=23.423048ms] [sort-speed(kv/s)=2769822.2328] [writer-id=index/2/18d4aecd-3b55-4701-bdfb-8b96afff21a8] [2025/04/04 10:35:43.971 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/18d4aecd-3b55-4701-bdfb-8b96afff21a8] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000203800000000000138801746573742d353030ff3000000000000000f8038000000000001388] [maxKey=74800000000000007a5f69800000000000000203800000000000176f01746573742d353939ff3900000000000000f803800000000000176f] [2025/04/04 10:35:43.972 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/172d4c2f-d856-452d-ba48-8a4140f4662d] [sequence-number=0] [bytes=192000] [stat-size=148] [write-time=33.550123ms] [write-speed(bytes/s)=5.458MiB] [2025/04/04 10:35:43.972 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/172d4c2f-d856-452d-ba48-8a4140f4662d] [sequence-number=0] [bytes=192000] [kv-cnt=2000] [sort-time=667.824µs] [write-time=33.675658ms] [sort-speed(kv/s)=2994801.0254] [writer-id=index/2/172d4c2f-d856-452d-ba48-8a4140f4662d] [2025/04/04 10:35:43.972 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/172d4c2f-d856-452d-ba48-8a4140f4662d] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000203800000000000177001746573742d363030ff3000000000000000f8038000000000001770] [maxKey=74800000000000007a5f69800000000000000203800000000000232701746573742d383939ff3900000000000000f8038000000000002327] [2025/04/04 10:35:43.973 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/87f37e97-4d23-4d09-999e-449b034dd32f] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=24.128198ms] [write-speed(bytes/s)=3.241MiB] [2025/04/04 10:35:43.973 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/87f37e97-4d23-4d09-999e-449b034dd32f] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=367.957µs] [write-time=24.228945ms] [sort-speed(kv/s)=2717708.8627] [writer-id=index/1/87f37e97-4d23-4d09-999e-449b034dd32f] [2025/04/04 10:35:43.977 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/87f37e97-4d23-4d09-999e-449b034dd32f] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d373030ff3000000000000000f8038000000000001b58] [maxKey=74800000000000007a5f69800000000000000101746573742d373939ff3900000000000000f8038000000000001f3f] [2025/04/04 10:35:43.990 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/fbb36389-9b8c-4597-9c55-e7f1af521058] [sequence-number=0] [bytes=164000] [stat-size=130] [write-time=40.526882ms] [write-speed(bytes/s)=3.859MiB] [2025/04/04 10:35:43.990 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/fbb36389-9b8c-4597-9c55-e7f1af521058] [sequence-number=0] [bytes=164000] [kv-cnt=2000] [sort-time=799.486µs] [write-time=40.653334ms] [sort-speed(kv/s)=2501607.2827] [writer-id=index/1/fbb36389-9b8c-4597-9c55-e7f1af521058] [2025/04/04 10:35:43.990 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/fbb36389-9b8c-4597-9c55-e7f1af521058] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000101746573742d313030ff3000000000000000f80380000000000003e8] [maxKey=74800000000000007a5f69800000000000000101746573742d393939ff3900000000000000f803800000000000270f] [2025/04/04 10:35:43.992 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/dff131b5-307e-46bc-9fbf-a4d2684db0f1] [sequence-number=0] [bytes=93862] [stat-size=139] [write-time=31.728868ms] [write-speed(bytes/s)=2.821MiB] [2025/04/04 10:35:43.992 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/dff131b5-307e-46bc-9fbf-a4d2684db0f1] [sequence-number=0] [bytes=93862] [kv-cnt=1000] [sort-time=393.228µs] [write-time=31.854178ms] [sort-speed(kv/s)=2543053.9026] [writer-id=index/2/dff131b5-307e-46bc-9fbf-a4d2684db0f1] [2025/04/04 10:35:43.992 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/dff131b5-307e-46bc-9fbf-a4d2684db0f1] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000203800000000000000001746573742d300000fd038000000000000000] [maxKey=74800000000000007a5f6980000000000000020380000000000003e701746573742d393939ff0000000000000000f70380000000000003e7] [2025/04/04 10:35:43.992 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/62cd6aa2-5d7d-437a-a82d-fb0c1fd5cf4a] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=33.291052ms] [write-speed(bytes/s)=2.349MiB] [2025/04/04 10:35:43.993 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/62cd6aa2-5d7d-437a-a82d-fb0c1fd5cf4a] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=346.522µs] [write-time=33.427834ms] [sort-speed(kv/s)=2885819.6594] [writer-id=index/1/62cd6aa2-5d7d-437a-a82d-fb0c1fd5cf4a] [2025/04/04 10:35:43.993 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/62cd6aa2-5d7d-437a-a82d-fb0c1fd5cf4a] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d343030ff3000000000000000f8038000000000000fa0] [maxKey=74800000000000007a5f69800000000000000101746573742d343939ff3900000000000000f8038000000000001387] [2025/04/04 10:35:43.996 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/113b5c7a-ab24-4a68-9eaa-56995a40f2a6] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=34.344027ms] [write-speed(bytes/s)=2.666MiB] [2025/04/04 10:35:43.996 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/113b5c7a-ab24-4a68-9eaa-56995a40f2a6] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=557.388µs] [write-time=34.461935ms] [sort-speed(kv/s)=1794082.3986] [writer-id=index/2/113b5c7a-ab24-4a68-9eaa-56995a40f2a6] [2025/04/04 10:35:43.996 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/113b5c7a-ab24-4a68-9eaa-56995a40f2a6] [kv-cnt-cap=1365] [minKey=74800000000000007a5f6980000000000000020380000000000007d001746573742d323030ff3000000000000000f80380000000000007d0] [maxKey=74800000000000007a5f698000000000000002038000000000000bb701746573742d323939ff3900000000000000f8038000000000000bb7] [2025/04/04 10:35:43.998 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/43e05d7c-6a7b-4bd1-a67b-cd4d327c90d7] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=27.217143ms] [write-speed(bytes/s)=3.364MiB] [2025/04/04 10:35:43.998 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/43e05d7c-6a7b-4bd1-a67b-cd4d327c90d7] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=373.035µs] [write-time=27.332474ms] [sort-speed(kv/s)=2680713.6060] [writer-id=index/3/43e05d7c-6a7b-4bd1-a67b-cd4d327c90d7] [2025/04/04 10:35:43.998 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/43e05d7c-6a7b-4bd1-a67b-cd4d327c90d7] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d333030ff3000000000000000f8038000000000000bb8038000000000000bb8] [maxKey=74800000000000007a5f69800000000000000301746573742d333939ff3900000000000000f8038000000000000f9f038000000000000f9f] [2025/04/04 10:35:44.008 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/172d4c2f-d856-452d-ba48-8a4140f4662d] [sequence-number=0] [bytes=192000] [stat-size=148] [write-time=35.850316ms] [write-speed(bytes/s)=5.107MiB] [2025/04/04 10:35:44.008 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/172d4c2f-d856-452d-ba48-8a4140f4662d] [sequence-number=0] [bytes=192000] [kv-cnt=2000] [sort-time=670.733µs] [write-time=35.975137ms] [sort-speed(kv/s)=2981812.4351] [writer-id=index/3/172d4c2f-d856-452d-ba48-8a4140f4662d] [2025/04/04 10:35:44.009 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/172d4c2f-d856-452d-ba48-8a4140f4662d] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000301746573742d363030ff3000000000000000f8038000000000001770038000000000001770] [maxKey=74800000000000007a5f69800000000000000301746573742d383939ff3900000000000000f8038000000000002327038000000000002327] [2025/04/04 10:35:44.014 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/62cd6aa2-5d7d-437a-a82d-fb0c1fd5cf4a] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=20.748074ms] [write-speed(bytes/s)=4.413MiB] [2025/04/04 10:35:44.014 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/62cd6aa2-5d7d-437a-a82d-fb0c1fd5cf4a] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=410.692µs] [write-time=20.872684ms] [sort-speed(kv/s)=2434914.7293] [writer-id=index/2/62cd6aa2-5d7d-437a-a82d-fb0c1fd5cf4a] [2025/04/04 10:35:44.014 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/62cd6aa2-5d7d-437a-a82d-fb0c1fd5cf4a] [kv-cnt-cap=1365] [minKey=74800000000000007a5f698000000000000002038000000000000fa001746573742d343030ff3000000000000000f8038000000000000fa0] [maxKey=74800000000000007a5f69800000000000000203800000000000138701746573742d343939ff3900000000000000f8038000000000001387] [2025/04/04 10:35:44.019 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/dff131b5-307e-46bc-9fbf-a4d2684db0f1] [sequence-number=0] [bytes=93862] [stat-size=139] [write-time=22.195353ms] [write-speed(bytes/s)=4.033MiB] [2025/04/04 10:35:44.019 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/dff131b5-307e-46bc-9fbf-a4d2684db0f1] [sequence-number=0] [bytes=93862] [kv-cnt=1000] [sort-time=4.254826ms] [write-time=22.310279ms] [sort-speed(kv/s)=235027.2373] [writer-id=index/3/dff131b5-307e-46bc-9fbf-a4d2684db0f1] [2025/04/04 10:35:44.019 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/dff131b5-307e-46bc-9fbf-a4d2684db0f1] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d300000fd038000000000000000038000000000000000] [maxKey=74800000000000007a5f69800000000000000301746573742d393939ff0000000000000000f70380000000000003e70380000000000003e7] [2025/04/04 10:35:44.020 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/113b5c7a-ab24-4a68-9eaa-56995a40f2a6] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=23.016899ms] [write-speed(bytes/s)=3.978MiB] [2025/04/04 10:35:44.020 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/113b5c7a-ab24-4a68-9eaa-56995a40f2a6] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=353.726µs] [write-time=23.128452ms] [sort-speed(kv/s)=2827046.9233] [writer-id=index/3/113b5c7a-ab24-4a68-9eaa-56995a40f2a6] [2025/04/04 10:35:44.020 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/113b5c7a-ab24-4a68-9eaa-56995a40f2a6] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d323030ff3000000000000000f80380000000000007d00380000000000007d0] [maxKey=74800000000000007a5f69800000000000000301746573742d323939ff3900000000000000f8038000000000000bb7038000000000000bb7] [2025/04/04 10:35:44.021 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/fbb36389-9b8c-4597-9c55-e7f1af521058] [sequence-number=0] [bytes=192000] [stat-size=148] [write-time=29.705763ms] [write-speed(bytes/s)=6.164MiB] [2025/04/04 10:35:44.021 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/fbb36389-9b8c-4597-9c55-e7f1af521058] [sequence-number=0] [bytes=192000] [kv-cnt=2000] [sort-time=681.311µs] [write-time=29.79347ms] [sort-speed(kv/s)=2935516.9666] [writer-id=index/2/fbb36389-9b8c-4597-9c55-e7f1af521058] [2025/04/04 10:35:44.021 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/fbb36389-9b8c-4597-9c55-e7f1af521058] [kv-cnt-cap=2048] [minKey=74800000000000007a5f6980000000000000020380000000000003e801746573742d313030ff3000000000000000f80380000000000003e8] [maxKey=74800000000000007a5f69800000000000000203800000000000270f01746573742d393939ff3900000000000000f803800000000000270f] [2025/04/04 10:35:44.031 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/172d4c2f-d856-452d-ba48-8a4140f4662d] [sequence-number=0] [bytes=164000] [stat-size=130] [write-time=21.906507ms] [write-speed(bytes/s)=7.14MiB] [2025/04/04 10:35:44.031 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/172d4c2f-d856-452d-ba48-8a4140f4662d] [sequence-number=0] [bytes=164000] [kv-cnt=2000] [sort-time=757.681µs] [write-time=22.03426ms] [sort-speed(kv/s)=2639633.3021] [writer-id=index/1/172d4c2f-d856-452d-ba48-8a4140f4662d] [2025/04/04 10:35:44.032 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/172d4c2f-d856-452d-ba48-8a4140f4662d] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000101746573742d363030ff3000000000000000f8038000000000001770] [maxKey=74800000000000007a5f69800000000000000101746573742d383939ff3900000000000000f8038000000000002327] [2025/04/04 10:35:44.046 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/fbb36389-9b8c-4597-9c55-e7f1af521058] [sequence-number=0] [bytes=192000] [stat-size=148] [write-time=23.967134ms] [write-speed(bytes/s)=7.64MiB] [2025/04/04 10:35:44.046 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/fbb36389-9b8c-4597-9c55-e7f1af521058] [sequence-number=0] [bytes=192000] [kv-cnt=2000] [sort-time=638.552µs] [write-time=24.089246ms] [sort-speed(kv/s)=3132086.3454] [writer-id=index/3/fbb36389-9b8c-4597-9c55-e7f1af521058] [2025/04/04 10:35:44.046 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/fbb36389-9b8c-4597-9c55-e7f1af521058] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000301746573742d313030ff3000000000000000f80380000000000003e80380000000000003e8] [maxKey=74800000000000007a5f69800000000000000301746573742d393939ff3900000000000000f803800000000000270f03800000000000270f] [2025/04/04 10:35:44.046 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=4] [step=encode] [engine-id=0] [2025/04/04 10:35:44.050 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=encode] [subtask-id=21] [takeTime=437.410119ms] [] [2025/04/04 10:35:44.050 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=21] [step=encode] [takeTime=437.58667ms] [] [2025/04/04 10:35:44.095 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=encode] [next-step=merge-sort] [2025/04/04 10:35:44.097 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:44.099 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=encode] [next-step=merge-sort] [2025/04/04 10:35:44.105 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:44.106 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:44.109 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=4] [kv-group=3] [2025/04/04 10:35:44.109 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=4] [kv-group=1] [2025/04/04 10:35:44.110 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=4] [kv-group=data] [2025/04/04 10:35:44.110 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=4] [kv-group=2] [2025/04/04 10:35:44.110 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:44.111 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:44.114 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=encode] [next-step=merge-sort] [subtask-count=0] [2025/04/04 10:35:44.114 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=merge-sort] [concurrency=8] [subtasks=0] [2025/04/04 10:35:44.192 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:35:44.192 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=encode] [2025/04/04 10:35:44.193 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:44.193 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:44.193 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:44.193 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:44.193 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:44.193 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:44.193 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:44.193 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:44.193 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:44.193 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-15] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:44.193 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:44.193 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:44.195 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:44.195 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:44.195 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:44.195 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=merge-sort] [next-step=ingest] [2025/04/04 10:35:44.195 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:44.195 +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=590.361363ms] [] [2025/04/04 10:35:44.196 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/04 10:35:44.197 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:44.199 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=merge-sort] [next-step=ingest] [2025/04/04 10:35:44.216 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:44.217 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:44.224 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:44.225 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:44.226 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:44.226 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:44.226 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:44.227 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:44.227 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:44.227 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:44.227 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:44.227 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:44.227 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:44.231 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:44.231 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:44.231 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:44.231 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:44.231 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:44.231 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:44.231 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:44.231 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:44.231 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:44.231 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:44.231 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:44.231 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-16] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:44.232 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 10:35:44.232 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:35:44.238 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007a5f69800000000000000101746573742d300000fd038000000000000000] [endKey=74800000000000007a5f69800000000000000101746573742d393939ff3900000000000000f803800000000000270f00] [dataFiles=8] [2025/04/04 10:35:44.238 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:35:44.241 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:44.242 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:44.242 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:44.243 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:44.243 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:44.243 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:44.243 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:44.243 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:44.243 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:44.244 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:44.244 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:44.247 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:44.247 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:44.247 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:44.247 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:44.247 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:44.247 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:44.247 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:44.247 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:44.247 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-17] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:44.247 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:44.248 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:44.248 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:44.249 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 10:35:44.249 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:35:44.255 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007a5f69800000000000000203800000000000000001746573742d300000fd038000000000000000] [endKey=74800000000000007a5f69800000000000000203800000000000270f01746573742d393939ff3900000000000000f803800000000000270f00] [dataFiles=8] [2025/04/04 10:35:44.255 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:35:44.257 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:44.258 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:44.259 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:44.259 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:44.259 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:44.259 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:44.259 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:44.260 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:44.260 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:44.260 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:44.260 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:44.264 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:44.264 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:44.264 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:44.264 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:44.264 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:44.264 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:44.264 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:44.264 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:44.264 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:44.264 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:44.264 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:44.264 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-18] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:44.265 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 10:35:44.265 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:35:44.272 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007a5f69800000000000000301746573742d300000fd038000000000000000038000000000000000] [endKey=74800000000000007a5f69800000000000000301746573742d393939ff3900000000000000f803800000000000270f03800000000000270f00] [dataFiles=8] [2025/04/04 10:35:44.272 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:35:44.274 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:44.275 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:44.276 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:44.276 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:44.276 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:44.276 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:44.276 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:44.276 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:44.277 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:44.277 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:44.277 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:44.281 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:44.281 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:44.281 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:44.281 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:44.281 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:44.281 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:44.281 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:44.281 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:44.281 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:44.281 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-19] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:44.281 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:44.281 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:44.282 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 10:35:44.282 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:35:44.287 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007a5f728000000000000000] [endKey=74800000000000007a5f72800000000000270f00] [dataFiles=8] [2025/04/04 10:35:44.287 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:35:44.287 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:44.289 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:44.305 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=merge-sort] [next-step=ingest] [subtask-count=4] [2025/04/04 10:35:44.305 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=ingest] [concurrency=8] [subtasks=4] [2025/04/04 10:35:44.337 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:35:44.358 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:44.359 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:44.367 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:44.367 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:44.367 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:44.367 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:44.367 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:44.367 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:44.367 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:44.368 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:44.368 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:44.368 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:44.380 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:44.382 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:44.382 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 10:35:44.382 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 10:35:44.390 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=22] [step=ingest] [2025/04/04 10:35:44.392 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=22] [kv-group=1] [2025/04/04 10:35:44.392 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:44.393 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:35:44.397 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007A5F69800000000000000101746573742D300000FD038000000000000000] [endKey=74800000000000007A5F69800000000000000101746573742D393939FF3900000000000000F803800000000000270F00] [len(keys)=2] [] [2025/04/04 10:35:44.397 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:44.419 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ff6562-87d0-5a56-80bb-4a167ccff507] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 10:35:44.419 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:44.419 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:35:44.420 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7A5F698000000000FF0000010174657374FF2D300000FD038000FF0000000000000000FD] [end=7480000000000000FF7A5F698000000000FF0000010174657374FF2D393939FF390000FF0000000000F80380FF0000000000270F00FF0000000000000000F8] [2025/04/04 10:35:44.420 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.357µs] [2025/04/04 10:35:44.420 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=701.015µs] [] [2025/04/04 10:35:44.420 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:35:44.420 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:35:44.420 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=8] [stat-file-count=8] [start-key=74800000000000007a5f69800000000000000101746573742d300000fd038000000000000000] [end-key=74800000000000007a5f69800000000000000101746573742d393939ff3900000000000000f803800000000000270f00] [2025/04/04 10:35:44.420 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:35:44.426 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=5.909348ms] [] [2025/04/04 10:35:44.426 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:35:44.439 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:44.440 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=20.105599ms] [] [2025/04/04 10:35:44.440 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10000] [droppedSize=0] [2025/04/04 10:35:44.442 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=22.043297ms] [droppedSize=0] [2025/04/04 10:35:44.455 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=13.046072ms] [2025/04/04 10:35:44.456 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007a5f69800000000000000101746573742d300000fd038000000000000000] [endOfAllRanges=74800000000000007a5f69800000000000000101746573742d393939ff3900000000000000f803800000000000270f00] [startKeyOfFirstRegion=7480000000000000ff7a5f698000000000ff0000010174657374ff2d300000fd038000ff0000000000000000fd] [endKeyOfLastRegion=7480000000000000ff7a5f698000000000ff0000010174657374ff2d393939ff390000ff0000000000f80380ff0000000000270f00ff0000000000000000f7] [2025/04/04 10:35:44.479 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ff6562-87d0-5a56-80bb-4a167ccff507] [size=107374182400] [kvs=0] [importedSize=657990] [importedCount=10000] [2025/04/04 10:35:44.481 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=22] [kv-group=1] [takeTime=88.823544ms] [] [2025/04/04 10:35:44.482 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=22] [step=ingest] [takeTime=91.866959ms] [] [2025/04/04 10:35:44.505 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=23] [step=ingest] [2025/04/04 10:35:44.507 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=23] [kv-group=2] [2025/04/04 10:35:44.507 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:44.524 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:35:44.528 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007A5F69800000000000000203800000000000000001746573742D300000FD038000000000000000] [endKey=74800000000000007A5F69800000000000000203800000000000270F01746573742D393939FF3900000000000000F803800000000000270F00] [len(keys)=2] [] [2025/04/04 10:35:44.528 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:44.550 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=13828c64-9414-5512-b90c-635ed80ab1cf] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 10:35:44.550 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:44.550 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:35:44.550 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7A5F698000000000FF0000020380000000FF0000000001746573FF742D300000FD0380FF0000000000000000FE] [end=7480000000000000FF7A5F698000000000FF0000020380000000FF0000270F01746573FF742D393939FF3900FF000000000000F803FF800000000000270FFF0000000000000000F9] [2025/04/04 10:35:44.551 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.917µs] [2025/04/04 10:35:44.551 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=697.307µs] [] [2025/04/04 10:35:44.551 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:35:44.551 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:35:44.551 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=8] [stat-file-count=8] [start-key=74800000000000007a5f69800000000000000203800000000000000001746573742d300000fd038000000000000000] [end-key=74800000000000007a5f69800000000000000203800000000000270f01746573742d393939ff3900000000000000f803800000000000270f00] [2025/04/04 10:35:44.551 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:35:44.558 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=6.847606ms] [] [2025/04/04 10:35:44.558 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:35:44.571 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:44.572 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=20.947317ms] [] [2025/04/04 10:35:44.572 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10000] [droppedSize=0] [2025/04/04 10:35:44.574 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=22.813206ms] [droppedSize=0] [2025/04/04 10:35:44.583 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=9.742629ms] [2025/04/04 10:35:44.584 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007a5f69800000000000000203800000000000000001746573742d300000fd038000000000000000] [endOfAllRanges=74800000000000007a5f69800000000000000203800000000000270f01746573742d393939ff3900000000000000f803800000000000270f00] [startKeyOfFirstRegion=7480000000000000ff7a5f698000000000ff0000020380000000ff0000000001746573ff742d300000fd0380ff0000000000000000fe] [endKeyOfLastRegion=7480000000000000ff7a5f698000000000ff0000020380000000ff0000270f01746573ff742d393939ff3900ff000000000000f803ff800000000000270fff0000000000000000f8] [2025/04/04 10:35:44.608 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=13828c64-9414-5512-b90c-635ed80ab1cf] [size=107374182400] [kvs=0] [importedSize=797862] [importedCount=10000] [2025/04/04 10:35:44.609 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=23] [kv-group=2] [takeTime=102.695403ms] [] [2025/04/04 10:35:44.610 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=23] [step=ingest] [takeTime=104.95556ms] [] [2025/04/04 10:35:44.633 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=24] [step=ingest] [2025/04/04 10:35:44.635 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=24] [kv-group=3] [2025/04/04 10:35:44.635 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:44.636 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:35:44.640 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007A5F69800000000000000301746573742D300000FD038000000000000000038000000000000000] [endKey=74800000000000007A5F69800000000000000301746573742D393939FF3900000000000000F803800000000000270F03800000000000270F00] [len(keys)=2] [] [2025/04/04 10:35:44.640 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:44.662 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=54d02857-7fde-5e9a-9a20-8cf556c9d0e8] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 10:35:44.662 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:44.662 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:35:44.663 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7A5F698000000000FF0000030174657374FF2D300000FD038000FF0000000000000380FF0000000000000000FE] [end=7480000000000000FF7A5F698000000000FF0000030174657374FF2D393939FF390000FF0000000000F80380FF0000000000270F03FF800000000000270FFF0000000000000000F9] [2025/04/04 10:35:44.663 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.344µs] [2025/04/04 10:35:44.663 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=743.235µs] [] [2025/04/04 10:35:44.663 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:35:44.663 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:35:44.663 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=8] [stat-file-count=8] [start-key=74800000000000007a5f69800000000000000301746573742d300000fd038000000000000000038000000000000000] [end-key=74800000000000007a5f69800000000000000301746573742d393939ff3900000000000000f803800000000000270f03800000000000270f00] [2025/04/04 10:35:44.663 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:35:44.670 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=6.937857ms] [] [2025/04/04 10:35:44.670 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:35:44.682 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:44.683 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=20.325905ms] [] [2025/04/04 10:35:44.683 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10000] [droppedSize=0] [2025/04/04 10:35:44.685 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=22.194276ms] [droppedSize=0] [2025/04/04 10:35:44.699 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=14.192181ms] [2025/04/04 10:35:44.700 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007a5f69800000000000000301746573742d300000fd038000000000000000038000000000000000] [endOfAllRanges=74800000000000007a5f69800000000000000301746573742d393939ff3900000000000000f803800000000000270f03800000000000270f00] [startKeyOfFirstRegion=7480000000000000ff7a5f698000000000ff0000030174657374ff2d300000fd038000ff0000000000000380ff0000000000000000fe] [endKeyOfLastRegion=7480000000000000ff7a5f698000000000ff0000030174657374ff2d393939ff390000ff0000000000f80380ff0000000000270f03ff800000000000270fff0000000000000000f8] [2025/04/04 10:35:44.725 +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 10:35:44.726 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=24] [kv-group=3] [takeTime=91.423761ms] [] [2025/04/04 10:35:44.727 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=24] [step=ingest] [takeTime=93.846547ms] [] [2025/04/04 10:35:44.748 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=25] [step=ingest] [2025/04/04 10:35:44.750 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=25] [kv-group=data] [2025/04/04 10:35:44.751 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:44.752 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:35:44.756 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007A5F728000000000000000] [endKey=74800000000000007A5F72800000000000270F00] [len(keys)=2] [] [2025/04/04 10:35:44.756 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:44.778 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=87740094-6033-5a46-85c3-533d680c8701] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 10:35:44.778 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:44.778 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:35:44.779 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7A5F728000000000FF0000000000000000FA] [end=7480000000000000FF7A5F728000000000FF00270F0000000000FC] [2025/04/04 10:35:44.779 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.486µs] [2025/04/04 10:35:44.779 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=731.687µs] [] [2025/04/04 10:35:44.779 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:35:44.779 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:35:44.779 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=8] [stat-file-count=8] [start-key=74800000000000007a5f728000000000000000] [end-key=74800000000000007a5f72800000000000270f00] [2025/04/04 10:35:44.779 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:35:44.785 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=6.375519ms] [] [2025/04/04 10:35:44.785 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:35:44.797 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:44.798 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=19.023976ms] [] [2025/04/04 10:35:44.798 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10000] [droppedSize=0] [2025/04/04 10:35:44.800 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=20.742574ms] [droppedSize=0] [2025/04/04 10:35:44.808 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=8.418056ms] [2025/04/04 10:35:44.809 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007a5f728000000000000000] [endOfAllRanges=74800000000000007a5f72800000000000270f00] [startKeyOfFirstRegion=7480000000000000ff7a5f728000000000ff0000000000000000fa] [endKeyOfLastRegion=7800000000000000fb] [2025/04/04 10:35:44.833 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=87740094-6033-5a46-85c3-533d680c8701] [size=107374182400] [kvs=0] [importedSize=368890] [importedCount=10000] [2025/04/04 10:35:44.835 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=25] [kv-group=data] [takeTime=84.901345ms] [] [2025/04/04 10:35:44.836 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=25] [step=ingest] [takeTime=87.039071ms] [] [2025/04/04 10:35:44.895 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=ingest] [next-step=post-process] [2025/04/04 10:35:44.897 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:44.899 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=ingest] [next-step=post-process] [2025/04/04 10:35:44.922 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=4] [curr-step=ingest] [next-step=post-process] [result="{\"LoadedRowCnt\":10000}"] [2025/04/04 10:35:44.924 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=ingest] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:44.924 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:35:44.956 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [oldStep=ingest] [newStep=post-process] [2025/04/04 10:35:44.962 +00:00] [INFO] [task_executor.go:515] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=ingest] [2025/04/04 10:35:44.968 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:44.968 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:44.968 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:44.968 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:44.968 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:44.968 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:44.968 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:44.968 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:44.969 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:44.968 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-20] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:44.969 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:44.969 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:44.971 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:44.971 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:44.971 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:44.971 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:44.971 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=588.258944ms] [] [2025/04/04 10:35:44.972 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 10:35:44.980 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=26] [step=post-process] [2025/04/04 10:35:44.980 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [2025/04/04 10:35:44.980 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [2025/04/04 10:35:44.980 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [2025/04/04 10:35:44.980 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [takeTime=1.587µs] [] [2025/04/04 10:35:44.981 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [groupId=-1] [size=368890] [kvs=10000] [checksum=14807964115588225436] [2025/04/04 10:35:44.981 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [groupId=1] [size=657990] [kvs=10000] [checksum=4056391227583092039] [2025/04/04 10:35:44.981 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [groupId=2] [size=797862] [kvs=10000] [checksum=554937224690942610] [2025/04/04 10:35:44.981 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [groupId=3] [size=797862] [kvs=10000] [checksum=7064370007260104284] [2025/04/04 10:35:44.981 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [checksum="{cksum=10408207814181128213,size=2622604,kvs=40000}"] [2025/04/04 10:35:44.981 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [weight=30] [2025/04/04 10:35:44.981 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [concurrency=15] [2025/04/04 10:35:44.989 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=-1] [checksum=14807964115588225436] [totalKvs=10000] [totalBytes=368890] [2025/04/04 10:35:44.989 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=1] [checksum=4056391227583092039] [totalKvs=10000] [totalBytes=657990] [2025/04/04 10:35:44.990 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=3] [checksum=7064370007260104284] [totalKvs=10000] [totalBytes=797862] [2025/04/04 10:35:44.990 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=2] [checksum=554937224690942610] [totalKvs=10000] [totalBytes=797862] [2025/04/04 10:35:44.990 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:44.990 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [local="{cksum=10408207814181128213,size=2622604,kvs=40000}"] [2025/04/04 10:35:44.990 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [takeTime=9.934011ms] [] [2025/04/04 10:35:44.990 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [takeTime=10.096782ms] [] [2025/04/04 10:35:44.992 +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=11.522917ms] [] [2025/04/04 10:35:45.000 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:45.096 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:45.096 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=4] [step=post-process] [state=running] [] [2025/04/04 10:35:45.099 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=4] [2025/04/04 10:35:45.114 +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=141.564546ms] [] [2025/04/04 10:35:45.114 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/04 10:35:45.190 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.8986502010000001\n# Parse_time: 0.000111448\n# Compile_time: 0.000516089\n# Rewrite_time: 0.000121162\n# Optimize_time: 0.000967412\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('R/BGMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuOXMsIG9wZW46NjQxbnMsIGNsb3NlOjEuMjjCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('YvBPCl4KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi10aW1lOjEuOXMsIG9wZW46NjQxbnMsIGNsb3NlOjEuMjjCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000033716\nuse gs_multi_files;\nIMPORT INTO `gs_multi_files`.`t` FROM 'gs://gs-multi-files/t.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH cloud_storage_uri=_UTF8MB4'gs://sorted/gs_multi_files?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 10:35:45.191 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2025/04/04 10:35:45.197 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:45.197 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=4] [2025/04/04 10:35:45.199 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=4] [2025/04/04 10:35:45.199 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:45.200 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] --- PASS: TestImportInto/TestGlobalSortMultiFiles (2.23s) === NAME TestImportInto === RUN TestImportInto/TestGlobalSortUniqueKeyConflict [2025/04/04 10:35:45.371 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:124, Type:drop schema, State:queueing, SchemaState:public, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists gs_multi_files"] [2025/04/04 10:35:45.371 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:drop schema, State:queueing, SchemaState:public, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.377 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:drop schema, State:queueing, SchemaState:public, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.396 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=2.036205ms] [gotSchemaVersion=62] [phyTblIDs="[122]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:45.400 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=62] [2025/04/04 10:35:45.402 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=9.931561ms] [job="ID:124, Type:drop schema, State:running, SchemaState:write only, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.413 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:drop schema, State:running, SchemaState:write only, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.417 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=4] [takeTime=218.600938ms] [] [2025/04/04 10:35:45.426 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=148.635µs] [gotSchemaVersion=63] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:45.430 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=63] [2025/04/04 10:35:45.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=63] ["take time"=7.586112ms] [job="ID:124, Type:drop schema, State:running, SchemaState:delete only, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.442 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:drop schema, State:running, SchemaState:delete only, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.442 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:45.447 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:35:45.457 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=153.855µs] [gotSchemaVersion=64] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:45.461 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=64] [2025/04/04 10:35:45.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=64] ["take time"=9.468864ms] [job="ID:124, Type:drop schema, State:done, SchemaState:none, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.474 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=124] [tableIDs="[122]"] [comment="drop schema: table IDs"] [2025/04/04 10:35:45.479 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=124] [jobType="drop schema"] [2025/04/04 10:35:45.480 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:drop schema, State:synced, SchemaState:none, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.497 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=124] [2025/04/04 10:35:45.497 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=64] [cur_db=] [sql="drop database if exists gs_multi_files"] [user=] [2025/04/04 10:35:45.509 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:126, Type:create schema, State:queueing, SchemaState:none, SchemaID:125, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.509 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:126, Type:create schema, State:queueing, SchemaState:none, SchemaID:125, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database gs_multi_files"] [2025/04/04 10:35:45.516 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:create schema, State:queueing, SchemaState:none, SchemaID:125, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.530 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=681.723µs] [gotSchemaVersion=65] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:45.533 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=65] [2025/04/04 10:35:45.535 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=65] ["take time"=7.368691ms] [job="ID:126, Type:create schema, State:done, SchemaState:public, SchemaID:125, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.545 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:create schema, State:synced, SchemaState:public, SchemaID:125, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.556 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=126] [2025/04/04 10:35:45.556 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=65] [cur_db=] [sql="create database gs_multi_files"] [user=] [2025/04/04 10:35:45.571 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:125, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.571 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:125, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key , b varchar(100) unique key);"] [2025/04/04 10:35:45.577 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:125, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.582 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 127, Table Name: t)"] [2025/04/04 10:35:45.598 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.911589ms] [gotSchemaVersion=66] [phyTblIDs="[127]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:45.602 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=66] [2025/04/04 10:35: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=66] ["take time"=9.60628ms] [job="ID:128, Type:create table, State:done, SchemaState:public, SchemaID:125, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.615 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:create table, State:synced, SchemaState:public, SchemaID:125, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.627 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/04 10:35:45.628 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=gs_multi_files] [sql="create table t (a bigint primary key , b varchar(100) unique key);"] [user=] [2025/04/04 10:35:45.634 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:45.635 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:45.651 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:45.684 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gs-multi-files-uk/t.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"cloud_storage_uri\":\"gs://sorted/gs_multi_files?endpoint=http://127.0.0.1:4443/storage/v1/\",\"thread\":\"8\"}}"] [dist-task-enabled=true] [2025/04/04 10:35:45.704 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=5] [task-id=5] [data-size=144.3KiB] [thread-cnt=8] [global-sort=true] [2025/04/04 10:35:45.718 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=5] [2025/04/04 10:35:45.719 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:35:45.821 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=encode] [2025/04/04 10:35:45.822 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:45.823 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=encode] [2025/04/04 10:35:45.831 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:45.832 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:45.835 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:45.836 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 10:35:45.836 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=10] [MaxChunkSize=268435456] [RegionsCount=10] [BatchSize=1] [cost=211.261µs] [2025/04/04 10:35:45.836 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=366.651µs] [] [2025/04/04 10:35:45.836 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:45.837 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:45.861 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=encode] [subtask-count=10] [2025/04/04 10:35:45.861 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=encode] [concurrency=8] [subtasks=10] [2025/04/04 10:35:45.898 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:35:45.918 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=5] [step=encode] [2025/04/04 10:35:45.918 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:45.919 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:45.928 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:45.928 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:45.928 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:45.928 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:45.928 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:45.928 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:45.928 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:45.929 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:45.929 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:45.929 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:45.933 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=5] [2025/04/04 10:35:45.942 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:45.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 10:35:45.944 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 10:35:45.944 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=5] [step=encode] [data-buf-limit=768MiB] [per-index-buf-limit=256MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:45.944 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 10:35:45.951 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=27] [step=encode] [2025/04/04 10:35:45.951 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=27] [2025/04/04 10:35:45.954 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8d5f54b0-9296-4dfd-bb40-e254adc0fa20] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:45.954 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:35:45.954 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/d78629d9-65cd-415e-af55-64bce34601ce] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:45.954 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/30316656-216c-4d49-802b-3e90b6450cdd] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:45.954 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a68ab6c5-7243-4455-a59d-768a2c4002eb] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:45.954 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c3304d1b-a456-4da2-b9c9-98769dfee7c3] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:45.954 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b25f9462-a7c2-4a1f-b25f-86699b7963f6] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:45.954 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/53de51ca-bf1e-44d1-8fa5-72d5cc9389ed] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:45.956 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.8.csv:0] [2025/04/04 10:35:45.995 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.8.csv:0] [readDur=7.028617ms] [encodeDur=26.745995ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.23926ms] [type=file] [takeTime=38.292721ms] [] [2025/04/04 10:35:46.006 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/223cf5f0-8f34-4c13-b4bc-7fc50b22fd44] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=11.214676ms] [write-speed(bytes/s)=4.507MiB] [2025/04/04 10:35:46.006 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/223cf5f0-8f34-4c13-b4bc-7fc50b22fd44] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=378.334µs] [write-time=11.358885ms] [sort-speed(kv/s)=2643167.1486] [writer-id=data/223cf5f0-8f34-4c13-b4bc-7fc50b22fd44] [2025/04/04 10:35:46.007 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/223cf5f0-8f34-4c13-b4bc-7fc50b22fd44] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000001f40] [maxKey=74800000000000007f5f728000000000002327] [2025/04/04 10:35:46.020 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/223cf5f0-8f34-4c13-b4bc-7fc50b22fd44] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=12.760935ms] [write-speed(bytes/s)=6.053MiB] [2025/04/04 10:35:46.020 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/223cf5f0-8f34-4c13-b4bc-7fc50b22fd44] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=363.174µs] [write-time=12.877455ms] [sort-speed(kv/s)=2753501.0766] [writer-id=index/1/223cf5f0-8f34-4c13-b4bc-7fc50b22fd44] [2025/04/04 10:35:46.020 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/223cf5f0-8f34-4c13-b4bc-7fc50b22fd44] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d383030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d383939ff3900000000000000f8] [2025/04/04 10:35:46.020 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=8] [2025/04/04 10:35:46.023 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=27] [takeTime=71.199786ms] [] [2025/04/04 10:35:46.023 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=27] [step=encode] [takeTime=71.696182ms] [] [2025/04/04 10:35:46.046 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=28] [step=encode] [2025/04/04 10:35:46.046 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=28] [2025/04/04 10:35:46.049 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/0628890d-075c-4f3e-8e68-047bc00ba4da] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.049 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/167ad9fc-6481-460d-bc31-3b1090a4f8ab] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.049 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/094d1295-aad8-4a33-be8f-75e91304027c] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.049 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c71ec6ba-cb1b-40d4-ab31-a9a764fb4ff3] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.049 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8cfe036b-cee9-4591-bf14-a5a3b1137708] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.049 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/5e6b47d9-a03c-423d-8275-93506765de47] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.049 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/edba61e9-ce77-49af-80c7-246f4bc6b3a6] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.049 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:35:46.051 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.9.csv:0] [2025/04/04 10:35:46.092 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.9.csv:0] [readDur=7.65489ms] [encodeDur=28.542411ms] [checksum="{cksum=15899235463001290329,size=102100,kvs=2002}"] [deliverDur=2.224346ms] [type=file] [takeTime=40.77539ms] [] [2025/04/04 10:35:46.104 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/2de415ac-cb24-424f-b841-058db8dd3b1f] [sequence-number=0] [bytes=53052] [stat-size=74] [write-time=11.462365ms] [write-speed(bytes/s)=4.414MiB] [2025/04/04 10:35:46.104 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/2de415ac-cb24-424f-b841-058db8dd3b1f] [sequence-number=0] [bytes=53052] [kv-cnt=1001] [sort-time=335.409µs] [write-time=11.578395ms] [sort-speed(kv/s)=2984416.0413] [writer-id=data/2de415ac-cb24-424f-b841-058db8dd3b1f] [2025/04/04 10:35:46.104 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/2de415ac-cb24-424f-b841-058db8dd3b1f] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000002328] [maxKey=74800000000000007f5f728000000005f5e0ff] [2025/04/04 10:35:46.117 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/2de415ac-cb24-424f-b841-058db8dd3b1f] [sequence-number=0] [bytes=81080] [stat-size=112] [write-time=12.411053ms] [write-speed(bytes/s)=6.23MiB] [2025/04/04 10:35:46.118 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/2de415ac-cb24-424f-b841-058db8dd3b1f] [sequence-number=0] [bytes=81080] [kv-cnt=1001] [sort-time=710.687µs] [write-time=12.528224ms] [sort-speed(kv/s)=1408496.2860] [writer-id=index/1/2de415ac-cb24-424f-b841-058db8dd3b1f] [2025/04/04 10:35:46.118 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/2de415ac-cb24-424f-b841-058db8dd3b1f] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7] [maxKey=74800000000000007f5f69800000000000000101746573742d393939ff3900000000000000f8] [2025/04/04 10:35:46.118 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=9] [2025/04/04 10:35:46.120 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=28] [takeTime=73.880806ms] [] [2025/04/04 10:35:46.120 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=28] [step=encode] [takeTime=74.072813ms] [] [2025/04/04 10:35:46.143 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=29] [step=encode] [2025/04/04 10:35:46.143 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=29] [2025/04/04 10:35:46.146 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/46419461-0373-43b1-8ae5-f6cec3195c27] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.146 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b489b3ef-0a45-47ec-93e5-3ed84274e2ab] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.146 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4b951b79-b45f-487a-b947-87f0b6f4737f] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.146 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1ad2931a-64d3-4608-808a-639ba83a8a93] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.146 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/474c6272-9f31-4b16-8a5c-57ab895babc7] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.146 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:35:46.146 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/bb295e61-98bd-43cd-b92b-1d35e421aa96] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.146 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/dca91813-c3c6-4026-a3d7-540cc8b1049e] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.148 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.1.csv:0] [2025/04/04 10:35:46.187 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.1.csv:0] [readDur=7.151012ms] [encodeDur=27.212923ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.176214ms] [type=file] [takeTime=38.960091ms] [] [2025/04/04 10:35:46.199 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/a8f4cbab-665e-4f06-a272-cd9038ee06d8] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=11.498788ms] [write-speed(bytes/s)=4.396MiB] [2025/04/04 10:35:46.199 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/a8f4cbab-665e-4f06-a272-cd9038ee06d8] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=341.744µs] [write-time=11.597666ms] [sort-speed(kv/s)=2926166.9554] [writer-id=data/a8f4cbab-665e-4f06-a272-cd9038ee06d8] [2025/04/04 10:35:46.200 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a8f4cbab-665e-4f06-a272-cd9038ee06d8] [kv-cnt-cap=1365] [minKey=74800000000000007f5f7280000000000003e8] [maxKey=74800000000000007f5f7280000000000007cf] [2025/04/04 10:35:46.213 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/a8f4cbab-665e-4f06-a272-cd9038ee06d8] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=13.147851ms] [write-speed(bytes/s)=5.875MiB] [2025/04/04 10:35:46.213 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/a8f4cbab-665e-4f06-a272-cd9038ee06d8] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=357.201µs] [write-time=13.295351ms] [sort-speed(kv/s)=2799544.2342] [writer-id=index/1/a8f4cbab-665e-4f06-a272-cd9038ee06d8] [2025/04/04 10:35:46.213 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/a8f4cbab-665e-4f06-a272-cd9038ee06d8] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d313030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d313939ff3900000000000000f8] [2025/04/04 10:35:46.214 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=1] [2025/04/04 10:35:46.216 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=29] [takeTime=72.89565ms] [] [2025/04/04 10:35:46.216 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=29] [step=encode] [takeTime=73.065752ms] [] [2025/04/04 10:35:46.239 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=30] [step=encode] [2025/04/04 10:35:46.239 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=30] [2025/04/04 10:35:46.241 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e9f94388-c1b7-4ce4-83d4-01c3cb1bf611] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.241 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/26e327db-e790-4b2c-937a-c9136579b4fe] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.241 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/44100a28-24f7-4a7a-9862-e2f92b5bceb3] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.241 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e59bc337-9bcd-4aea-959e-e8d373041512] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.241 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/146d9c7d-4761-4c20-b45f-15d53065736a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.241 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f08ecf06-9772-4eaf-b9a1-f969bb12f1e4] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.241 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1594773e-9b40-4c8e-a53a-7efe97e35968] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.241 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:35:46.244 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.2.csv:0] [2025/04/04 10:35:46.282 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.2.csv:0] [readDur=7.132007ms] [encodeDur=26.423572ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.535277ms] [type=file] [takeTime=38.320631ms] [] [2025/04/04 10:35:46.294 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/990a2a84-d619-4353-b8a7-3b0de8d39387] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=11.200274ms] [write-speed(bytes/s)=4.513MiB] [2025/04/04 10:35:46.294 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/990a2a84-d619-4353-b8a7-3b0de8d39387] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=365.427µs] [write-time=11.314969ms] [sort-speed(kv/s)=2736524.6684] [writer-id=data/990a2a84-d619-4353-b8a7-3b0de8d39387] [2025/04/04 10:35:46.294 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/990a2a84-d619-4353-b8a7-3b0de8d39387] [kv-cnt-cap=1365] [minKey=74800000000000007f5f7280000000000007d0] [maxKey=74800000000000007f5f728000000000000bb7] [2025/04/04 10:35:46.309 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/990a2a84-d619-4353-b8a7-3b0de8d39387] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=14.401353ms] [write-speed(bytes/s)=5.364MiB] [2025/04/04 10:35:46.309 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/990a2a84-d619-4353-b8a7-3b0de8d39387] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=337.528µs] [write-time=14.534462ms] [sort-speed(kv/s)=2962717.1672] [writer-id=index/1/990a2a84-d619-4353-b8a7-3b0de8d39387] [2025/04/04 10:35:46.309 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/990a2a84-d619-4353-b8a7-3b0de8d39387] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d323030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d323939ff3900000000000000f8] [2025/04/04 10:35:46.309 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=2] [2025/04/04 10:35:46.312 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=30] [takeTime=72.827122ms] [] [2025/04/04 10:35:46.312 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=30] [step=encode] [takeTime=73.002685ms] [] [2025/04/04 10:35:46.337 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=31] [step=encode] [2025/04/04 10:35:46.337 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=31] [2025/04/04 10:35:46.339 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b3571af7-e65d-404a-999c-f12c41c4f2e3] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.339 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/92322688-87b8-4758-9ff9-1734ba263a84] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.339 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ae6c7cac-2c4a-4b8a-b63f-161539c95ee2] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.339 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1cb0891a-f4ec-4271-a65b-e613888c75d9] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.339 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:35:46.339 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a2ed70f5-ec45-458e-bdb7-0e031c234d3f] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.339 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/630b333f-42c7-41c1-a5bb-f818e1099308] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.339 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/59604c9f-c991-41a9-ae11-268007c14b74] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.342 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.4.csv:0] [2025/04/04 10:35:46.382 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.4.csv:0] [readDur=7.719862ms] [encodeDur=28.443384ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.12919ms] [type=file] [takeTime=40.822808ms] [] [2025/04/04 10:35:46.394 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/d709c7bb-b453-460b-9760-8e995629ed96] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=11.144898ms] [write-speed(bytes/s)=4.535MiB] [2025/04/04 10:35:46.394 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/d709c7bb-b453-460b-9760-8e995629ed96] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=349.222µs] [write-time=11.272996ms] [sort-speed(kv/s)=2863508.0264] [writer-id=data/d709c7bb-b453-460b-9760-8e995629ed96] [2025/04/04 10:35:46.394 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/d709c7bb-b453-460b-9760-8e995629ed96] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000000fa0] [maxKey=74800000000000007f5f728000000000001387] [2025/04/04 10:35:46.408 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/d709c7bb-b453-460b-9760-8e995629ed96] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=13.000209ms] [write-speed(bytes/s)=5.942MiB] [2025/04/04 10:35:46.408 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/d709c7bb-b453-460b-9760-8e995629ed96] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=340.06µs] [write-time=13.148748ms] [sort-speed(kv/s)=2940657.5310] [writer-id=index/1/d709c7bb-b453-460b-9760-8e995629ed96] [2025/04/04 10:35:46.408 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/d709c7bb-b453-460b-9760-8e995629ed96] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d343030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d343939ff3900000000000000f8] [2025/04/04 10:35:46.408 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=4] [2025/04/04 10:35:46.411 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=31] [takeTime=74.114817ms] [] [2025/04/04 10:35:46.411 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=31] [step=encode] [takeTime=74.310817ms] [] [2025/04/04 10:35:46.434 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=32] [step=encode] [2025/04/04 10:35:46.434 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=32] [2025/04/04 10:35:46.436 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/96e5d91f-04ea-448b-a9b4-7bc8366ef34a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.436 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/cc473fa8-35c5-4ffa-9575-98418b160833] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.436 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/44e2e425-982d-410f-98a9-dcd5b9ddd879] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.436 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/cb289115-5506-47d9-8bed-f8bbc9eabd04] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.436 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4c4b077b-4d0e-435e-8f38-2c03728b81f8] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.436 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/2517ae0a-16e6-4785-8fde-3a64fbc1be88] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.436 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a6d23943-1808-4e9f-be1e-ce94c302ee9f] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.436 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:35:46.438 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.5.csv:0] [2025/04/04 10:35:46.477 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.5.csv:0] [readDur=7.120163ms] [encodeDur=26.642169ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.248161ms] [type=file] [takeTime=38.252211ms] [] [2025/04/04 10:35:46.489 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/0d35bc15-d055-4529-8aed-531dcdec0307] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=11.69878ms] [write-speed(bytes/s)=4.321MiB] [2025/04/04 10:35:46.489 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/0d35bc15-d055-4529-8aed-531dcdec0307] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=356.465µs] [write-time=11.838967ms] [sort-speed(kv/s)=2805324.5059] [writer-id=data/0d35bc15-d055-4529-8aed-531dcdec0307] [2025/04/04 10:35:46.489 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/0d35bc15-d055-4529-8aed-531dcdec0307] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000001388] [maxKey=74800000000000007f5f72800000000000176f] [2025/04/04 10:35:46.504 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/0d35bc15-d055-4529-8aed-531dcdec0307] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=14.048067ms] [write-speed(bytes/s)=5.499MiB] [2025/04/04 10:35:46.504 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/0d35bc15-d055-4529-8aed-531dcdec0307] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=336.255µs] [write-time=14.170982ms] [sort-speed(kv/s)=2973933.4731] [writer-id=index/1/0d35bc15-d055-4529-8aed-531dcdec0307] [2025/04/04 10:35:46.504 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/0d35bc15-d055-4529-8aed-531dcdec0307] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d353030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d353939ff3900000000000000f8] [2025/04/04 10:35:46.504 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=5] [2025/04/04 10:35:46.507 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=32] [takeTime=73.294047ms] [] [2025/04/04 10:35:46.507 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=32] [step=encode] [takeTime=73.504456ms] [] [2025/04/04 10:35:46.531 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=33] [step=encode] [2025/04/04 10:35:46.531 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=33] [2025/04/04 10:35:46.533 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4da41817-17b9-483b-82fd-3c8d962eeffc] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.533 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8aeb23db-86a0-4da7-9b8d-1eff2c43851a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.533 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:35:46.533 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/3264af64-c691-45c1-9cab-936b08103dde] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.533 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8e0edec0-4ed1-4ce4-87d0-0dffce8fcd4d] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.533 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/83d4d3c6-9972-4960-8993-ba5b89afbb96] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.533 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/bd9ff504-e975-4321-8b40-8501be0bd52a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.533 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4585056a-cb71-4e7a-ba37-0e02be6d3e2b] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.536 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.6.csv:0] [2025/04/04 10:35:46.575 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.6.csv:0] [readDur=7.508336ms] [encodeDur=27.252574ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.118213ms] [type=file] [takeTime=39.265204ms] [] [2025/04/04 10:35:46.587 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/6b6af4e0-77ea-48c5-b162-3d714e35bb26] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=11.836181ms] [write-speed(bytes/s)=4.27MiB] [2025/04/04 10:35:46.587 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/6b6af4e0-77ea-48c5-b162-3d714e35bb26] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=336.423µs] [write-time=11.967825ms] [sort-speed(kv/s)=2972448.3760] [writer-id=data/6b6af4e0-77ea-48c5-b162-3d714e35bb26] [2025/04/04 10:35:46.587 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/6b6af4e0-77ea-48c5-b162-3d714e35bb26] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000001770] [maxKey=74800000000000007f5f728000000000001b57] [2025/04/04 10:35:46.601 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/6b6af4e0-77ea-48c5-b162-3d714e35bb26] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=13.074329ms] [write-speed(bytes/s)=5.908MiB] [2025/04/04 10:35:46.601 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/6b6af4e0-77ea-48c5-b162-3d714e35bb26] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=349.822µs] [write-time=13.218256ms] [sort-speed(kv/s)=2858596.6577] [writer-id=index/1/6b6af4e0-77ea-48c5-b162-3d714e35bb26] [2025/04/04 10:35:46.601 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/6b6af4e0-77ea-48c5-b162-3d714e35bb26] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d363030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d363939ff3900000000000000f8] [2025/04/04 10:35:46.601 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=6] [2025/04/04 10:35:46.604 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=33] [takeTime=73.319881ms] [] [2025/04/04 10:35:46.604 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=33] [step=encode] [takeTime=73.503183ms] [] [2025/04/04 10:35:46.627 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=34] [step=encode] [2025/04/04 10:35:46.627 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=34] [2025/04/04 10:35:46.630 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9bf5a22c-7a78-405d-833e-6681a222b544] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.630 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4a123e24-9565-45fa-9810-1673a02f7ccf] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.630 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/841941ab-7ff2-406a-b6d6-4e9871e5d888] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.630 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e9c8881b-38af-4cfb-9632-d2acd08b7088] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.630 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:35:46.630 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/6c388c80-d404-44fe-9f48-c461ba26b1ee] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.630 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/53a4aefa-756d-4697-a1e2-bffe6932bb41] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.630 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/df35b887-6df1-4440-bb8d-66e31c3ac41c] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.632 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.7.csv:0] [2025/04/04 10:35:46.673 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.7.csv:0] [readDur=7.530904ms] [encodeDur=28.533326ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.284375ms] [type=file] [takeTime=40.806766ms] [] [2025/04/04 10:35:46.686 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/78c1bdc2-507d-45c8-8da6-97ac71854481] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=12.678486ms] [write-speed(bytes/s)=3.987MiB] [2025/04/04 10:35:46.686 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/78c1bdc2-507d-45c8-8da6-97ac71854481] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=342.553µs] [write-time=12.78974ms] [sort-speed(kv/s)=2919256.2903] [writer-id=data/78c1bdc2-507d-45c8-8da6-97ac71854481] [2025/04/04 10:35:46.686 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/78c1bdc2-507d-45c8-8da6-97ac71854481] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000001b58] [maxKey=74800000000000007f5f728000000000001f3f] [2025/04/04 10:35:46.701 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/78c1bdc2-507d-45c8-8da6-97ac71854481] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=14.007177ms] [write-speed(bytes/s)=5.515MiB] [2025/04/04 10:35:46.701 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/78c1bdc2-507d-45c8-8da6-97ac71854481] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=365.957µs] [write-time=14.12802ms] [sort-speed(kv/s)=2732561.4758] [writer-id=index/1/78c1bdc2-507d-45c8-8da6-97ac71854481] [2025/04/04 10:35:46.701 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/78c1bdc2-507d-45c8-8da6-97ac71854481] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d373030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d373939ff3900000000000000f8] [2025/04/04 10:35:46.701 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=7] [2025/04/04 10:35:46.704 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=34] [takeTime=76.775232ms] [] [2025/04/04 10:35:46.704 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=34] [step=encode] [takeTime=76.973114ms] [] [2025/04/04 10:35:46.726 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=35] [step=encode] [2025/04/04 10:35:46.727 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=35] [2025/04/04 10:35:46.729 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/bbbe6569-a191-4beb-98e2-c2ab0a226df9] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.729 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c6fe0dfb-8ccd-4f1c-9e3d-aaae2ed06019] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.729 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4c438926-0fe4-4da9-b0dc-00942a0637da] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.729 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:35:46.729 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1c78e5d8-129f-4e19-98fc-f6daa099ed31] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.729 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/631c098f-994e-40a6-add4-b1147a5bca4c] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.729 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4dc53a75-05cd-46a6-8ece-fd220a718a38] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.729 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4c926465-0929-4134-9c65-7c9ddbeddf21] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.731 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.0.csv:0] [2025/04/04 10:35:46.773 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.0.csv:0] [readDur=7.608346ms] [encodeDur=28.434562ms] [checksum="{cksum=14807964115588225436,size=98880,kvs=2000}"] [deliverDur=2.261245ms] [type=file] [takeTime=41.950279ms] [] [2025/04/04 10:35:46.786 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/e3bfd976-af8c-4d1c-b0a0-01d141e79132] [sequence-number=0] [bytes=51890] [stat-size=74] [write-time=12.461631ms] [write-speed(bytes/s)=3.971MiB] [2025/04/04 10:35:46.787 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/e3bfd976-af8c-4d1c-b0a0-01d141e79132] [sequence-number=0] [bytes=51890] [kv-cnt=1000] [sort-time=379.207µs] [write-time=12.583785ms] [sort-speed(kv/s)=2637082.1214] [writer-id=data/e3bfd976-af8c-4d1c-b0a0-01d141e79132] [2025/04/04 10:35:46.787 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e3bfd976-af8c-4d1c-b0a0-01d141e79132] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000000000] [maxKey=74800000000000007f5f7280000000000003e7] [2025/04/04 10:35:46.805 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/e3bfd976-af8c-4d1c-b0a0-01d141e79132] [sequence-number=0] [bytes=78990] [stat-size=103] [write-time=13.572375ms] [write-speed(bytes/s)=5.55MiB] [2025/04/04 10:35:46.805 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/e3bfd976-af8c-4d1c-b0a0-01d141e79132] [sequence-number=0] [bytes=78990] [kv-cnt=1000] [sort-time=4.147817ms] [write-time=13.703296ms] [sort-speed(kv/s)=241090.6749] [writer-id=index/1/e3bfd976-af8c-4d1c-b0a0-01d141e79132] [2025/04/04 10:35:46.805 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/e3bfd976-af8c-4d1c-b0a0-01d141e79132] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d300000fd] [maxKey=74800000000000007f5f69800000000000000101746573742d393939ff0000000000000000f7] [2025/04/04 10:35:46.805 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=0] [2025/04/04 10:35:46.808 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=35] [takeTime=81.318214ms] [] [2025/04/04 10:35:46.808 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=35] [step=encode] [takeTime=81.838831ms] [] [2025/04/04 10:35:46.831 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=36] [step=encode] [2025/04/04 10:35:46.831 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=36] [2025/04/04 10:35:46.833 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/770edb23-7cfd-4555-b539-2518acacc5c1] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.833 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/96736936-2735-4c1e-8518-6e4d619b6cc8] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.833 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/73c15a74-2ba2-4408-8dad-5a1c3d45e573] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.833 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/3e1d8003-f016-4939-b585-b97239211f12] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.833 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/0d1c17f9-238d-4c89-abc1-bcb4ebe35f12] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.833 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fef4ebd2-360a-4d9e-b9a1-ca4387431c9a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.833 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:35:46.833 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c42d11d0-a2a3-40ea-bd77-deface8ad661] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:35:46.836 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.3.csv:0] [2025/04/04 10:35:46.897 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.3.csv:0] [readDur=7.541832ms] [encodeDur=28.90597ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=21.07996ms] [type=file] [takeTime=60.120422ms] [] [2025/04/04 10:35:46.928 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/926da5e5-8fd2-46c7-b667-0e41346efe2d] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=30.880272ms] [write-speed(bytes/s)=1.637MiB] [2025/04/04 10:35:46.928 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/926da5e5-8fd2-46c7-b667-0e41346efe2d] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=353.024µs] [write-time=31.004338ms] [sort-speed(kv/s)=2832668.6004] [writer-id=data/926da5e5-8fd2-46c7-b667-0e41346efe2d] [2025/04/04 10:35:46.928 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/926da5e5-8fd2-46c7-b667-0e41346efe2d] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000000bb8] [maxKey=74800000000000007f5f728000000000000f9f] [2025/04/04 10:35:46.966 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/926da5e5-8fd2-46c7-b667-0e41346efe2d] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=36.911246ms] [write-speed(bytes/s)=2.093MiB] [2025/04/04 10:35:46.966 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/926da5e5-8fd2-46c7-b667-0e41346efe2d] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=387.003µs] [write-time=37.030331ms] [sort-speed(kv/s)=2583959.2975] [writer-id=index/1/926da5e5-8fd2-46c7-b667-0e41346efe2d] [2025/04/04 10:35:46.966 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/926da5e5-8fd2-46c7-b667-0e41346efe2d] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d333030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d333939ff3900000000000000f8] [2025/04/04 10:35:46.966 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=3] [2025/04/04 10:35:46.983 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=36] [takeTime=151.790377ms] [] [2025/04/04 10:35:46.983 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=36] [step=encode] [takeTime=152.269067ms] [] [2025/04/04 10:35:47.025 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=encode] [next-step=merge-sort] [2025/04/04 10:35:47.027 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:47.028 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=encode] [next-step=merge-sort] [2025/04/04 10:35:47.034 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:47.035 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:47.056 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=5] [kv-group=1] [2025/04/04 10:35:47.056 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=5] [kv-group=data] [2025/04/04 10:35:47.056 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:47.057 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:47.060 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=encode] [next-step=merge-sort] [subtask-count=0] [2025/04/04 10:35:47.060 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=merge-sort] [concurrency=8] [subtasks=0] [2025/04/04 10:35:47.126 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=merge-sort] [next-step=ingest] [2025/04/04 10:35:47.127 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:47.127 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:35:47.127 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=encode] [2025/04/04 10:35:47.128 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=merge-sort] [next-step=ingest] [2025/04/04 10:35:47.128 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:47.128 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:47.128 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:47.128 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:47.128 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:47.128 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:47.128 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:47.128 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:47.128 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:47.128 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-21] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:47.128 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:47.129 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:47.131 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:47.131 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:47.131 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:47.131 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:47.131 +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.186825141s] [] [2025/04/04 10:35:47.131 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/04 10:35:47.144 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:47.146 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:47.164 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:47.165 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:47.165 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:47.166 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:47.166 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:47.166 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:47.166 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:47.166 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:47.166 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:47.167 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:47.167 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:47.171 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:47.171 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:47.171 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:47.171 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:47.171 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:47.171 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:47.171 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:47.171 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:47.171 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-22] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:47.171 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:47.171 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:47.171 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:47.173 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 10:35:47.173 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:35:47.178 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007f5f728000000000000000] [endKey=74800000000000007f5f728000000005f5e0ff00] [dataFiles=10] [2025/04/04 10:35:47.178 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:35:47.180 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:47.181 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:47.182 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:47.182 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:47.182 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:47.182 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:47.182 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:47.182 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:47.183 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:47.183 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:47.183 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:47.186 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:47.186 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:47.186 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:47.186 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:47.186 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:47.186 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:47.186 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:47.186 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:47.186 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:47.186 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:47.186 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:47.186 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-23] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:47.188 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 10:35:47.188 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:35:47.193 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007f5f69800000000000000101746573742d300000fd] [endKey=74800000000000007f5f69800000000000000101746573742d393939ff3900000000000000f800] [dataFiles=10] [2025/04/04 10:35:47.193 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:35:47.193 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:47.194 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:47.210 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=merge-sort] [next-step=ingest] [subtask-count=2] [2025/04/04 10:35:47.210 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=ingest] [concurrency=8] [subtasks=2] [2025/04/04 10:35:47.250 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:35:47.272 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:47.273 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:47.281 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:47.281 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:47.282 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:47.282 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:47.282 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:47.282 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:47.282 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:47.282 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:47.282 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:47.283 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:47.298 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:47.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 10:35:47.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 10:35:47.300 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 10:35:47.310 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=37] [step=ingest] [2025/04/04 10:35:47.313 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=5] [step=ingest] [subtask-id=37] [kv-group=data] [2025/04/04 10:35:47.313 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:47.314 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:35:47.318 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007F5F728000000000000000] [endKey=74800000000000007F5F728000000005F5E0FF00] [len(keys)=2] [] [2025/04/04 10:35:47.318 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:47.340 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=82e342e1-5b86-5da8-9a1f-fbfebae10a53] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 10:35:47.340 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:47.340 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:35:47.341 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7F5F728000000000FF0000000000000000FA] [end=7480000000000000FF7F5F728000000005FFF5E0FF0000000000FC] [2025/04/04 10:35:47.341 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.391µs] [2025/04/04 10:35:47.341 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=854.591µs] [] [2025/04/04 10:35:47.341 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:35:47.341 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:35:47.341 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=10] [stat-file-count=10] [start-key=74800000000000007f5f728000000000000000] [end-key=74800000000000007f5f728000000005f5e0ff00] [2025/04/04 10:35:47.341 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:35:47.347 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=6.19593ms] [] [2025/04/04 10:35:47.348 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:35:47.356 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:47.357 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=15.408611ms] [] [2025/04/04 10:35:47.357 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10001] [droppedSize=0] [2025/04/04 10:35:47.359 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=17.415081ms] [droppedSize=0] [2025/04/04 10:35:47.368 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=9.589268ms] [2025/04/04 10:35:47.369 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007f5f728000000000000000] [endOfAllRanges=74800000000000007f5f728000000005f5e0ff00] [startKeyOfFirstRegion=7480000000000000ff7f5f728000000000ff0000000000000000fa] [endKeyOfLastRegion=7800000000000000fb] [2025/04/04 10:35:47.392 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=82e342e1-5b86-5da8-9a1f-fbfebae10a53] [size=107374182400] [kvs=0] [importedSize=368926] [importedCount=10001] [2025/04/04 10:35:47.395 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=ingest] [subtask-id=37] [kv-group=data] [takeTime=82.759092ms] [] [2025/04/04 10:35:47.396 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=37] [step=ingest] [takeTime=85.198475ms] [] [2025/04/04 10:35:47.418 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=38] [step=ingest] [2025/04/04 10:35:47.420 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=5] [step=ingest] [subtask-id=38] [kv-group=1] [2025/04/04 10:35:47.420 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:47.421 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:35:47.425 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007F5F69800000000000000101746573742D300000FD] [endKey=74800000000000007F5F69800000000000000101746573742D393939FF3900000000000000F800] [len(keys)=2] [] [2025/04/04 10:35:47.425 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:47.446 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=68cc56fc-cbcc-5dee-917f-fd1e8e404a8f] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 10:35:47.447 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:47.447 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:35:47.447 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7F5F698000000000FF0000010174657374FF2D300000FD000000FC] [end=7480000000000000FF7F5F698000000000FF0000010174657374FF2D393939FF390000FF0000000000F80000FF0000000000000000F7] [2025/04/04 10:35:47.447 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.304µs] [2025/04/04 10:35:47.447 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=746.995µs] [] [2025/04/04 10:35:47.448 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:35:47.448 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:35:47.448 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=10] [stat-file-count=10] [start-key=74800000000000007f5f69800000000000000101746573742d300000fd] [end-key=74800000000000007f5f69800000000000000101746573742d393939ff3900000000000000f800] [2025/04/04 10:35:47.448 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:35:47.454 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=6.488287ms] [] [2025/04/04 10:35:47.454 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:35:47.465 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:47.466 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=18.261404ms] [] [2025/04/04 10:35:47.466 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10001] [droppedSize=0] [2025/04/04 10:35:47.468 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=19.92638ms] [droppedSize=0] [2025/04/04 10:35:47.482 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=14.629422ms] [2025/04/04 10:35:47.482 +00:00] [ERROR] [local.go:1585] ["do import meets error"] [category=ddl-ingest] [error="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [errorVerbose="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).loadBatchRegionData\n\tpkg/lightning/backend/external/engine.go:370\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).LoadIngestData\n\tpkg/lightning/backend/external/engine.go:447\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.func2\n\tpkg/lightning/backend/local/local.go:1016\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.(*ErrorGroupWithRecover).Go.func4\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:47.485 +00:00] [ERROR] [task_executor.go:447] ["run subtask failed"] [type=ImportInto] [task-id=5] [step=ingest] [subtask-id=38] [kv-group=1] [takeTime=64.750867ms] [error="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*writeAndIngestStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:447\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*writeAndIngestStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:478\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:35:47.485 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=38] [step=ingest] [takeTime=67.085544ms] [error="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [errorVerbose="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).loadBatchRegionData\n\tpkg/lightning/backend/external/engine.go:370\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).LoadIngestData\n\tpkg/lightning/backend/external/engine.go:447\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.func2\n\tpkg/lightning/backend/local/local.go:1016\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.(*ErrorGroupWithRecover).Go.func4\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:47.485 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [error="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [errorVerbose="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).loadBatchRegionData\n\tpkg/lightning/backend/external/engine.go:370\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).LoadIngestData\n\tpkg/lightning/backend/external/engine.go:447\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.func2\n\tpkg/lightning/backend/local/local.go:1016\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.(*ErrorGroupWithRecover).Go.func4\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:47.492 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [error="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [errorVerbose="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).loadBatchRegionData\n\tpkg/lightning/backend/external/engine.go:370\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).LoadIngestData\n\tpkg/lightning/backend/external/engine.go:447\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.func2\n\tpkg/lightning/backend/local/local.go:1016\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.(*ErrorGroupWithRecover).Go.func4\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:35:47.530 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7\\\"}\"]"] [2025/04/04 10:35:47.543 +00:00] [INFO] [task_executor.go:515] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=ingest] [2025/04/04 10:35:47.546 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:47.546 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:47.546 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:47.546 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:47.546 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:47.546 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:47.546 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:47.546 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:47.546 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:47.546 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-24] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:47.546 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:47.546 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:47.548 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:47.548 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:47.548 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:47.548 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:47.548 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=247.84183ms] [] [2025/04/04 10:35:47.548 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/04 10:35:47.626 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=5] [step=ingest] [state=reverting] [error="[0]duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [2025/04/04 10:35:47.629 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=5] [2025/04/04 10:35:47.721 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2025/04/04 10:35:47.727 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:47.727 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=5] [2025/04/04 10:35:47.728 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=5] [2025/04/04 10:35:47.729 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:47.730 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:47.818 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=5] [error="[0]duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest4/importintotest4_test.(*mockGCSSuite).TestGlobalSortUniqueKeyConflict\n\ttests/realtikvtest/importintotest4/global_sort_test.go:215\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 10:35:47.819 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 2.190910615\n# Parse_time: 0.00018356\n# Compile_time: 0.00057597\n# Rewrite_time: 0.000105346\n# Optimize_time: 0.000445124\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('RvBFMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjIuMTlzLCBvcGVuOjY5OW5zLCBjbG9zZTo4MTlucywgbG9vcHM6MQlOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('X/BMClsKDEltcG9ydEludG9fMjgBQAFSA04vQVosdGltZToyLjE5cywgb3Blbjo2OTlucywgY2xvc2U6ODE5bnMsIGxvb3BzOjFw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000033716\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.50s) === NAME TestImportInto === RUN TestImportInto/TestSplitFile [2025/04/04 10:35:47.824 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=gs_multi_files] [sql="drop database if exists split_file"] [user=] [2025/04/04 10:35:47.838 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:130, Type:create schema, State:queueing, SchemaState:none, SchemaID:129, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:47.838 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:130, Type:create schema, State:queueing, SchemaState:none, SchemaID:129, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database split_file"] [2025/04/04 10:35:47.844 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=2] [job="ID:130, Type:create schema, State:queueing, SchemaState:none, SchemaID:129, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.980 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=893.167µs] [gotSchemaVersion=67] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:47.985 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=67] [2025/04/04 10:35:47.987 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=11.002218ms] [job="ID:130, Type:create schema, State:done, SchemaState:public, SchemaID:129, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.000 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=130] [conn=2] [job="ID:130, Type:create schema, State:synced, SchemaState:public, SchemaID:129, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.015 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=130] [2025/04/04 10:35:48.016 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=67] [cur_db=gs_multi_files] [sql="create database split_file"] [user=] [2025/04/04 10:35:48.031 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=5] [takeTime=302.735551ms] [] [2025/04/04 10:35:48.035 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:132, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:48.035 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:132, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key , b varchar(100));"] [2025/04/04 10:35:48.042 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.047 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 131, Table Name: t)"] [2025/04/04 10:35:48.059 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:48.065 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=2.012449ms] [gotSchemaVersion=68] [phyTblIDs="[131]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:48.069 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=68] [2025/04/04 10:35: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=68] ["take time"=9.707269ms] [job="ID:132, Type:create table, State:done, SchemaState:public, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.083 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:create table, State:synced, SchemaState:public, SchemaID:129, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.095 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=132] [2025/04/04 10:35:48.095 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=68] [cur_db=split_file] [sql="create table t (a bigint primary key , b varchar(100));"] [user=] [2025/04/04 10:35:48.102 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:48.156 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://split-file/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"lines_terminated_by\":\"\\n\",\"split_file\":null}}"] [dist-task-enabled=true] [2025/04/04 10:35:48.177 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=6] [task-id=6] [data-size=6.133KiB] [thread-cnt=8] [global-sort=false] [2025/04/04 10:35:48.191 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=6] [2025/04/04 10:35:48.192 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:35:48.295 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:48.296 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:48.297 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [2025/04/04 10:35:48.304 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:48.307 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:48.307 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 10:35:48.312 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=2094] [RegionsCount=3] [BatchSize=1] [cost=5.20073ms] [2025/04/04 10:35:48.312 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=5.337012ms] [] [2025/04/04 10:35:48.312 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [subtask-count=3] [2025/04/04 10:35:48.312 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=3] [2025/04/04 10:35:48.348 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=6] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:35:48.368 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/04 10:35:48.369 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:48.376 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:48.376 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:48.377 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:48.377 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:48.377 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:48.377 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:48.377 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:48.377 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:48.378 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:48.378 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:48.390 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:48.392 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:48.392 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 10:35:48.392 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=6] [step=import] [data-buf-limit=1GiB] [per-index-buf-limit=341.3MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:48.392 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 10:35:48.392 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=6] [disk-quota=348.5GiB] [2025/04/04 10:35:48.400 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=39] [step=import] [2025/04/04 10:35:48.400 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=39] [2025/04/04 10:35:48.400 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=6] [mode=Import] [2025/04/04 10:35:48.404 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/04 10:35:48.408 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 10:35:48.408 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=131] [2025/04/04 10:35:48.419 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=6] [2025/04/04 10:35:48.472 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=131] [key=1.csv:4213] [2025/04/04 10:35:48.477 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=131] [key=1.csv:4213] [readDur=1.173616ms] [encodeDur=2.630396ms] [checksum="{cksum=8141207420748078351,size=5724,kvs=159}"] [deliverDur=575.2µs] [type=file] [takeTime=4.912812ms] [] [2025/04/04 10:35:48.479 +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/1f6bfed1-f0d5-4e87-b93b-a5a7529adeb0.sst] [firstKey=7480000000000000835F728000000000000155] [lastKey=7480000000000000835F7280000000000001F3] [2025/04/04 10:35:48.479 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=2] [2025/04/04 10:35:48.479 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=2] [2025/04/04 10:35:48.479 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/04 10:35:48.481 +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.091638ms] [] [2025/04/04 10:35:48.481 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [retryCnt=0] [2025/04/04 10:35:48.485 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:48.507 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=f3889bb6-7112-53f8-a71e-4117aeb30a89] ["region ranges"=1] [count=159] [size=5724] [2025/04/04 10:35:48.507 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:48.509 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000835f728000000000000155] [endOfAllRanges=7480000000000000835f7280000000000001f4] [startKeyOfFirstRegion=7480000000000000ff835f728000000000ff0001550000000000fa] [endKeyOfLastRegion=7480000000000000ff835f728000000000ff0001f40000000000fa] [2025/04/04 10:35:48.520 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=f3889bb6-7112-53f8-a71e-4117aeb30a89] [size=5724] [kvs=159] [importedSize=5724] [importedCount=159] [2025/04/04 10:35:48.522 +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=40.386471ms] [] [2025/04/04 10:35:48.522 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/04 10:35:48.523 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [takeTime=1.111007ms] [] [2025/04/04 10:35:48.523 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=2] [2025/04/04 10:35:48.523 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 10:35:48.525 +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.88533ms] [] [2025/04/04 10:35:48.525 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [retryCnt=0] [2025/04/04 10:35:48.528 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 10:35:48.529 +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.624036ms] [] [2025/04/04 10:35:48.529 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 10:35:48.530 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [takeTime=941.875µs] [] [2025/04/04 10:35:48.530 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=39] [takeTime=129.896805ms] [] [2025/04/04 10:35:48.530 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=39] [step=import] [takeTime=130.060518ms] [] [2025/04/04 10:35:48.553 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=40] [step=import] [2025/04/04 10:35:48.553 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=40] [2025/04/04 10:35:48.557 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/04 10:35:48.560 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 10:35:48.561 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=131] [2025/04/04 10:35:48.635 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=131] [key=1.csv:0] [2025/04/04 10:35:48.641 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=131] [key=1.csv:0] [readDur=1.918092ms] [encodeDur=3.00697ms] [checksum="{cksum=5150199586330057191,size=6334,kvs=179}"] [deliverDur=190.055µs] [type=file] [takeTime=5.67367ms] [] [2025/04/04 10:35:48.642 +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/2ed510c3-0410-4d1c-a57f-cfbf28ce8167.sst] [firstKey=7480000000000000835F728000000000000000] [lastKey=7480000000000000835F7280000000000000B2] [2025/04/04 10:35:48.642 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 10:35:48.643 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 10:35:48.643 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/04 10:35:48.645 +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.146307ms] [] [2025/04/04 10:35:48.645 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [retryCnt=0] [2025/04/04 10:35:48.649 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:48.671 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] ["region ranges"=1] [count=179] [size=6334] [2025/04/04 10:35:48.671 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:48.673 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000835f728000000000000000] [endOfAllRanges=7480000000000000835f7280000000000000b3] [startKeyOfFirstRegion=7480000000000000ff835f728000000000ff0000000000000000fa] [endKeyOfLastRegion=7480000000000000ff835f728000000000ff0000b30000000000fa] [2025/04/04 10:35:48.684 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [size=6334] [kvs=179] [importedSize=6334] [importedCount=179] [2025/04/04 10:35:48.686 +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.84339ms] [] [2025/04/04 10:35:48.686 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/04 10:35:48.687 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [takeTime=1.200764ms] [] [2025/04/04 10:35:48.687 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 10:35:48.687 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 10:35:48.689 +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.488311ms] [] [2025/04/04 10:35:48.689 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [retryCnt=0] [2025/04/04 10:35:48.692 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 10:35:48.692 +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.487833ms] [] [2025/04/04 10:35:48.692 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 10:35:48.693 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [takeTime=906.863µs] [] [2025/04/04 10:35:48.693 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=40] [takeTime=140.190796ms] [] [2025/04/04 10:35:48.695 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=40] [step=import] [takeTime=141.601191ms] [] [2025/04/04 10:35:48.717 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=41] [step=import] [2025/04/04 10:35:48.717 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=41] [2025/04/04 10:35:48.720 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/04 10:35:48.724 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 10:35:48.724 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=131] [2025/04/04 10:35:48.757 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=131] [key=1.csv:2107] [2025/04/04 10:35:48.762 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=131] [key=1.csv:2107] [readDur=1.034745ms] [encodeDur=3.069206ms] [checksum="{cksum=18015026156569992564,size=5832,kvs=162}"] [deliverDur=170.537µs] [type=file] [takeTime=4.824119ms] [] [2025/04/04 10:35:48.764 +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/f118630b-2695-436f-9339-73b4198c221c.sst] [firstKey=7480000000000000835F7280000000000000B3] [lastKey=7480000000000000835F728000000000000154] [2025/04/04 10:35:48.764 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=1] [2025/04/04 10:35:48.764 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=1] [2025/04/04 10:35:48.764 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/04 10:35:48.766 +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.108029ms] [] [2025/04/04 10:35:48.766 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [retryCnt=0] [2025/04/04 10:35:48.770 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:48.792 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=daa203f4-1887-5623-a6a4-248c6bef501a] ["region ranges"=1] [count=162] [size=5832] [2025/04/04 10:35:48.792 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:48.794 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000835f7280000000000000b3] [endOfAllRanges=7480000000000000835f728000000000000155] [startKeyOfFirstRegion=7480000000000000ff835f728000000000ff0000b30000000000fa] [endKeyOfLastRegion=7480000000000000ff835f728000000000ff0001550000000000fa] [2025/04/04 10:35:48.805 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=daa203f4-1887-5623-a6a4-248c6bef501a] [size=5832] [kvs=162] [importedSize=5832] [importedCount=162] [2025/04/04 10:35:48.807 +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=40.85965ms] [] [2025/04/04 10:35:48.807 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/04 10:35:48.808 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [takeTime=1.212019ms] [] [2025/04/04 10:35:48.808 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=1] [2025/04/04 10:35:48.808 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 10:35:48.810 +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.392232ms] [] [2025/04/04 10:35:48.810 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [retryCnt=0] [2025/04/04 10:35:48.813 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 10:35:48.814 +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.536417ms] [] [2025/04/04 10:35:48.814 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 10:35:48.814 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [takeTime=799.431µs] [] [2025/04/04 10:35:48.815 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=41] [takeTime=97.592233ms] [] [2025/04/04 10:35:48.815 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=41] [step=import] [takeTime=97.729224ms] [] [2025/04/04 10:35:48.898 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:48.900 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:48.900 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:48.901 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:48.936 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":500}"] [2025/04/04 10:35:48.937 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:48.937 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:35:48.958 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:35:48.958 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/04 10:35:48.964 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:48.964 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:48.964 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:48.964 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:48.964 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:48.964 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:48.964 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:48.964 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:48.964 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-25] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:48.964 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:48.964 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:48.964 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:48.966 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:48.966 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:48.966 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:48.966 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:48.966 +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=574.37366ms] [] [2025/04/04 10:35:48.966 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=6] [type=ImportInto] [2025/04/04 10:35:48.978 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=6] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:35:48.999 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 10:35:49.006 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=42] [step=post-process] [2025/04/04 10:35:49.006 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [2025/04/04 10:35:49.006 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [2025/04/04 10:35:49.006 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [2025/04/04 10:35:49.006 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [takeTime=1.717µs] [] [2025/04/04 10:35:49.007 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [groupId=-1] [size=17890] [kvs=500] [checksum=14807964115588225436] [2025/04/04 10:35:49.007 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [checksum="{cksum=14807964115588225436,size=17890,kvs=500}"] [2025/04/04 10:35:49.007 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [weight=30] [2025/04/04 10:35:49.007 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [concurrency=15] [2025/04/04 10:35:49.013 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=131] [physicalTableID=131] [indexID=-1] [checksum=14807964115588225436] [totalKvs=500] [totalBytes=17890] [2025/04/04 10:35:49.014 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:49.014 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [local="{cksum=14807964115588225436,size=17890,kvs=500}"] [2025/04/04 10:35:49.014 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [takeTime=7.271974ms] [] [2025/04/04 10:35:49.014 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [takeTime=7.393176ms] [] [2025/04/04 10:35:49.014 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=42] [step=post-process] [takeTime=7.508836ms] [] [2025/04/04 10:35:49.026 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:49.099 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:49.099 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=6] [step=post-process] [state=running] [] [2025/04/04 10:35:49.102 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=6] [2025/04/04 10:35:49.131 +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=132.379703ms] [] [2025/04/04 10:35:49.131 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=6] [type=ImportInto] [2025/04/04 10:35:49.194 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=6] [2025/04/04 10:35:49.200 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:49.200 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=6] [2025/04/04 10:35:49.221 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:49.304 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=02e093f4-c457-413d-ae85-5e7d1589bee2] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:49.304 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/04 10:35:49.304 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:35:49.394 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.2983471930000001\n# Parse_time: 0.000166749\n# Compile_time: 0.000555471\n# Rewrite_time: 0.000106768\n# Optimize_time: 0.000445124\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('RfBEMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuM3MsIG9wZW46OTY3bnMsIGNsb3NlOjgwM25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YPBMClwKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWit0aW1lOjEuM3MsIG9wZW46OTY3bnMsIGNsb3NlOjgwM25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000033716\nuse split_file;\nIMPORT INTO `split_file`.`t` FROM 'gs://split-file/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH split_file, lines_terminated_by=_UTF8MB4' ', __max_engine_size=_UTF8MB4'1';"] [2025/04/04 10:35:49.433 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:134, Type:truncate table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:49.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:35:49.433 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:134, Type:truncate table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:49.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:49.438 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=134] [conn=2] [job="ID:134, Type:truncate table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:49.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:49.445 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 133, Table Name: t, Old Table ID: 131, Old Table Name: t)"] [2025/04/04 10:35:49.460 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=1.75029ms] [gotSchemaVersion=69] [phyTblIDs="[131,133]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:35:49.464 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=69] [2025/04/04 10:35:49.466 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=69] ["take time"=9.410441ms] [job="ID:134, Type:truncate table, State:done, SchemaState:public, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:49.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:49.476 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=134] [tableIDs="[131]"] [comment="truncate table: table ID"] [2025/04/04 10:35:49.481 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=134] [jobType="truncate table"] [2025/04/04 10:35:49.482 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=134] [conn=2] [job="ID:134, Type:truncate table, State:synced, SchemaState:public, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:49.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:49.499 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=134] [2025/04/04 10:35:49.499 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=69] [cur_db=split_file] [sql="truncate table t"] [user=] [2025/04/04 10:35:49.505 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:49.552 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://split-file/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"lines_terminated_by\":\"\\n\",\"skip_rows\":\"1\",\"split_file\":null}}"] [dist-task-enabled=true] [2025/04/04 10:35:49.571 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=7] [task-id=7] [data-size=6.133KiB] [thread-cnt=8] [global-sort=false] [2025/04/04 10:35:49.584 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=7] [2025/04/04 10:35:49.584 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:35:49.687 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:49.688 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:49.689 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [2025/04/04 10:35:49.696 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:49.699 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:49.699 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 10:35:49.704 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=2094] [RegionsCount=3] [BatchSize=1] [cost=4.866789ms] [2025/04/04 10:35:49.704 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=5.010369ms] [] [2025/04/04 10:35:49.704 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [subtask-count=3] [2025/04/04 10:35:49.704 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=3] [2025/04/04 10:35:49.737 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=7] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:35:49.757 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/04 10:35:49.758 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:49.765 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:49.765 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:49.766 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:49.766 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:49.766 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:49.766 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:49.766 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:49.766 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:49.767 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:49.767 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:49.779 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:49.781 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:49.781 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 10:35:49.781 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=7] [step=import] [data-buf-limit=1GiB] [per-index-buf-limit=341.3MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:49.781 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 10:35:49.781 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=7] [disk-quota=348.5GiB] [2025/04/04 10:35:49.789 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=43] [step=import] [2025/04/04 10:35:49.789 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=43] [2025/04/04 10:35:49.792 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/04 10:35:49.792 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=7] [mode=Import] [2025/04/04 10:35:49.796 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 10:35:49.796 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/04 10:35:49.811 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=7] [2025/04/04 10:35:49.853 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=1.csv:2107] [2025/04/04 10:35:49.858 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=1.csv:2107] [readDur=1.15914ms] [encodeDur=3.248249ms] [checksum="{cksum=18015026156569992564,size=5832,kvs=162}"] [deliverDur=161.197µs] [type=file] [takeTime=5.19562ms] [] [2025/04/04 10:35:49.860 +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/86344643-2bfb-4e66-9dd1-2149a0357db8.sst] [firstKey=7480000000000000855F7280000000000000B3] [lastKey=7480000000000000855F728000000000000154] [2025/04/04 10:35:49.860 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=1] [2025/04/04 10:35:49.860 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=1] [2025/04/04 10:35:49.860 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/04 10:35:49.862 +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.088186ms] [] [2025/04/04 10:35:49.862 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [retryCnt=0] [2025/04/04 10:35:49.866 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:49.888 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=daa203f4-1887-5623-a6a4-248c6bef501a] ["region ranges"=1] [count=162] [size=5832] [2025/04/04 10:35:49.888 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:49.890 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000855f7280000000000000b3] [endOfAllRanges=7480000000000000855f728000000000000155] [startKeyOfFirstRegion=7480000000000000ff855f728000000000ff0000b30000000000fa] [endKeyOfLastRegion=7480000000000000ff855f728000000000ff0001550000000000fa] [2025/04/04 10:35:49.901 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=daa203f4-1887-5623-a6a4-248c6bef501a] [size=5832] [kvs=162] [importedSize=5832] [importedCount=162] [2025/04/04 10:35:49.902 +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=40.19117ms] [] [2025/04/04 10:35:49.902 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/04 10:35:49.904 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [takeTime=1.050975ms] [] [2025/04/04 10:35:49.904 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=1] [2025/04/04 10:35:49.904 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 10:35:49.906 +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.959298ms] [] [2025/04/04 10:35:49.906 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [retryCnt=0] [2025/04/04 10:35:49.909 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 10:35:49.909 +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.731939ms] [] [2025/04/04 10:35:49.910 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 10:35:49.910 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [takeTime=909.076µs] [] [2025/04/04 10:35:49.911 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=43] [takeTime=121.945214ms] [] [2025/04/04 10:35:49.911 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=43] [step=import] [takeTime=122.086844ms] [] [2025/04/04 10:35:49.933 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=44] [step=import] [2025/04/04 10:35:49.933 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=44] [2025/04/04 10:35:49.937 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/04 10:35:49.940 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 10:35:49.941 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/04 10:35:50.014 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=1.csv:4213] [2025/04/04 10:35:50.019 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=1.csv:4213] [readDur=1.026215ms] [encodeDur=2.972839ms] [checksum="{cksum=15344168976920314669,size=5724,kvs=159}"] [deliverDur=164.915µs] [type=file] [takeTime=4.68194ms] [] [2025/04/04 10:35:50.020 +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/5d4f7439-cdc3-479f-b3fa-c10b577e180c.sst] [firstKey=7480000000000000855F728000000000000155] [lastKey=7480000000000000855F7280000000000001F3] [2025/04/04 10:35:50.021 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=2] [2025/04/04 10:35:50.021 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=2] [2025/04/04 10:35:50.021 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/04 10:35:50.023 +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.127973ms] [] [2025/04/04 10:35:50.023 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [retryCnt=0] [2025/04/04 10:35:50.027 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:50.049 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=f3889bb6-7112-53f8-a71e-4117aeb30a89] ["region ranges"=1] [count=159] [size=5724] [2025/04/04 10:35:50.049 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:50.051 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000855f728000000000000155] [endOfAllRanges=7480000000000000855f7280000000000001f4] [startKeyOfFirstRegion=7480000000000000ff855f728000000000ff0001550000000000fa] [endKeyOfLastRegion=7480000000000000ff855f728000000000ff0001f40000000000fa] [2025/04/04 10:35:50.062 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=f3889bb6-7112-53f8-a71e-4117aeb30a89] [size=5724] [kvs=159] [importedSize=5724] [importedCount=159] [2025/04/04 10:35:50.064 +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=40.747093ms] [] [2025/04/04 10:35:50.064 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/04 10:35:50.065 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [takeTime=1.089618ms] [] [2025/04/04 10:35:50.065 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=2] [2025/04/04 10:35:50.065 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 10:35:50.067 +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.539492ms] [] [2025/04/04 10:35:50.067 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [retryCnt=0] [2025/04/04 10:35:50.070 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 10:35:50.070 +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.57796ms] [] [2025/04/04 10:35:50.070 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 10:35:50.071 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [takeTime=884.607µs] [] [2025/04/04 10:35:50.071 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=44] [takeTime=138.29627ms] [] [2025/04/04 10:35:50.072 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=44] [step=import] [takeTime=138.450907ms] [] [2025/04/04 10:35:50.094 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=45] [step=import] [2025/04/04 10:35:50.094 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=45] [2025/04/04 10:35:50.098 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/04 10:35:50.101 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 10:35:50.101 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/04 10:35:50.176 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=1.csv:0] [2025/04/04 10:35:50.182 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=1.csv:0] [readDur=1.080859ms] [encodeDur=3.409321ms] [checksum="{cksum=8361670451610043062,size=6300,kvs=178}"] [deliverDur=184.063µs] [type=file] [takeTime=5.250775ms] [] [2025/04/04 10:35:50.183 +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/7c60f87f-020a-40da-ab57-36e7a36bbd8d.sst] [firstKey=7480000000000000855F728000000000000001] [lastKey=7480000000000000855F7280000000000000B2] [2025/04/04 10:35:50.183 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 10:35:50.183 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 10:35:50.183 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/04 10:35:50.185 +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.974915ms] [] [2025/04/04 10:35:50.185 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [retryCnt=0] [2025/04/04 10:35:50.190 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:50.212 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] ["region ranges"=1] [count=178] [size=6300] [2025/04/04 10:35:50.212 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:50.213 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000855f728000000000000001] [endOfAllRanges=7480000000000000855f7280000000000000b3] [startKeyOfFirstRegion=7480000000000000ff855f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff855f728000000000ff0000b30000000000fa] [2025/04/04 10:35:50.225 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [size=6300] [kvs=178] [importedSize=6300] [importedCount=178] [2025/04/04 10:35:50.227 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [retryCnt=0] [takeTime=41.342785ms] [] [2025/04/04 10:35:50.227 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/04 10:35:50.228 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [takeTime=1.046112ms] [] [2025/04/04 10:35:50.228 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 10:35:50.228 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 10:35:50.229 +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.49149ms] [] [2025/04/04 10:35:50.230 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [retryCnt=0] [2025/04/04 10:35:50.233 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 10:35:50.233 +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.581324ms] [] [2025/04/04 10:35:50.233 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 10:35:50.234 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [takeTime=890.259µs] [] [2025/04/04 10:35:50.234 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=45] [takeTime=139.990893ms] [] [2025/04/04 10:35:50.234 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=45] [step=import] [takeTime=140.141404ms] [] [2025/04/04 10:35:50.291 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:50.292 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:50.293 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:50.294 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:50.323 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":499}"] [2025/04/04 10:35:50.325 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:50.325 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:35:50.359 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:35:50.366 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/04 10:35:50.370 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:50.370 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:50.370 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:50.371 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:50.371 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:50.371 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:50.371 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:50.371 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:50.371 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:50.371 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:50.371 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-26] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:50.371 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:50.373 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:50.373 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:50.373 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:50.373 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:50.373 +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=591.917174ms] [] [2025/04/04 10:35:50.374 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 10:35:50.381 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=46] [step=post-process] [2025/04/04 10:35:50.381 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [2025/04/04 10:35:50.381 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [2025/04/04 10:35:50.381 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [2025/04/04 10:35:50.381 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [takeTime=2.731µs] [] [2025/04/04 10:35:50.381 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [groupId=-1] [size=17856] [kvs=499] [checksum=6555504159897345263] [2025/04/04 10:35:50.381 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [checksum="{cksum=6555504159897345263,size=17856,kvs=499}"] [2025/04/04 10:35:50.381 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [weight=30] [2025/04/04 10:35:50.382 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [concurrency=15] [2025/04/04 10:35:50.387 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=133] [physicalTableID=133] [indexID=-1] [checksum=6555504159897345263] [totalKvs=499] [totalBytes=17856] [2025/04/04 10:35:50.387 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:50.387 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [local="{cksum=6555504159897345263,size=17856,kvs=499}"] [2025/04/04 10:35:50.387 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [takeTime=6.116857ms] [] [2025/04/04 10:35:50.387 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [takeTime=6.238092ms] [] [2025/04/04 10:35:50.388 +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=6.38342ms] [] [2025/04/04 10:35:50.398 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:50.492 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:50.492 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=7] [step=post-process] [state=running] [] [2025/04/04 10:35:50.494 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=7] [2025/04/04 10:35:50.524 +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=149.60796ms] [] [2025/04/04 10:35:50.524 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=7] [type=ImportInto] [2025/04/04 10:35:50.586 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=7] [2025/04/04 10:35:50.592 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:50.592 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=7] [2025/04/04 10:35:50.614 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:50.788 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.288017022\n# Parse_time: 0.000160032\n# Compile_time: 0.000564723\n# Rewrite_time: 0.000118617\n# Optimize_time: 0.000271213\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMjlzLCBvcGVuOjkyNm5zLCBjbG9zZTo4OTlucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMjlzLCBvcGVuOjkyNm5zLCBjbG9zZTo4OTlucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000033716\nIMPORT INTO `split_file`.`t` FROM 'gs://split-file/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH split_file, lines_terminated_by=_UTF8MB4' ', skip_rows=1, __max_engine_size=_UTF8MB4'1';"] [2025/04/04 10:35:50.810 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:50.810 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2 (a int primary key nonclustered, b varchar(100));"] [2025/04/04 10:35:50.816 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=136] [conn=2] [job="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.821 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 135, Table Name: t2)"] [2025/04/04 10:35:50.837 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=1.934712ms] [gotSchemaVersion=70] [phyTblIDs="[135]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:50.840 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=136] [version=70] [2025/04/04 10:35:50.842 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=9.052943ms] [job="ID:136, Type:create table, State:done, SchemaState:public, SchemaID:129, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.853 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=136] [conn=2] [job="ID:136, Type:create table, State:synced, SchemaState:public, SchemaID:129, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.865 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=136] [2025/04/04 10:35:50.866 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=70] [cur_db=split_file] [sql="create table t2 (a int primary key nonclustered, b varchar(100));"] [user=] [2025/04/04 10:35:50.872 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:50.919 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://split-file/2.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"lines_terminated_by\":\"\\r\\n\",\"split_file\":null}}"] [dist-task-enabled=true] [2025/04/04 10:35:50.938 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=8] [task-id=8] [data-size=26B] [thread-cnt=8] [global-sort=false] [2025/04/04 10:35:50.954 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=8] [2025/04/04 10:35:50.954 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:35:51.057 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:51.058 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:51.059 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=8] [curr-step=init] [next-step=import] [2025/04/04 10:35:51.067 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:51.069 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 10:35:51.069 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=26] [2025/04/04 10:35:51.074 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=9] [RegionsCount=2] [BatchSize=26] [cost=4.965942ms] [2025/04/04 10:35:51.074 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=5.077523ms] [] [2025/04/04 10:35:51.075 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=8] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:35:51.075 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 10:35:51.107 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=8] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:35:51.127 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=8] [step=import] [2025/04/04 10:35:51.127 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:51.135 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:35:51.135 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404353670991810] [2025/04/04 10:35:51.136 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:51.136 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:35:51.136 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:51.136 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:51.136 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:51.136 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:51.136 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:51.136 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:51.148 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:51.150 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:51.150 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=374.2GB] [2025/04/04 10:35:51.150 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=8] [step=import] [data-buf-limit=768MiB] [per-index-buf-limit=256MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:51.150 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=8] [disk-quota=348.5GiB] [2025/04/04 10:35:51.150 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 10:35:51.158 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=47] [step=import] [2025/04/04 10:35:51.158 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=8] [step=import] [subtask-id=47] [2025/04/04 10:35:51.162 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [2025/04/04 10:35:51.163 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=8] [mode=Import] [2025/04/04 10:35:51.166 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [2025/04/04 10:35:51.166 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=135] [2025/04/04 10:35:51.166 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=135] [2025/04/04 10:35:51.185 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=8] [2025/04/04 10:35:51.213 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=135] [key=2.csv:15] [2025/04/04 10:35:51.215 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=135] [key=2.csv:15] [readDur=82.703µs] [encodeDur=388.863µs] [checksum="{cksum=6641800212242329557,size=139,kvs=4}"] [deliverDur=410.398µs] [type=file] [takeTime=1.140037ms] [] [2025/04/04 10:35:51.216 +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/c849931b-8608-4a1c-ba2f-6a943e731fc8.sst] [firstKey=7480000000000000875F728000000000000005] [lastKey=7480000000000000875F728000000000000006] [2025/04/04 10:35:51.216 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=135] [key=2.csv:0] [2025/04/04 10:35:51.218 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=135] [key=2.csv:0] [readDur=956.538µs] [encodeDur=156.592µs] [checksum="{cksum=4172864564292863038,size=207,kvs=6}"] [deliverDur=179.813µs] [type=file] [takeTime=1.519223ms] [] [2025/04/04 10:35:51.219 +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/6cbd08d9-e983-4cc1-939f-442fd4f843e7.sst] [firstKey=7480000000000000875F728000000000000001] [lastKey=7480000000000000875F728000000000000003] [2025/04/04 10:35:51.219 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/04 10:35:51.219 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/04 10:35:51.219 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [2025/04/04 10:35:51.222 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [takeTime=2.443968ms] [] [2025/04/04 10:35:51.222 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [retryCnt=0] [2025/04/04 10:35:51.226 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:51.248 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=b7061b4d-cde2-5b63-bd61-55af03920c43] ["region ranges"=1] [count=5] [size=166] [2025/04/04 10:35:51.248 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:51.250 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000875f728000000000000001] [endOfAllRanges=7480000000000000875f728000000000000007] [startKeyOfFirstRegion=7480000000000000ff875f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff875f728000000000ff0000070000000000fa] [2025/04/04 10:35:51.261 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=b7061b4d-cde2-5b63-bd61-55af03920c43] [size=166] [kvs=5] [importedSize=166] [importedCount=5] [2025/04/04 10:35:51.262 +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.41865ms] [] [2025/04/04 10:35:51.262 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [2025/04/04 10:35:51.263 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [takeTime=1.161527ms] [] [2025/04/04 10:35:51.264 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/04 10:35:51.264 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [2025/04/04 10:35:51.265 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=2] [size=180] [count=5] [cost=1.045098ms] [file=/tmp/tidb/import-4000/8/3f0a0734-602d-5886-ba9a-bb426e401303.sst/60a8e26a-657c-4aa2-a981-2fb2124084fd.sst] [2025/04/04 10:35:51.265 +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/60a8e26a-657c-4aa2-a981-2fb2124084fd.sst] [firstKey=7480000000000000875F698000000000000001038000000000000001] [lastKey=7480000000000000875F698000000000000001038000000000000009] [2025/04/04 10:35:51.267 +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.170848ms] [] [2025/04/04 10:35:51.267 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [retryCnt=0] [2025/04/04 10:35:51.271 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:51.293 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=3f0a0734-602d-5886-ba9a-bb426e401303] ["region ranges"=1] [count=5] [size=180] [2025/04/04 10:35:51.293 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:51.295 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000875f698000000000000001038000000000000001] [endOfAllRanges=7480000000000000875f69800000000000000103800000000000000900] [startKeyOfFirstRegion=7480000000000000ff875f698000000000ff0000010380000000ff0000000100000000fb] [endKeyOfLastRegion=7480000000000000ff875f698000000000ff0000010380000000ff0000000900000000fc] [2025/04/04 10:35:51.305 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=3f0a0734-602d-5886-ba9a-bb426e401303] [size=180] [kvs=5] [importedSize=180] [importedCount=5] [2025/04/04 10:35:51.306 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [retryCnt=0] [takeTime=39.535914ms] [] [2025/04/04 10:35:51.307 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [2025/04/04 10:35:51.308 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [takeTime=1.082123ms] [] [2025/04/04 10:35:51.308 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=8] [step=import] [subtask-id=47] [takeTime=149.728526ms] [] [2025/04/04 10:35:51.308 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=47] [step=import] [takeTime=149.889786ms] [] [2025/04/04 10:35:51.362 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:51.363 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:51.364 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:51.364 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:51.392 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":5}"] [2025/04/04 10:35:51.394 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:51.394 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:35:51.427 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:35:51.433 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=8] [step=import] [2025/04/04 10:35:51.437 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:51.437 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:51.437 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:51.437 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:51.437 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:51.437 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:51.437 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:51.437 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:51.437 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-27] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:51.437 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:51.437 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:51.437 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:51.439 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:51.439 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:51.439 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:51.439 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:51.439 +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=288.979255ms] [] [2025/04/04 10:35:51.441 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 10:35:51.447 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=48] [step=post-process] [2025/04/04 10:35:51.447 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [2025/04/04 10:35:51.447 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [2025/04/04 10:35:51.448 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [2025/04/04 10:35:51.453 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [takeTime=5.177428ms] [] [2025/04/04 10:35:51.453 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [groupId=-1] [size=166] [kvs=5] [checksum=10656432631736324641] [2025/04/04 10:35:51.453 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [groupId=1] [size=180] [kvs=5] [checksum=17737380028387883466] [2025/04/04 10:35:51.453 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [checksum="{cksum=7333149010194901995,size=346,kvs=10}"] [2025/04/04 10:35:51.453 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [weight=30] [2025/04/04 10:35:51.453 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [concurrency=15] [2025/04/04 10:35:51.458 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=135] [physicalTableID=135] [indexID=-1] [checksum=10656432631736324641] [totalKvs=5] [totalBytes=166] [2025/04/04 10:35:51.459 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=135] [physicalTableID=135] [indexID=1] [checksum=17737380028387883466] [totalKvs=5] [totalBytes=180] [2025/04/04 10:35:51.460 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:51.460 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [local="{cksum=7333149010194901995,size=346,kvs=10}"] [2025/04/04 10:35:51.460 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [takeTime=12.238716ms] [] [2025/04/04 10:35:51.460 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [takeTime=12.375191ms] [] [2025/04/04 10:35:51.460 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=48] [step=post-process] [takeTime=12.521847ms] [] [2025/04/04 10:35:51.468 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:51.562 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:51.562 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=8] [step=post-process] [state=running] [] [2025/04/04 10:35:51.565 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=8] [2025/04/04 10:35:51.596 +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=155.30852ms] [] [2025/04/04 10:35:51.596 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=8] [type=ImportInto] [2025/04/04 10:35:51.657 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=8] [2025/04/04 10:35:51.662 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:51.662 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=8] [2025/04/04 10:35:51.683 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:51.854 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.988149177\n# Parse_time: 0.000129208\n# Compile_time: 0.000511728\n# Rewrite_time: 0.000103109\n# Optimize_time: 0.000250819\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ny4ybXMsIG9wZW46NjgxbnMsIGNsb3NlOjYxM25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ny4ybXMsIG9wZW46NjgxbnMsIGNsb3NlOjYxM25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000033716\nIMPORT INTO `split_file`.`t2` FROM 'gs://split-file/2.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH split_file, lines_terminated_by=_UTF8MB4' ';"] [2025/04/04 10:35:51.856 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t2] ["index name"=PRIMARY] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`split_file`.`t2`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `split_file`.`t2` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `split_file`.`t2` use index(`PRIMARY`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] --- PASS: TestImportInto/TestSplitFile (4.05s) === NAME TestImportInto [2025/04/04 10:35:51.890 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:35:51.890 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [] [2025/04/04 10:35:51.890 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:35:51.891 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:51.891 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:51.891 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:51.891 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=63.091µs] [2025/04/04 10:35:51.891 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=43.003µs] [2025/04/04 10:35:51.891 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=52.713µs] [2025/04/04 10:35:51.891 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=42.834µs] [2025/04/04 10:35:51.891 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=54.455µs] [2025/04/04 10:35:51.891 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=46.868µs] [2025/04/04 10:35:51.891 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=38.761µs] [2025/04/04 10:35:51.891 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=31.513µs] [2025/04/04 10:35:51.891 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=30.242µs] [2025/04/04 10:35:51.892 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=34.111µs] [2025/04/04 10:35:51.892 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:51.892 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:51.893 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:35:51.893 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:35:51.897 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=f58e11f5-c868-409a-9f2b-8fb6c2766764] ["take time"=6.910628ms] [2025/04/04 10:35:51.897 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:51.897 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:35:51.897 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:35:51.897 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/001d1d93-1482-4b23-99cd-e3f1e0cb5153] [watcherID=f771ce15-a39f-4995-858d-edb187d80917] [2025/04/04 10:35:51.898 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/001d1d93-1482-4b23-99cd-e3f1e0cb5153] [2025/04/04 10:35:51.898 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f58e11f5-c868-409a-9f2b-8fb6c2766764] [ttl-worker=task-manager] [ttl-worker=f58e11f5-c868-409a-9f2b-8fb6c2766764] [originalCount=4] [newCount=0] [2025/04/04 10:35:51.898 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:51.898 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:51.898 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:51.898 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:51.898 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f58e11f5-c868-409a-9f2b-8fb6c2766764] [ttl-worker=task-manager] [ttl-worker=f58e11f5-c868-409a-9f2b-8fb6c2766764] [originalCount=4] [newCount=0] [2025/04/04 10:35:51.901 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:51.901 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:51.901 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:51.901 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:51.903 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:51.903 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=832] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:35:51.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:35:51.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:51.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:51.904 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:51.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:51.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:35:51.904 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:51.904 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:35:51.904 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:35:51.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:51.904 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:35:51.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:35:51.904 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:35:51.904 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:51.904 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:35:51.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:51.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:35:51.904 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:35:51.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:51.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:51.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:35:51.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:51.905 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [] [2025/04/04 10:35:51.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:35:51.905 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:51.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:51.904 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:51.905 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:51.904 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=02e093f4-c457-413d-ae85-5e7d1589bee2] [] [2025/04/04 10:35:51.905 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:51.905 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=02e093f4-c457-413d-ae85-5e7d1589bee2] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:35:51.905 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=02e093f4-c457-413d-ae85-5e7d1589bee2] [2025/04/04 10:35:51.905 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:51.904 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:51.905 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=02e093f4-c457-413d-ae85-5e7d1589bee2] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:35:51.905 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:51.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:51.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:51.904 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:51.904 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:51.905 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:51.904 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:51.905 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:51.905 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:51.904 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:35:51.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:35:51.905 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:51.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:51.904 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:51.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:51.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:51.904 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:51.905 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:51.904 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:35:51.904 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:51.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:51.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:51.905 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:35:51.905 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:51.905 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:35:51.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:51.905 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:35:51.906 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:35:51.906 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:35:51.906 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:51.906 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=02e093f4-c457-413d-ae85-5e7d1589bee2] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:51.906 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:35:51.906 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:51.906 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:35:51.906 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:51.906 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:35:51.906 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [] [2025/04/04 10:35:51.906 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:51.906 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:35:51.906 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/04 10:35:51.906 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:51.906 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:51.906 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [2025/04/04 10:35:51.907 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [error="context canceled"] [2025/04/04 10:35:51.907 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=f58e11f5-c868-409a-9f2b-8fb6c2766764] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:51.910 +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"] [Pipeline] // timeout [2025/04/04 10:35:51.912 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=1] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:810\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243"] [2025/04/04 10:35:51.913 +00:00] [ERROR] [manager.go:373] ["task manager met error"] [server-id=:4000] [error="[127.0.0.1:20160](1) context canceled"] [errorVerbose="[127.0.0.1:20160](1) context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).extractTaskHandles\n\tpkg/executor/distsql.go:1142\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).fetchHandles\n\tpkg/executor/distsql.go:1064\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:807\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).logErr\n\tpkg/disttask/framework/taskexecutor/manager.go:373\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:174\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).logErr\n\tpkg/disttask/framework/taskexecutor/manager.go:373\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:174\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/04 10:35:51.913 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:35:51.913 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:35:51.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:51.968 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:35:51.968 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:51.980 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=89.424251ms] [2025/04/04 10:35:51.982 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:51.982 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:51.982 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:51.982 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:51.982 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:51.982 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:51.982 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:51.982 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:51.982 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:51.982 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:51.983 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:51.983 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:51.984 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestImportInto (19.52s) === NAME PASS ================================================================================ Target //tests/realtikvtest/importintotest4:importintotest4_test up-to-date: bazel-bin/tests/realtikvtest/importintotest4/importintotest4_test_/importintotest4_test INFO: Elapsed time: 32.516s, Critical Path: 14.13s INFO: 4640 processes: 4627 remote cache hit, 13 internal. INFO: Build completed successfully, 4640 total actions //tests/realtikvtest/importintotest4:importintotest4_test (cached) PASSED in 23.3s PASSED importintotest4_test.TestImportInto (19.5s) PASSED importintotest4_test.TestImportInto/TestGlobalSortBasic (5.7s) PASSED importintotest4_test.TestImportInto/TestGlobalSortMultiFiles (2.2s) PASSED importintotest4_test.TestImportInto/TestGlobalSortUniqueKeyConflict (2.5s) PASSED importintotest4_test.TestImportInto/TestSplitFile (4.1s) Test cases: finished with 5 passing and 0 failing out of 5 test cases Executed 0 out of 1 test: 1 test passes.  [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // dir Post stage [Pipeline] // node [Pipeline] } [4,542 / 4,568] [Prepa] GoCompilePkg pkg/session/session.a [Pipeline] // withCredentials [Pipeline] } [4,638 / 4,639] GoLink tests/realtikvtest/importintotest2/importintotest2_test_/importintotest2_test; 1s remote-cache [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [4,749 / 4,750] GoLink tests/realtikvtest/importintotest/importintotest_test_/importintotest_test; Downloading tests/realtikvtest/importintotest/importintotest_test_/importintotest_test, 101.1 MiB / 228.5 MiB; 0s remote-cache [Pipeline] { [Pipeline] junit Recording test results [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] // script [4,627 / 4,639] GoCompilePkg pkg/disttask/framework/testutil/testutil.a; 0s remote-cache ... (3 actions, 0 running) [Pipeline] } [Pipeline] } [Pipeline] // node INFO: From Testing //tests/realtikvtest/importintotest2:importintotest2_test: ==================== Test output for //tests/realtikvtest/importintotest2:importintotest2_test: === RUN TestImportInto [2025/04/04 10:35:39.195 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:39.196 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:39.197 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404354783641569] [2025/04/04 10:35:39.198 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:39.198 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:39.198 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:39.198 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:39.198 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:39.199 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:39.199 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:39.199 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:39.205 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:35:39.212 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:39.212 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:39.213 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:39.238 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:39.238 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:39.244 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:39.244 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:39.255 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:39.279 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404354783641569] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:35:39.302 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:35:39.342 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=287] ["lease id"=223196005d44cded] [2025/04/04 10:35:39.344 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:35:39.351 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).SetupSuite\n\ttests/realtikvtest/importintotest2/main_test.go:63\ngithub.com/stretchr/testify/suite.Run\n\texternal/com_github_stretchr_testify/suite/suite.go:157\ntests/realtikvtest/importintotest2/importintotest2_test.TestImportInto\n\ttests/realtikvtest/importintotest2/main_test.go:48\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 10:35:39.459 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=107.197811ms] [2025/04/04 10:35:39.459 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:39.460 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/04 10:35:39.460 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [runWorker=true] [jobVersion=v2] [2025/04/04 10:35:39.460 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:35:39.463 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:39.464 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:35:39.465 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 176613388288/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:35:39.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:39.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:39.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:39.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:39.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:39.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:39.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:39.465 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:35:39.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:39.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:39.465 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:39.465 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:39.465 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=89a1779f-e385-415f-baa7-636d9dd8972e] [2025/04/04 10:35:39.467 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d44cdf2] [ownerID=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [op=none] [2025/04/04 10:35:39.467 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:39.467 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [ownerKey=/tidb/ddl/fg/owner/223196005d44cdf2] [currRev=94] [2025/04/04 10:35:39.468 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:39.468 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=89a1779f-e385-415f-baa7-636d9dd8972e] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:39.468 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:35:39.469 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f1896005d44d259] [ownerID=89a1779f-e385-415f-baa7-636d9dd8972e] [op=none] [2025/04/04 10:35:39.469 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=89a1779f-e385-415f-baa7-636d9dd8972e] [2025/04/04 10:35:39.469 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=89a1779f-e385-415f-baa7-636d9dd8972e] [ownerKey=/tidb/br-stream/owner/6f1896005d44d259] [currRev=95] [2025/04/04 10:35:39.469 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d44cdf2] [ownerID=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [op=none] [2025/04/04 10:35:39.469 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [op=none] [2025/04/04 10:35:39.469 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:35:39.472 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 10:35:39.492 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:39.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:39.492 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:39.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/04 10:35:39.498 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:39.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:39.660 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=146.231646ms] [2025/04/04 10:35:39.660 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:39.667 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:39.667 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/04 10:35:39.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=1] ["take time"=157.287928ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:39.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:39.682 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:39.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:39.699 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/04 10:35:39.699 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/04 10:35:39.701 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/04 10:35:39.705 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=America/Los_Angeles] [2025/04/04 10:35:39.732 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:39.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:39.732 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:39.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/04 10:35:39.741 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:39.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:39.796 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.587895ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:39.799 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:39.799 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/04 10:35:39.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=2] ["take time"=14.62163ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:39.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:39.822 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:39.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:39.858 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/04 10:35:39.859 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 10:35:39.875 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:39.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2025/04/04 10:35:39.875 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:39.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:39.881 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:39.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:39.902 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.189946ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:39.906 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:39.906 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/04 10:35:39.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=3] ["take time"=9.434724ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:39.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:39.919 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:39.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:39.932 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/04 10:35:39.932 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2025/04/04 10:35:39.947 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:39.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:39.947 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:39.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [2025/04/04 10:35:39.954 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:39.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:39.978 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=2.984583ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:39.983 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:39.983 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/04 10:35:39.985 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=12.790288ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:39.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:39.998 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:39.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.012 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/04 10:35:40.012 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [user=] [2025/04/04 10:35:40.040 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:40.040 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [2025/04/04 10:35:40.047 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.092 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.48754ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:40.096 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:40.096 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/04 10:35:40.098 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=12.315918ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.113 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.134 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/04 10:35:40.134 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 10:35:40.150 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:40.150 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [2025/04/04 10:35:40.157 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.181 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.701267ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:40.185 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:40.185 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/04 10:35:40.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=6] ["take time"=9.728255ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.199 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.214 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/04 10:35:40.215 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 10:35:40.231 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [2025/04/04 10:35:40.231 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:40.238 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.262 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.851273ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:40.266 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:40.266 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/04 10:35:40.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=7] ["take time"=10.340762ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.281 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.296 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/04 10:35:40.296 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 10:35:40.310 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:40.310 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2025/04/04 10:35:40.316 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.335 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.958325ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:40.339 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:40.339 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/04 10:35:40.340 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=9.370609ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.352 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.365 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/04 10:35:40.365 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2025/04/04 10:35:40.379 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:40.379 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2025/04/04 10:35:40.385 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.404 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.955513ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:40.408 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:40.408 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/04 10:35:40.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=9] ["take time"=9.077101ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.420 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.432 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/04 10:35:40.433 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2025/04/04 10:35:40.448 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:40.448 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2025/04/04 10:35:40.454 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.466 +00:00] [WARN] [runaway.go:85] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:40.476 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.299172ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:40.479 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:40.479 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/04 10:35:40.481 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=9.384051ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.494 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.508 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/04 10:35:40.508 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2025/04/04 10:35:40.523 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:40.523 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2025/04/04 10:35:40.529 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.549 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.298812ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:40.552 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:40.552 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/04 10:35:40.554 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=8.876155ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.564 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.577 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/04 10:35:40.577 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2025/04/04 10:35:40.579 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:40.594 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:40.594 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 10:35:40.600 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.627 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.221339ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:40.630 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:40.630 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/04 10:35:40.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=12] ["take time"=10.209697ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.645 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.662 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/04 10:35:40.662 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 10:35:40.678 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:40.678 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2025/04/04 10:35:40.686 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.717 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.936795ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:40.721 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:40.721 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/04 10:35:40.723 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=10.430747ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.735 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.751 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/04 10:35:40.751 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2025/04/04 10:35:40.767 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:40.767 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2025/04/04 10:35:40.774 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.795 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.343846ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:40.799 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:40.799 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/04 10:35:40.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=14] ["take time"=9.588618ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.813 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.834 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/04 10:35:40.834 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 10:35:40.852 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:40.852 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2025/04/04 10:35:40.858 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.878 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.146539ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:40.882 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:40.882 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/04 10:35:40.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=15] ["take time"=9.121507ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.894 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.907 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/04 10:35:40.907 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 10:35:40.921 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:40.921 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2025/04/04 10:35:40.929 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.948 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=2.124807ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:40.952 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:40.952 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/04 10:35:40.953 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=8.934637ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.966 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.979 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/04 10:35:40.979 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 10:35:40.993 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:40.993 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2025/04/04 10:35:40.999 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.018 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.051043ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:41.022 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:41.022 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/04 10:35:41.023 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=8.631424ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.035 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.050 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/04 10:35:41.050 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/04 10:35:41.064 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:41.064 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [2025/04/04 10:35:41.070 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.090 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.21983ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:41.094 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:41.094 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/04 10:35:41.096 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=10.773387ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.109 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.123 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/04 10:35:41.123 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/04 10:35:41.144 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 10:35:41.144 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:41.150 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.177 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.191277ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:41.180 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:41.180 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/04 10:35:41.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=19] ["take time"=10.257154ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.195 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.205 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:35:41.214 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/04 10:35:41.214 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 10:35:41.236 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:41.236 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 10:35:41.242 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.262 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.22132ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:41.266 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:41.266 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/04 10:35:41.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=20] ["take time"=9.364511ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.279 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.293 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/04 10:35:41.293 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 10:35:41.306 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:41.306 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2025/04/04 10:35:41.311 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.333 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.786856ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:41.337 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:41.337 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/04 10:35:41.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=21] ["take time"=8.878487ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.349 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.360 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/04 10:35:41.360 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2025/04/04 10:35:41.372 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:41.372 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/04 10:35:41.378 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.393 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.397269ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:41.397 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:41.397 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/04 10:35:41.399 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=8.206283ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.409 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.419 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/04 10:35:41.420 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/04 10:35:41.435 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:41.435 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2025/04/04 10:35:41.440 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.464 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.583862ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:41.464 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:35:41.465 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2384] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/04 10:35:41.468 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:41.468 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/04 10:35:41.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=23] ["take time"=9.478459ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.482 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.497 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [Pipeline] } [2025/04/04 10:35:41.497 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2025/04/04 10:35:41.512 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:41.511 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 10:35:41.517 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.538 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.110946ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:41.541 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:41.541 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/04 10:35:41.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=24] ["take time"=9.718701ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.555 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.568 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/04 10:35:41.568 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 10:35:41.583 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:41.583 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [2025/04/04 10:35:41.589 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.613 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.407315ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:41.618 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:41.618 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/04 10:35:41.620 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=11.533531ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.631 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.645 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/04 10:35:41.646 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/04 10:35:41.661 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:41.661 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2025/04/04 10:35:41.666 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.692 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.923255ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:41.696 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:41.696 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/04 10:35:41.697 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=9.246899ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.708 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.721 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/04 10:35:41.721 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/04 10:35:41.736 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2025/04/04 10:35:41.736 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:41.742 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.762 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=2.533798ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:41.766 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:41.766 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/04 10:35:41.768 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=10.382364ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.779 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.791 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/04 10:35:41.791 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/04 10:35:41.805 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:41.805 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2025/04/04 10:35:41.810 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.829 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.860341ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:41.832 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:41.832 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/04 10:35:41.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=28] ["take time"=8.969775ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.845 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.858 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/04 10:35:41.858 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/04 10:35:41.860 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:41.872 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2025/04/04 10:35:41.872 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:41.878 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.900 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.180381ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:41.904 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:41.904 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/04 10:35:41.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=29] ["take time"=8.788926ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.915 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.929 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/04 10:35:41.930 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/04 10:35:41.945 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:41.945 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 10:35:41.951 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.976 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.478346ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:41.979 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:41.979 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/04 10:35:41.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=30] ["take time"=12.680194ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.994 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.009 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/04 10:35:42.009 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 10:35:42.023 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:42.023 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 10:35:42.030 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.051 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.465591ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:42.054 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:42.054 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/04 10:35:42.056 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=8.890132ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.066 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.080 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/04 10:35:42.081 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 10:35:42.100 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:42.100 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/04 10:35:42.106 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.135 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.455393ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:42.139 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:42.139 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/04 10:35:42.140 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=10.200105ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.153 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.172 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/04 10:35:42.172 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/04 10:35:42.185 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/04 10:35:42.185 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:42.190 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.207 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.698196ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:42.210 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:42.210 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/04 10:35:42.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=33] ["take time"=8.724036ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.223 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.234 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/04 10:35:42.234 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/04 10:35:42.251 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/04 10:35:42.251 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:42.258 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.283 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=3.823139ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:35:42.288 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:42.288 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/04 10:35:42.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=34] ["take time"=12.9882ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.302 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.316 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/04 10:35:42.330 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:42.330 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2025/04/04 10:35:42.336 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.358 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.302073ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:42.361 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:42.361 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/04 10:35:42.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=35] ["take time"=9.189874ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.375 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.389 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/04 10:35:42.389 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/04 10:35:42.402 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:42.402 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2025/04/04 10:35:42.408 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.426 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=2.005281ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:42.429 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:42.429 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/04 10:35:42.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=36] ["take time"=9.042986ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.442 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.454 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/04 10:35:42.454 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/04 10:35:42.474 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:42.474 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2025/04/04 10:35:42.481 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.500 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.939489ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:42.504 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:42.504 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/04 10:35:42.505 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=9.097352ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.516 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.528 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/04 10:35:42.529 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/04 10:35:42.546 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:42.546 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2025/04/04 10:35:42.552 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.582 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.832125ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:42.586 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:42.586 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/04 10:35:42.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=38] ["take time"=10.971875ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.601 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.619 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/04 10:35:42.619 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/04 10:35:42.636 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:42.636 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2025/04/04 10:35:42.643 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.670 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.246287ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:42.673 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:42.673 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/04 10:35:42.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=39] ["take time"=10.457284ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.687 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.703 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/04 10:35:42.704 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/04 10:35:42.721 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:42.721 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2025/04/04 10:35:42.729 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.758 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=4.200799ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:42.762 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:42.763 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/04 10:35:42.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=40] ["take time"=11.995096ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.778 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.796 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/04 10:35:42.797 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/04 10:35:42.818 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:42.818 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/04 10:35:42.825 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.857 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.933866ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:42.861 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:42.861 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/04 10:35:42.863 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=11.108531ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.876 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.895 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/04 10:35:42.895 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 10:35:42.913 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:42.913 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/04 10:35:42.919 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.950 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.787975ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:42.954 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:42.954 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/04 10:35:42.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=42] ["take time"=11.020564ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.969 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.987 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/04 10:35:42.988 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 10:35:43.005 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:43.005 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2025/04/04 10:35:43.011 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.041 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.457158ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:43.044 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:43.044 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/04 10:35:43.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=43] ["take time"=10.673252ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.059 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.076 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/04 10:35:43.076 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2025/04/04 10:35:43.092 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:43.092 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 10:35:43.098 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.122 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.925997ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:43.125 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:43.126 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/04 10:35:43.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=44] ["take time"=9.447731ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.139 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.154 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/04 10:35:43.154 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 10:35:43.170 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:43.170 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 10:35:43.176 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.200 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.806752ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:43.203 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:43.203 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/04 10:35:43.205 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=9.576613ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.217 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.232 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/04 10:35:43.232 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 10:35:43.251 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:43.251 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2025/04/04 10:35:43.257 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.291 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=4.388634ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:43.302 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:43.302 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/04 10:35:43.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=46] ["take time"=19.454786ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.320 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.340 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/04 10:35:43.341 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2025/04/04 10:35:43.357 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:43.357 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 10:35:43.364 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.388 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.805953ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:43.392 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:43.392 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/04 10:35:43.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=47] ["take time"=9.826699ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.406 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.422 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/04 10:35:43.422 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 10:35:43.436 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:43.436 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2025/04/04 10:35:43.442 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.462 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=2.071012ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:43.465 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:43.465 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/04 10:35:43.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=48] ["take time"=9.052748ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.473 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:35:43.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:43.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:43.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:43.479 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.491 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/04 10:35:43.491 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2025/04/04 10:35:43.504 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:43.504 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2025/04/04 10:35:43.510 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.529 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.301129ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:43.532 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:43.533 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/04 10:35:43.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=49] ["take time"=9.290898ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.545 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.559 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/04 10:35:43.559 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2025/04/04 10:35:43.560 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:43.574 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:43.575 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/04 10:35:43.580 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.601 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.269395ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:43.604 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:43.604 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/04 10:35:43.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=50] ["take time"=8.799426ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.617 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.630 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/04 10:35:43.630 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/04 10:35:43.641 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:43.641 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/04 10:35:43.647 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.660 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=671.981µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:43.663 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:43.663 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/04 10:35:43.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=51] ["take time"=7.559454ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.674 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.684 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/04 10:35:43.684 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/04 10:35:43.698 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:43.698 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2025/04/04 10:35:43.703 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.725 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.818289ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:35:43.728 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:43.728 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/04 10:35:43.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=52] ["take time"=11.344424ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.740 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.752 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/04 10:35:43.769 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:43.769 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/04 10:35:43.775 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.802 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=4.459236ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:43.806 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:43.807 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/04 10:35:43.808 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=12.331998ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.821 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.838 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/04 10:35:43.838 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/04 10:35:43.855 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:43.855 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/04 10:35:43.861 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.882 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.393054ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:43.886 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:43.886 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/04 10:35:43.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=54] ["take time"=9.584233ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.899 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.912 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/04 10:35:43.912 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/04 10:35:43.928 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:43.928 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/04 10:35:43.935 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.962 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.455067ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:43.965 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:43.966 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/04 10:35:43.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=55] ["take time"=10.046589ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.979 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.993 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/04 10:35:43.993 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/04 10:35:44.146 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.677911319s] [2025/04/04 10:35:44.149 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [] [2025/04/04 10:35:44.149 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:35:44.150 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:35:44.150 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:44.150 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:44.150 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:44.150 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=57.48µs] [2025/04/04 10:35:44.150 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=61.766µs] [2025/04/04 10:35:44.150 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=49.327µs] [2025/04/04 10:35:44.150 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=64.061µs] [2025/04/04 10:35:44.151 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=51.24µs] [2025/04/04 10:35:44.151 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=45.119µs] [2025/04/04 10:35:44.151 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=45.586µs] [2025/04/04 10:35:44.151 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=44.068µs] [2025/04/04 10:35:44.151 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=43.768µs] [2025/04/04 10:35:44.151 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=46.679µs] [2025/04/04 10:35:44.151 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:44.151 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:44.153 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:35:44.153 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:35:44.162 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] ["take time"=12.340932ms] [2025/04/04 10:35:44.162 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:44.163 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=287] [2025/04/04 10:35:44.163 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:35:44.163 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:35:44.163 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:35:44.163 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=89a1779f-e385-415f-baa7-636d9dd8972e] [] [2025/04/04 10:35:44.163 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:35:44.163 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:44.163 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:44.163 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=89a1779f-e385-415f-baa7-636d9dd8972e] [2025/04/04 10:35:44.163 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:35:44.163 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:44.163 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:44.163 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:44.163 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:44.163 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=89a1779f-e385-415f-baa7-636d9dd8972e] [2025/04/04 10:35:44.163 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:44.163 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=89a1779f-e385-415f-baa7-636d9dd8972e] [2025/04/04 10:35:44.164 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:35:44.164 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=89a1779f-e385-415f-baa7-636d9dd8972e] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:44.164 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:35:44.164 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:35:44.164 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:44.164 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:44.164 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:44.164 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:35:44.169 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=19.652459ms] [2025/04/04 10:35:44.169 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404354783641569] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:35:44.180 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:35:44.227 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=874] ["lease id"=6f1896005d44d2c7] [2025/04/04 10:35:44.230 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:35:44.353 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=120.446379ms] [2025/04/04 10:35:44.353 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:44.363 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [runWorker=true] [jobVersion=v2] [2025/04/04 10:35:44.363 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:35:44.365 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [lease=223196005d44cdf2] [2025/04/04 10:35:44.365 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:35:44.365 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 176385855488/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:35:44.366 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:44.366 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:44.366 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:44.366 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:44.366 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:44.366 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:44.366 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:44.366 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:44.366 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:35:44.366 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:44.366 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:44.366 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:44.366 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=b0fd9837-4f6f-4ea1-b389-1f3c18386212] [2025/04/04 10:35:44.368 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d44cdf2] [ownerID=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [op=none] [2025/04/04 10:35:44.368 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:44.368 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [ownerKey=/tidb/ddl/fg/owner/223196005d44cdf2] [currRev=273] [2025/04/04 10:35:44.369 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:44.369 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=b0fd9837-4f6f-4ea1-b389-1f3c18386212] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:44.369 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa96005d44ce6a] [ownerID=b0fd9837-4f6f-4ea1-b389-1f3c18386212] [op=none] [2025/04/04 10:35:44.369 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:35:44.370 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=b0fd9837-4f6f-4ea1-b389-1f3c18386212] [2025/04/04 10:35:44.370 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=b0fd9837-4f6f-4ea1-b389-1f3c18386212] [ownerKey=/tidb/br-stream/owner/3eaa96005d44ce6a] [currRev=274] [2025/04/04 10:35:44.370 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d44cdf2] [ownerID=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [op=none] [2025/04/04 10:35:44.370 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [op=none] [2025/04/04 10:35:44.370 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:35:44.378 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:44.379 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:44.379 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:35:44.381 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/6f1896005d44d2cf] [ownerID=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [op=none] [2025/04/04 10:35:44.381 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:44.381 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [ownerKey=/tidb/bindinfo/owner/6f1896005d44d2cf] [currRev=275] [2025/04/04 10:35:44.387 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/04 10:35:44.391 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:35:44.392 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:44.399 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:44.408 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:44.408 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:44.409 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:44.408 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:35:44.409 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:35:44.409 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:44.409 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:35:44.409 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:35:44.409 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:35:44.410 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:44.410 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:44.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:44.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:44.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:44.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:44.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:44.411 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:35:44.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:44.411 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:35:44.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:44.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:44.411 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/04 10:35:44.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:44.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:44.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:44.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:44.413 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa96005d44ce71] [ownerID=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [op=none] [2025/04/04 10:35:44.413 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:44.413 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [ownerKey=/tidb/stats/owner/3eaa96005d44ce71] [currRev=276] [2025/04/04 10:35:44.414 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=72] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/04 10:35:44.417 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/997e9827-67f0-4f88-a2e3-4e4859998c1d] [2025/04/04 10:35:44.417 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [ttl-worker=task-manager] [ttl-worker=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [originalCount=0] [newCount=4] [2025/04/04 10:35:44.417 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [ttl-worker=task-manager] [ttl-worker=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [originalCount=0] [newCount=4] [2025/04/04 10:35:44.417 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:44.418 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:35:44.426 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:44.426 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:35:44.426 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743762944426768536 [2025/04/04 10:35:44.427 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:35:44.434 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=24.742446ms] [2025/04/04 10:35:44.435 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:35:44.435 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:44.440 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743762944442287192 === RUN TestImportInto/TestCastNegativeToUnsigned [2025/04/04 10:35:44.446 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=] [sql="drop database if exists from_select"] [user=] [2025/04/04 10:35:44.460 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:44.460 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/04 10:35:44.465 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.482 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=751.894µs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:44.485 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/04 10:35:44.487 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=8.735145ms] [job="ID:113, Type:create schema, State:done, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.499 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:synced, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.514 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/04 10:35:44.514 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=] [sql="create database from_select"] [user=] [2025/04/04 10:35:44.528 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:44.528 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dt(id int unsigned)"] [2025/04/04 10:35:44.534 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.539 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 114, Table Name: dt)"] [2025/04/04 10:35:44.557 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=1.475648ms] [gotSchemaVersion=57] [phyTblIDs="[114]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:44.561 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=57] [2025/04/04 10:35:44.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=57] ["take time"=8.864474ms] [job="ID:115, Type:create table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.576 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.587 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/04 10:35:44.587 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=57] [cur_db=from_select] [sql="create table dt(id int unsigned)"] [user=] [2025/04/04 10:35:44.631 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=0d3dc811-e9b5-4bdc-a1c6-630927978aa5] [concurrency=2] [target-table=`from_select`.`dt`] [target-table-id=114] [2025/04/04 10:35:44.631 +00:00] [INFO] [table_import.go:119] ["import dir not exists, create it"] [table=dt] [import_dir=/tmp/tidb/import-4000] [2025/04/04 10:35:44.638 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:44.638 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404354783641569] [2025/04/04 10:35:44.639 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:44.639 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:44.639 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:44.639 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:44.639 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:44.639 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:44.640 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:44.640 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:44.658 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:44.660 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:44.660 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dt] [quota=373.5GB] [2025/04/04 10:35:44.665 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/04 10:35:44.668 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/04 10:35:44.669 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dt] [import-id=0d3dc811-e9b5-4bdc-a1c6-630927978aa5] [key=import-from-select] [2025/04/04 10:35:44.669 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dt] [import-id=0d3dc811-e9b5-4bdc-a1c6-630927978aa5] [key=import-from-select] [2025/04/04 10:35:44.669 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dt] [import-id=0d3dc811-e9b5-4bdc-a1c6-630927978aa5] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=259.776µs] [] [2025/04/04 10:35:44.669 +00:00] [ERROR] [chunk_process.go:334] ["process chunk failed"] [table=dt] [import-id=0d3dc811-e9b5-4bdc-a1c6-630927978aa5] [key=import-from-select] [takeTime=199.589µs] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file import-from-select at offset -1: [types:1690]constant -1 overflows int"] [stack="github.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func1\n\tpkg/executor/importer/chunk_process.go:334\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process\n\tpkg/executor/importer/chunk_process.go:354\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunkWithWriter\n\tpkg/executor/importer/engine_process.go:113\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunk\n\tpkg/executor/importer/engine_process.go:67\ngithub.com/pingcap/tidb/pkg/executor/importer.(*TableImporter).ImportSelectedRows.func2\n\tpkg/executor/importer/table_import.go:677\ngithub.com/pingcap/tidb/pkg/executor/importer.(*TableImporter).ImportSelectedRows.(*ErrorGroupWithRecover).Go.func3\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78"] [2025/04/04 10:35:44.669 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/04 10:35:44.671 +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.415015ms] [] [2025/04/04 10:35:44.671 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/04 10:35:44.672 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [takeTime=1.01195ms] [] [2025/04/04 10:35:44.672 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/04 10:35:44.673 +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.472475ms] [] [2025/04/04 10:35:44.674 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/04 10:35:44.674 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [takeTime=959.264µs] [] [2025/04/04 10:35:44.676 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:44.676 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:44.676 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:44.676 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:44.676 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:44.676 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:44.676 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:44.676 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:44.676 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:44.676 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:44.676 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:44.676 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:44.678 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:44.678 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:44.678 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:44.678 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:44.678 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:35:44.679 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=57] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file import-from-select at offset -1: [types:1690]constant -1 overflows int"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file import-from-select at offset -1: [types:1690]constant -1 overflows int\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"from_select\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 10:35:44.722 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=4f791a27-85b8-4cc0-8f51-b716fc43b503] [concurrency=2] [target-table=`from_select`.`dt`] [target-table-id=114] [2025/04/04 10:35:44.729 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:44.730 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404354783641569] [2025/04/04 10:35:44.730 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:44.730 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:44.730 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:44.730 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:44.730 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:44.730 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:44.731 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:44.731 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:44.743 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:44.745 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:44.745 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dt] [quota=373.5GB] [2025/04/04 10:35:44.748 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/04 10:35:44.752 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/04 10:35:44.753 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dt] [import-id=4f791a27-85b8-4cc0-8f51-b716fc43b503] [key=import-from-select] [2025/04/04 10:35:44.753 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dt] [import-id=4f791a27-85b8-4cc0-8f51-b716fc43b503] [key=import-from-select] [2025/04/04 10:35:44.753 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dt] [import-id=4f791a27-85b8-4cc0-8f51-b716fc43b503] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=227.19µs] [] [2025/04/04 10:35:44.753 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dt] [import-id=4f791a27-85b8-4cc0-8f51-b716fc43b503] [key=import-from-select] [readDur=9.947µs] [encodeDur=107.457µs] [checksum="{cksum=1186353398217297746,size=29,kvs=1}"] [deliverDur=225.892µs] [type=query] [takeTime=568.599µs] [] [2025/04/04 10:35:44.754 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/04 10:35:44.754 +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/4f791a27-85b8-4cc0-8f51-b716fc43b503/fcd3180d-f69e-5c83-84c0-56cb80b9aeb7.sst/1a15b2f9-d29e-44f7-b119-53e72805399f.sst] [firstKey=7480000000000000725F728000000000000001] [lastKey=7480000000000000725F728000000000000001] [2025/04/04 10:35:44.756 +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.219623ms] [] [2025/04/04 10:35:44.756 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [retryCnt=0] [2025/04/04 10:35:44.761 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:44.782 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] ["region ranges"=1] [count=1] [size=29] [2025/04/04 10:35:44.782 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:44.784 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f728000000000000001] [endOfAllRanges=7480000000000000725f728000000000000002] [startKeyOfFirstRegion=7480000000000000ff725f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff725f728000000000ff0000020000000000fa] [2025/04/04 10:35:44.796 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [size=29] [kvs=1] [importedSize=29] [importedCount=1] [2025/04/04 10:35:44.799 +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=42.29239ms] [] [2025/04/04 10:35:44.799 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/04 10:35:44.801 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [takeTime=2.168427ms] [] [2025/04/04 10:35:44.801 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [retryCnt=0] [2025/04/04 10:35:44.806 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/04 10:35:44.806 +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=5.065866ms] [] [2025/04/04 10:35:44.806 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dt] [import-id=4f791a27-85b8-4cc0-8f51-b716fc43b503] [checksum="{\"id=-1\"=\"{cksum=1186353398217297746,size=29,kvs=1}\"}"] [2025/04/04 10:35:44.806 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dt] [import-id=4f791a27-85b8-4cc0-8f51-b716fc43b503] [2025/04/04 10:35:44.813 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dt] [import-id=4f791a27-85b8-4cc0-8f51-b716fc43b503] [takeTime=6.847417ms] [] [2025/04/04 10:35:44.813 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dt] [import-id=4f791a27-85b8-4cc0-8f51-b716fc43b503] [checksum="{cksum=1186353398217297746,size=29,kvs=1}"] [2025/04/04 10:35:44.813 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dt] [import-id=4f791a27-85b8-4cc0-8f51-b716fc43b503] [weight=30] [2025/04/04 10:35:44.813 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dt] [import-id=4f791a27-85b8-4cc0-8f51-b716fc43b503] [concurrency=15] [2025/04/04 10:35:44.816 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=-1] [checksum=1186353398217297746] [totalKvs=1] [totalBytes=29] [2025/04/04 10:35:44.816 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:44.816 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dt] [import-id=4f791a27-85b8-4cc0-8f51-b716fc43b503] [local="{cksum=1186353398217297746,size=29,kvs=1}"] [2025/04/04 10:35:44.816 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dt] [import-id=4f791a27-85b8-4cc0-8f51-b716fc43b503] [checksum="{\"id=-1\"=\"{cksum=1186353398217297746,size=29,kvs=1}\"}"] [takeTime=9.674709ms] [] [2025/04/04 10:35:44.816 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/04 10:35:44.816 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [takeTime=8.295µs] [] [2025/04/04 10:35:44.816 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/04 10:35:44.818 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [takeTime=1.137644ms] [] [2025/04/04 10:35:44.818 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/04 10:35:44.818 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [takeTime=7.576µs] [] [2025/04/04 10:35:44.818 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/04 10:35:44.819 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [takeTime=930.63µs] [] [2025/04/04 10:35:44.822 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:44.822 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:44.822 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:44.822 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:44.822 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:44.822 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:44.822 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:44.822 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:44.822 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:44.822 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:44.822 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:44.822 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:44.824 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:44.824 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:44.824 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:44.824 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestCastNegativeToUnsigned (0.38s) === NAME TestImportInto === RUN TestImportInto/TestImportFromSelectBasic [2025/04/04 10:35:44.842 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:drop schema, State:queueing, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:44.842 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:116, Type:drop schema, State:queueing, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists from_select"] [2025/04/04 10:35:44.848 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=116] [conn=2] [job="ID:116, Type:drop schema, State:queueing, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.866 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=1.455405ms] [gotSchemaVersion=58] [phyTblIDs="[114]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:44.870 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=58] [2025/04/04 10:35:44.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=58] ["take time"=9.285369ms] [job="ID:116, Type:drop schema, State:running, SchemaState:write only, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.882 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=116] [conn=2] [job="ID:116, Type:drop schema, State:running, SchemaState:write only, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.896 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=131.355µs] [gotSchemaVersion=59] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:44.900 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=59] [2025/04/04 10:35:44.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=59] ["take time"=7.183712ms] [job="ID:116, Type:drop schema, State:running, SchemaState:delete only, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.910 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=116] [conn=2] [job="ID:116, Type:drop schema, State:running, SchemaState:delete only, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.916 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:35:44.927 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=123.847µs] [gotSchemaVersion=60] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:44.930 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=60] [2025/04/04 10:35:44.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=60] ["take time"=7.650615ms] [job="ID:116, Type:drop schema, State:done, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.942 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=116] [tableIDs="[114]"] [comment="drop schema: table IDs"] [2025/04/04 10:35:44.951 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=116] [jobType="drop schema"] [2025/04/04 10:35:44.952 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=116] [conn=2] [job="ID:116, Type:drop schema, State:synced, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.971 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=116] [2025/04/04 10:35:44.972 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=60] [cur_db=] [sql="drop database if exists from_select"] [user=] [2025/04/04 10:35:44.984 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:create schema, State:queueing, SchemaState:none, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:44.984 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:118, Type:create schema, State:queueing, SchemaState:none, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/04 10:35:44.989 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=2] [job="ID:118, Type:create schema, State:queueing, SchemaState:none, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.003 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=724.491µs] [gotSchemaVersion=61] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:45.007 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=118] [version=61] [2025/04/04 10:35:45.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=61] ["take time"=8.357578ms] [job="ID:118, Type:create schema, State:done, SchemaState:public, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.020 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=118] [conn=2] [job="ID:118, Type:create schema, State:synced, SchemaState:public, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.031 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=118] [2025/04/04 10:35:45.031 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=61] [cur_db=] [sql="create database from_select"] [user=] [2025/04/04 10:35:45.047 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.047 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table src(id int, v varchar(64))"] [2025/04/04 10:35:45.053 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.058 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 119, Table Name: src)"] [2025/04/04 10:35:45.073 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.584228ms] [gotSchemaVersion=62] [phyTblIDs="[119]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:45.077 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=62] [2025/04/04 10:35:45.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=62] ["take time"=8.658431ms] [job="ID:120, Type:create table, State:done, SchemaState:public, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.090 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:create table, State:synced, SchemaState:public, SchemaID:117, TableID:119, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.102 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=120] [2025/04/04 10:35:45.102 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=62] [cur_db=from_select] [sql="create table src(id int, v varchar(64))"] [user=] [2025/04/04 10:35:45.115 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dst(id int, v varchar(64))"] [2025/04/04 10:35:45.115 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.121 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=2] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.126 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 121, Table Name: dst)"] [2025/04/04 10:35:45.142 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=1.868574ms] [gotSchemaVersion=63] [phyTblIDs="[121]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:45.145 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=63] [2025/04/04 10:35:45.147 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=63] ["take time"=9.535597ms] [job="ID:122, Type:create table, State:done, SchemaState:public, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.159 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=122] [conn=2] [job="ID:122, Type:create table, State:synced, SchemaState:public, SchemaID:117, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.171 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=122] [2025/04/04 10:35:45.171 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=63] [cur_db=from_select] [sql="create table dst(id int, v varchar(64))"] [user=] [2025/04/04 10:35:45.179 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:1136]Column count doesn't match value count at row 1"] [errorVerbose="[planner:1136]Column count doesn't match value count at row 1\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4684\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectBasic\n\ttests/realtikvtest/importintotest2/from_select_test.go:36\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst FROM select id from src"] [2025/04/04 10:35:45.180 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:1136]Column count doesn't match value count at row 1"] [errorVerbose="[planner:1136]Column count doesn't match value count at row 1\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4684\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectBasic\n\ttests/realtikvtest/importintotest2/from_select_test.go:37\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst(id) FROM select * from src"] [2025/04/04 10:35:45.224 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=6c7aee61-0e06-4372-a678-02bfe23a3836] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=121] [2025/04/04 10:35:45.231 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:45.231 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404354783641569] [2025/04/04 10:35:45.231 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:45.231 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:45.231 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:45.231 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:45.232 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:45.232 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:45.232 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:45.232 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:45.244 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:45.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 10:35:45.245 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=373.5GB] [2025/04/04 10:35:45.249 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:45.252 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:45.291 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=6c7aee61-0e06-4372-a678-02bfe23a3836] [key=import-from-select] [2025/04/04 10:35:45.291 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=6c7aee61-0e06-4372-a678-02bfe23a3836] [key=import-from-select] [2025/04/04 10:35:45.292 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=6c7aee61-0e06-4372-a678-02bfe23a3836] [key=import-from-select] [readDur=79.387µs] [encodeDur=76.354µs] [checksum="{cksum=17110056284365407473,size=38,kvs=1}"] [deliverDur=306.072µs] [type=query] [takeTime=722.531µs] [] [2025/04/04 10:35:45.292 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=6c7aee61-0e06-4372-a678-02bfe23a3836] [key=import-from-select] [readDur=45.251µs] [encodeDur=274.315µs] [checksum="{cksum=12498867368188029873,size=114,kvs=3}"] [deliverDur=296.118µs] [type=query] [takeTime=943.825µs] [] [2025/04/04 10:35:45.292 +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/6c7aee61-0e06-4372-a678-02bfe23a3836/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/c1a60504-7656-4c13-b029-ebfd79180a87.sst] [firstKey=7480000000000000795F728000000000000003] [lastKey=7480000000000000795F728000000000000003] [2025/04/04 10:35:45.292 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:45.293 +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/6c7aee61-0e06-4372-a678-02bfe23a3836/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/92c0a791-dcd0-4175-83a2-90cf572cccb9.sst] [firstKey=7480000000000000795F728000000000000001] [lastKey=7480000000000000795F728000000000000004] [2025/04/04 10:35:45.296 +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.402148ms] [] [2025/04/04 10:35:45.296 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/04 10:35:45.300 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:45.322 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=4] [size=152] [2025/04/04 10:35:45.322 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:45.324 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000795f728000000000000001] [endOfAllRanges=7480000000000000795f728000000000000005] [startKeyOfFirstRegion=7480000000000000ff795f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff795f728000000000ff0000050000000000fa] [2025/04/04 10:35:45.338 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/04 10:35:45.340 +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.136692ms] [] [2025/04/04 10:35:45.340 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:45.342 +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.719237ms] [] [2025/04/04 10:35:45.342 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/04 10:35:45.346 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:45.346 +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.815783ms] [] [2025/04/04 10:35:45.346 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=6c7aee61-0e06-4372-a678-02bfe23a3836] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\"}"] [2025/04/04 10:35:45.346 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=6c7aee61-0e06-4372-a678-02bfe23a3836] [2025/04/04 10:35:45.353 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=6c7aee61-0e06-4372-a678-02bfe23a3836] [takeTime=6.484176ms] [] [2025/04/04 10:35:45.353 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=6c7aee61-0e06-4372-a678-02bfe23a3836] [checksum="{cksum=4613872053217128256,size=152,kvs=4}"] [2025/04/04 10:35:45.353 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=6c7aee61-0e06-4372-a678-02bfe23a3836] [weight=30] [2025/04/04 10:35:45.353 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=6c7aee61-0e06-4372-a678-02bfe23a3836] [concurrency=15] [2025/04/04 10:35:45.355 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=121] [physicalTableID=121] [indexID=-1] [checksum=4613872053217128256] [totalKvs=4] [totalBytes=152] [2025/04/04 10:35:45.355 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:45.355 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=6c7aee61-0e06-4372-a678-02bfe23a3836] [local="{cksum=4613872053217128256,size=152,kvs=4}"] [2025/04/04 10:35:45.355 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=6c7aee61-0e06-4372-a678-02bfe23a3836] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\"}"] [takeTime=9.307706ms] [] [2025/04/04 10:35:45.356 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:45.356 +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.821µs] [] [2025/04/04 10:35:45.356 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:45.357 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.228202ms] [] [2025/04/04 10:35:45.357 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:45.357 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=8.092µs] [] [2025/04/04 10:35:45.357 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:45.358 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=1.1417ms] [] [2025/04/04 10:35:45.361 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:45.361 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:45.361 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:45.361 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:45.361 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:45.361 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:45.361 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:45.362 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:45.361 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:45.362 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:45.362 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:45.362 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:45.364 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:45.364 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:45.364 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:45.364 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:45.375 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:35:45.376 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=63] [error="[executor:8173]PreCheck failed: target table is not empty"] [session="{\n \"currDBName\": \"from_select\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": null\n}"] [2025/04/04 10:35:45.380 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:35:45.380 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:45.380 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:45.380 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:45.389 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:124, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/04 10:35:45.389 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.396 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.405 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 123, Table Name: dst, Old Table ID: 121, Old Table Name: dst)"] [2025/04/04 10:35:45.417 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:35:45.417 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:35:45.417 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/997e9827-67f0-4f88-a2e3-4e4859998c1d] [watcherID=05b6cc43-b882-44f0-b33c-ce02257857c2] [2025/04/04 10:35:45.423 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=1.961742ms] [gotSchemaVersion=64] [phyTblIDs="[121,123]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:35:45.426 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:35:45.427 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=64] [2025/04/04 10:35:45.429 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=10.887294ms] [job="ID:124, Type:truncate table, State:done, SchemaState:public, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.431 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=16] [new=72] [2025/04/04 10:35:45.432 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:35:45.432 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:35:45.432 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:35:45.432 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:35:45.442 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=124] [tableIDs="[121]"] [comment="truncate table: table ID"] [2025/04/04 10:35:45.447 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=124] [jobType="truncate table"] [2025/04/04 10:35:45.448 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:truncate table, State:synced, SchemaState:public, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.468 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=124] [2025/04/04 10:35:45.468 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=64] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/04 10:35:45.515 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=fde232d6-b575-436a-863f-630cadc57f47] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=123] [2025/04/04 10:35:45.523 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:45.523 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404354783641569] [2025/04/04 10:35:45.524 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:45.524 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:45.524 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:45.524 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:45.524 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:45.524 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:45.525 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:45.525 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:45.538 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:45.540 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:45.540 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=373.5GB] [2025/04/04 10:35:45.544 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:45.548 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:45.590 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=fde232d6-b575-436a-863f-630cadc57f47] [key=import-from-select] [2025/04/04 10:35:45.591 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=fde232d6-b575-436a-863f-630cadc57f47] [key=import-from-select] [2025/04/04 10:35:45.591 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=fde232d6-b575-436a-863f-630cadc57f47] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=69.449µs] [] [2025/04/04 10:35:45.591 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=fde232d6-b575-436a-863f-630cadc57f47] [key=import-from-select] [readDur=14.163µs] [encodeDur=221.67µs] [checksum="{cksum=15380830721546568226,size=76,kvs=2}"] [deliverDur=216.981µs] [type=query] [takeTime=765.812µs] [] [2025/04/04 10:35:45.592 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:45.592 +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/fde232d6-b575-436a-863f-630cadc57f47/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/a44becaa-ae30-4826-85fc-b3f32dd36aa0.sst] [firstKey=74800000000000007B5F728000000000000001] [lastKey=74800000000000007B5F728000000000000002] [2025/04/04 10:35:45.594 +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.436585ms] [] [2025/04/04 10:35:45.594 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/04 10:35:45.600 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:45.622 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=2] [size=76] [2025/04/04 10:35:45.622 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:45.623 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007b5f728000000000000001] [endOfAllRanges=74800000000000007b5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff7b5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff7b5f728000000000ff0000030000000000fa] [2025/04/04 10:35:45.636 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=76] [kvs=2] [importedSize=76] [importedCount=2] [2025/04/04 10:35:45.638 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [takeTime=43.180644ms] [] [2025/04/04 10:35:45.638 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:45.639 +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.529135ms] [] [2025/04/04 10:35:45.639 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/04 10:35:45.643 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:45.644 +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=4.118244ms] [] [2025/04/04 10:35:45.644 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=fde232d6-b575-436a-863f-630cadc57f47] [checksum="{\"id=-1\"=\"{cksum=15380830721546568226,size=76,kvs=2}\"}"] [2025/04/04 10:35:45.644 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=fde232d6-b575-436a-863f-630cadc57f47] [2025/04/04 10:35:45.649 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=fde232d6-b575-436a-863f-630cadc57f47] [takeTime=5.797771ms] [] [2025/04/04 10:35:45.650 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=fde232d6-b575-436a-863f-630cadc57f47] [checksum="{cksum=15380830721546568226,size=76,kvs=2}"] [2025/04/04 10:35:45.650 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=fde232d6-b575-436a-863f-630cadc57f47] [weight=30] [2025/04/04 10:35:45.650 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=fde232d6-b575-436a-863f-630cadc57f47] [concurrency=15] [2025/04/04 10:35:45.652 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=123] [physicalTableID=123] [indexID=-1] [checksum=15380830721546568226] [totalKvs=2] [totalBytes=76] [2025/04/04 10:35:45.652 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:45.652 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=fde232d6-b575-436a-863f-630cadc57f47] [local="{cksum=15380830721546568226,size=76,kvs=2}"] [2025/04/04 10:35:45.652 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=fde232d6-b575-436a-863f-630cadc57f47] [checksum="{\"id=-1\"=\"{cksum=15380830721546568226,size=76,kvs=2}\"}"] [takeTime=8.613692ms] [] [2025/04/04 10:35:45.652 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:45.652 +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.364µs] [] [2025/04/04 10:35:45.652 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:45.654 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.190969ms] [] [2025/04/04 10:35:45.654 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:45.654 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=8.537µs] [] [2025/04/04 10:35:45.654 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:45.655 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=1.000713ms] [] [2025/04/04 10:35:45.658 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:45.658 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:45.658 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:45.658 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:45.658 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:45.658 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:45.658 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:45.658 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:45.658 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:45.658 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:45.658 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:45.658 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:45.660 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:45.660 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:45.660 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:45.660 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:45.675 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:126, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.675 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:126, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table src"] [2025/04/04 10:35:45.680 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.687 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 125, Table Name: src, Old Table ID: 119, Old Table Name: src)"] [2025/04/04 10:35:45.702 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=1.638148ms] [gotSchemaVersion=65] [phyTblIDs="[119,125]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:35:45.706 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=65] [2025/04/04 10:35:45.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=65] ["take time"=8.394576ms] [job="ID:126, Type:truncate table, State:done, SchemaState:public, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.718 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=126] [tableIDs="[119]"] [comment="truncate table: table ID"] [2025/04/04 10:35:45.722 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=126] [jobType="truncate table"] [2025/04/04 10:35:45.723 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:truncate table, State:synced, SchemaState:public, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.740 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=126] [2025/04/04 10:35:45.740 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=65] [cur_db=from_select] [sql="truncate table src"] [user=] [2025/04/04 10:35:45.751 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.751 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:128, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/04 10:35:45.757 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:123, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.764 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 127, Table Name: dst, Old Table ID: 123, Old Table Name: dst)"] [2025/04/04 10:35:45.779 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.78832ms] [gotSchemaVersion=66] [phyTblIDs="[123,127]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:35:45.782 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=66] [2025/04/04 10:35:45.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=66] ["take time"=9.100988ms] [job="ID:128, Type:truncate table, State:done, SchemaState:public, SchemaID:117, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.794 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=128] [tableIDs="[123]"] [comment="truncate table: table ID"] [2025/04/04 10:35:45.799 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=128] [jobType="truncate table"] [2025/04/04 10:35:45.800 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:truncate table, State:synced, SchemaState:public, SchemaID:117, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.816 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/04 10:35:45.816 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/04 10:35:46.216 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457116993703116802\n# Conn_ID: 2\n# Query_time: 0.364207015\n# Parse_time: 0.050170843\n# Compile_time: 0.074633488\n# Rewrite_time: 0.011116756\n# Optimize_time: 0.000278403\n# Wait_TS: 0.000100463\n# Prewrite_time: 0.021629523 Commit_time: 0.010252461 Get_commit_ts_time: 0.000417806 Slowest_prewrite_rpc_detail: {total:0.017s, region_id: 14, store: 127.0.0.1:20162, time_detail: {total_process_time: 683.9µs, total_suspend_time: 2.26ms, tikv_grpc_process_time: 78.6µs, tikv_grpc_wait_time: 11.4µs, tikv_wall_time: 3.59ms}, scan_detail: {get_snapshot_time: 7.43µs, rocksdb: {block: {}}}, write_detail: {store_batch_wait: 132.8µs, propose_send_wait: 0s, persist_log: {total: 214.8µs, write_leader_wait: 35ns, sync_log: 141.3µs, write_memtable: 1.55µs}, commit_log: 469.9µs, apply_batch_wait: 187.9µs, apply: {total:1.45ms, mutex_lock: 0s, write_leader_wait: 0s, write_wal: 33.5µs, write_memtable: 343.1µs}, scheduler: {process: 2.92ms, latch_wait: 555.2µs}}} Commit_primary_rpc_detail: {total:0.007s, region_id: 14, store: 127.0.0.1:20162, time_detail: {total_process_time: 1.91ms, total_suspend_time: 3.62ms, tikv_grpc_process_time: 112µs, tikv_grpc_wait_time: 24.6µs, tikv_wall_time: 5.92ms}, scan_detail: {get_snapshot_time: 12.8µs, rocksdb: {block: {}}}, write_detail: {store_batch_wait: 131.7µs, propose_send_wait: 0s, persist_log: {total: 381.9µs, write_leader_wait: 59ns, sync_log: 199.7µs, write_memtable: 2.03µs}, commit_log: 1.09ms, apply_batch_wait: 19.5µs, apply: {total:2.33ms, mutex_lock: 0s, write_leader_wait: 0s, write_wal: 114.4µs, write_memtable: 1.43ms}, scheduler: {process: 5.48ms, latch_wait: 247µ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('6xrwVTAJMjdfMQkwCTAJTi9BCTAJdGltZToxOTYuMW1zLCBvcGVuOjEwLjbCtXMsIGNsb3NlOjIxwrVzLCBsb29wczoxLCBwcmVwYXJlOiB7dG90YWw6IDMyATtMYXV0b19pZF9hbGxvY2F0b3I6IHsFDFBfY250OiAxLCBHZXQ6e251bV9ycGMBSQU/AF8FgSA0NznCtXN9LCABDhhfZGV0YWlsEWEcX3Byb2Nlc3MJKhAgNTUuMQWRCT8Md2FpdBEaLhgAKGt2X3JlYWRfd2FsDWQQIDExMy4J2SB0aWt2X2dycGM6XAAMNC42NQlcFSEdYAwxMy43GR4uWQAEMzAFGhh9LCBzY2FuPsAADGtleXMlAShnZXRfc25hcHNobxG0BDEyDc54cm9ja3NkYjoge2Jsb2NrOiB7Y2FjaGVfaGl0X2NvdSFDJDJ9fX0sIGNvbW0B80R4bjoge3ByZXdyaXRlOjEuMTUhhgFjESIUczozNTQuCdEJFAg6ODkRcBxzbG93ZXN0XxFCJZUEIHslVbg6IDAuMDAxcywgcmVnaW9uX2lkOiAxMCwgc3RvcmU6IDEyNy4wLjAuMToyMDE2Mo62AQgxMDExfCxvdGFsX3N1c3BlbmQtuhA0ODguMjlbSpoBDDE0LjQ6IQAumgEANSWAAYkEa3YumgEMNjQzLk1aNpoBIShGiwEBKwAsposBJXs57iUeFF9iYXRjaAWdDDogMjMNtihwcm9wb3NlX3NlbkGTSGl0OiAwcywgcGVyc2lzdF9sb2c5fAgxNTYNNglgFGxlYWRlcg1SJDUwbnMsIHN5bmMJNQw4NS44JRgJLChtZW10YWJsZTogMgUYWTAFYxAzNDcuMwUvEGFwcGx5MqwABDEzLhsAFY8ANhEXFG11dGV4X0mcAbwJcTKdABkXAHeBGAQxNg1SCSsZnAQxMAUZZS8UaGVkdWxlgS1t5ww6IDU0CaQAbD1KADFhei4AAxhwcmltYXJ5/rcCercCBDM5arYCCDM1MXq2Agg4LjVpf1ZQBAA0bfwFHp1QBDQxQYklHy5OBEq0Agg1LjeJ0kY/BCUtKXq1UEaiAgAxCaCuoAIANklbACwNXTICAgQzMzafAgAzMSIJiVkDDDQ3NW4B4omYSZ4IMjAyLW5KngIANi0sBRtVngA4ISkALMqcAgAzySw+lwAEMTRxNwBzTpoCCDM2Mq1QMpwCBC4zAYclca0xCG51bcHiCV/FAAAxMTAUYnl0ZTozqcwsaW5zZXJ0OjE2NC4yob4tDjrcBQwyMS42AR5BABEiEHM6NDE3BazREuG3ADMBJ4LaBQgxN3M22gUENCzq2gUENjipYwAs7ZE22gUIMi4yBbwAdKGZStgFBDc4LfMZIS7YBQAxrQoFHn0iEDMuNTltQUCC1gUENy6NTuIiAwAzUfCuJQMAMk1KMfY2JgMANTYmAwgxNDGlEREteScAMYlBOscFCDQ2Oc2rZQ42xwUEODcuHAB1KggxLjQSIQjGxwUEMzNN9EnOGZ0IMzQzZZWFqQBoRsgFCDIuOUXWLiwDCDU1NaU0ZS1NzWLLBf6oAjKoAggxLjkS4wpOgAgIMy42BapFZ0qmAgQxMT6eCF2lBDI0LsMCXaUANSUAJR56xwUAMVFj5qUCADEaAgmupQIIMzgxTSwp2zKlAgQ1OTqlAgQ5OQ1jCS1ZCAgyLjDhsTqlAgwxLjA5gY9KowIAOU1RBRtVoggyLjOFwMaiAgAxIh4KPpsADDEuNDONKEqhAgw1LjQ4AaMuoQIEMjQiaghizAUMNTAwMHGspc9QMjAzNzYyfQk3MjcuNSBLQglOL0EK')\n# Binary_plan: tidb_decode_binary_plan('9xrwdQryGgoISW5zZXJ0XzE4AUABUgNOL0FaMHRpbWU6MTk2LjFtcywgb3BlbjoxMC42wrVzLCBjbG9zZToyMcK1cywgbG9vcHM6MWLZDnByZXBhcmU6IHt0b3RhbDogMzJtcywgYXV0b19pZF9hbGxvY2F0b3I6IHsFDGRfY250OiAxLCBHZXQ6e251bV9ycGM6MSwgdAE/AF8FgiA0NznCtXN9LCABDhxfZGV0YWlsOg1hHF9wcm9jZXNzCSoMIDU1LgmSCT8Md2FpdBEaLhgAKGt2X3JlYWRfd2FsDWQMIDExMw3aIHRpa3ZfZ3JwYzpcAAw0LjY1BfsZIR1gDDEzLjcZHi5ZAAQzMAUaGH0sIHNjYW4+wAAMa2V5cyUBKGdldF9zbmFwc2hvEbQEMTINznhyb2Nrc2RiOiB7YmxvY2s6IHtjYWNoZV9oaXRfY291IUMkMn19fSwgY29tbQHzUHhuOiB7cHJld3JpdGU6MS4xNW1zLAVjESIUczozNTQuCdEJFAg6ODkRcBxzbG93ZXN0XxFCJZUtcmw6IDAuMDAxcywgcmVnaW9uX2lkOiAxMCwgc3RvIfk4MTI3LjAuMC4xOjIwMTYyjrYBCDEwMTF8JfYYc3VzcGVuZC26EDQ4OC4yOVtKmgEMMTQuNDohAC6aAQA1JYABiQRrdi6aAQw2NDMuTVo2mgFWiwEBKwAsposBJXs57iUeFF9iYXRjaAWdDDogMjMNtihwcm9wb3NlX3NlbkGTSGl0OiAwcywgcGVyc2lzdF9sb2c5fAgxNTYNNglgFGxlYWRlcg1SJDUwbnMsIHN5bmMJNQw4NS44JRgJLChtZW10YWJsZTogMgUYWTAFYxAzNDcuMwUvEGFwcGx5MqwABDEzLhsAFY8ANhEXFG11dGV4X0mcAbwJcTKdABkXGHdhbDogMTYNUgkrGZwEMTAFGWUvFGhlZHVsZYEtbecMOiA1NAmkAGw9SgAxYXouAAMYcHJpbWFyef63Anq3AgQzOWq2AggzNTF6tgIIOC41aX9WUAQANG38BR6dUAQ0MUGJJR8uTgRKtAIMNS43NiXQRj8EJS0perVQRqICADEJoK6gAgA2SVsALA1dMgICBDMzNp8CADMxIgmJWQMMNDc1bgHiiZhJnggyMDItbkqeAgA2LSwFG1WeADghKQAsypwCADPJLD6XAAQxNHE3AHNOmgIIMzYyrVAynAIELjMBhyVxrTEIbnVtweIJX8UAADExMBRieXRlOjOpzABp5ZEoOjE2NC4ybXNivwstDzrdBQwyMS42Rt0FCDQxNwWt0RMAOmFXASeC2wUIMTdzNtsFBDQs6tsFBDY4qWTx0TbbBQgyLjIFvAB0oZpK2QUENzgt9BkhLtkFADGtCwUefSMQMy41OW1BQYLXBQQ3Lo1P4iMDADNR8a4mAwAyTUsx9zYnAwA1NicDCDE0MaUSES15KAAxiUI6yAUINDY5zaxlDzbIBQQ4Ny4cAHUrCDEuNBIiCMbIBQQzM031Sc8ZnQgzNDNlloWqAGhGyQUMMi45MkGRLi0DCDU1NaU1ZS5N72LMBf6oAjKoAggxLjkS5QpOgQgIMy42BapFZ0qmAgQxMT6fCF2lBDI0LsMCXaUANSUAJR56yAUAMVFj5qUCADEaAwmupQIIMzgxTSwp2zKlAgQ1OTqlAgQ5OQ1jCS1ZCAgyLjDhsjqlAgwxLjA5If5KowIAOU1RBRtVoggyLjOFwMaiAgAxIh8KPpsADDEuNDONKEqhAgw1LjQ4AaMuoQIEMjQiawhizQUMNTAwMHGspdBcMjAzNzYyfXCovC14////////////ARgB')\n# Resource_group: default\nuse from_select;\ninsert into src values (0, 'abc-0'),(1, 'abc-1'),(2, 'abc-2'),(3, 'abc-3'),(4, 'abc-4'),(5, 'abc-5'),(6, 'abc-6'),(7, 'abc-7'),(8, 'abc-8'),(9, 'abc-9'),(10, 'abc-10'),(11, 'abc-11'),(12, 'abc-12'),(13, 'abc-13'),(14, 'abc-14'),(15, 'abc-15'),(16, 'abc-16'),(17, 'abc-17'),(18, 'abc-18'),(19, 'abc-19'),(20, 'abc-20'),(21, 'abc-21'),(22, 'abc-22'),(23, 'abc-23'),(24, 'abc-24'),(25, 'abc-25'),(26, 'abc-26'),(27, 'abc-27'),(28, 'abc-28'),(29, 'abc-29'),(30, 'abc-30'),(31, 'abc-31'),(32, 'abc-32'),(33, 'abc-33'),(34, 'abc-34'),(35, 'abc-35'),(36, 'abc-36'),(37, 'abc-37'),(38, 'abc-38'),(39, 'abc-39'),(40, 'abc-40'),(41, 'abc-41'),(42, 'abc-42'),(43, 'abc-43'),(44, 'abc-44'),(45, 'abc-45'),(46, 'abc-46'),(47, 'abc-47'),(48, 'abc-48'),(49, 'abc-49'),(50, 'abc-50'),(51, 'abc-51'),(52, 'abc-52'),(53, 'abc-53'),(54, 'abc-54'),(55, 'abc-55'),(56, 'abc-56'),(57, 'abc-57'),(58, 'abc-58'),(59, 'abc-59'),(60, 'abc-60'),(61, 'abc-61'),(62, 'abc-62'),(63, 'abc-63'),(64, 'abc-64'),(65, 'abc-65'),(66, 'abc-66'),(67, 'abc-67'),(68, 'abc-68'),(69, 'abc-69'),(70, 'abc-70'),(71, 'abc-71'),(72, 'abc-72'),(73, 'abc-73'),(74, 'abc-74'),(75, 'abc-75'),(76, 'abc-76'),(77, 'abc-77'),(78, 'abc-78'),(79, 'abc-79'),(80, 'abc-80'),(81, 'abc-81'),(82, 'abc-82'),(83, 'abc-83'),(84, 'abc-84'),(85, 'abc-85'),(86, 'abc-86'),(87, 'abc-87'),(88, 'abc-88'),(89, 'abc-89'),(90, 'abc-90'),(91, 'abc-91'),(92, 'abc-92'),(93, 'abc-93'),(94, 'abc-94'),(95, 'abc-95'),(96, 'abc-96'),(97, 'abc-97'),(98, 'abc-98'),(99, 'abc-99'),(100, 'abc-100'),(101, 'abc-101'),(102, 'abc-102'),(103, 'abc-103'),(104, 'abc-104'),(105, 'abc-105'),(106, 'abc-106'),(107, 'abc-107'),(108, 'abc-108'),(109, 'abc-109'),(110, 'abc-110'),(111, 'abc-111'),(112, 'abc-112'),(113, 'abc-113'),(114, 'abc-114'),(115, 'abc-115'),(116, 'abc-116'),(117, 'abc-117'),(118, 'abc-118'),(119, 'abc-119'),(120, 'abc-120'),(121, 'abc-121'),(122, 'abc-122'),(123, 'abc-123'),(124, 'abc-124'),(125, 'abc-125'),(126, 'abc-126'),(127, 'abc-127'),(128, 'abc-128'),(129, 'abc-129'),(130, 'abc-130'),(131, 'abc-131'),(132, 'abc-132'),(133, 'abc-133'),(134, 'abc-134'),(135, 'abc-135'),(136, 'abc-136'),(137, 'abc-137'),(138, 'abc-138'),(139, 'abc-139'),(140, 'abc-140'),(141, 'abc-141'),(142, 'abc-142'),(143, 'abc-143'),(144, 'abc-144'),(145, 'abc-145'),(146, 'abc-146'),(147, 'abc-147'),(148, 'abc-148'),(149, 'abc-149'),(150, 'abc-150'),(151, 'abc-151'),(152, 'abc-152'),(153, 'abc-153'),(154, 'abc-154'),(155, 'abc-155'),(156, 'abc-156'),(157, 'abc-157'),(158, 'abc-158'),(159, 'abc-159'),(160, 'abc-160'),(161, 'abc-161'),(162, 'abc-162'),(163, 'abc-163'),(164, 'abc-164'),(165, 'abc-165'),(166, 'abc-166'),(167, 'abc-167'),(168, 'abc-168'),(169, 'abc-169'),(170, 'abc-170'),(171, 'abc-171'),(172, 'abc-172'),(173, 'abc-173'),(174, 'abc-174'),(175, 'abc-175'),(176, 'abc-176'),(177, 'abc-177'),(178, 'abc-178'),(179, 'abc-179'),(180, 'abc-180'),(181, 'abc-181'),(182, 'abc-182'),(183, 'abc-183'),(184, 'abc-184'),(185, 'abc-185'),(186, 'abc-186'),(187, 'abc-187'),(188, 'abc-188'),(189, 'abc-189'),(190, 'abc-190'),(191, 'abc-191'),(192, 'abc-192'),(193, 'abc-193'),(194, 'abc-194'),(195, 'abc-195'),(196, 'abc-196'),(197, 'abc-197'),(198, 'abc-198'),(199, 'abc-199'),(200, 'abc-200'),(201, 'abc-201'),(202, 'abc-202'),(203, 'abc-203'),(204, 'abc-204'),(205, 'abc-205'),(206, 'abc-206'),(207, 'abc-207'),(208, 'abc-208'),(209, 'abc-209'),(210, 'abc-210'),(211, 'abc-211'),(212, 'abc-212'),(213, 'abc-213'),(214, 'abc-214'),(215, 'abc-215'),(216, 'abc-216'),(217, 'abc-217'),(218, 'abc-218'),(219, 'abc-219'),(220, 'abc-220'),(221, 'abc-221'),(222, 'abc-222'),(223, 'abc-223'),(224, 'abc-224'),(225, 'abc-225'),(226, 'abc-226'),(227, 'abc-227'),(228, 'abc-228'),(229, 'abc-229'),(230, 'abc-230'),(231, 'abc-231'),(232, 'abc-232'),(233, 'abc-233'),(234, 'abc-234'),(235, 'abc-235'),(236, 'abc-236'),(237, 'abc-237'),(238, 'abc-238'),(239, 'abc-239'),(240, 'abc-240'),(241, 'abc-241'),(242, 'abc-242'),(243, 'abc-243'),(244, 'abc-244'),(245, 'abc-245'),(246, 'abc-246'),(247, 'abc-247'),(248, 'abc-248'),(249, 'abc-249'),(250, 'abc-250'),(251, 'abc-251'),(252, 'ab(len:92802);"] [2025/04/04 10:35:46.263 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [concurrency=8] [target-table=`from_select`.`dst`] [target-table-id=127] [2025/04/04 10:35:46.270 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:46.270 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404354783641569] [2025/04/04 10:35:46.271 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:46.271 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:46.271 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:46.271 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:46.271 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:46.271 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:46.272 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:46.272 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:46.285 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:46.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 10:35:46.287 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=373.5GB] [2025/04/04 10:35:46.291 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:46.295 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:46.296 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [key=import-from-select] [2025/04/04 10:35:46.296 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [key=import-from-select] [2025/04/04 10:35:46.296 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [key=import-from-select] [2025/04/04 10:35:46.296 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [key=import-from-select] [2025/04/04 10:35:46.296 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [key=import-from-select] [2025/04/04 10:35:46.296 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [key=import-from-select] [2025/04/04 10:35:46.296 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [key=import-from-select] [2025/04/04 10:35:46.306 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [key=import-from-select] [2025/04/04 10:35:46.350 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [key=import-from-select] [readDur=20.106848ms] [encodeDur=18.097198ms] [checksum="{cksum=9907121086709053569,size=21109,kvs=515}"] [deliverDur=1.80898ms] [type=query] [takeTime=44.205268ms] [] [2025/04/04 10:35:46.351 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [key=import-from-select] [readDur=24.161942ms] [encodeDur=23.766049ms] [checksum="{cksum=9981919798880858910,size=26472,kvs=650}"] [deliverDur=2.082646ms] [type=query] [takeTime=54.526057ms] [] [2025/04/04 10:35:46.351 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [key=import-from-select] [readDur=24.928221ms] [encodeDur=23.061129ms] [checksum="{cksum=1691412007899862147,size=25690,kvs=631}"] [deliverDur=1.969001ms] [type=query] [takeTime=54.769584ms] [] [2025/04/04 10:35:46.351 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [key=import-from-select] [readDur=23.699787ms] [encodeDur=24.17959ms] [checksum="{cksum=4210447020747381526,size=26043,kvs=640}"] [deliverDur=2.009486ms] [type=query] [takeTime=54.637108ms] [] [2025/04/04 10:35:46.351 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [key=import-from-select] [readDur=24.397081ms] [encodeDur=23.349922ms] [checksum="{cksum=6763904371090094640,size=25780,kvs=633}"] [deliverDur=2.172705ms] [type=query] [takeTime=54.519129ms] [] [2025/04/04 10:35:46.351 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [key=import-from-select] [readDur=24.51986ms] [encodeDur=23.404531ms] [checksum="{cksum=9579641264162291510,size=26076,kvs=640}"] [deliverDur=1.969095ms] [type=query] [takeTime=54.74551ms] [] [2025/04/04 10:35:46.351 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=21109] [kvs=515] [files=1] [sstFileSize=6609] [file=/tmp/tidb/import-4000/b4ec5271-64d8-44e1-9b00-7fef63e51499/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/7594e0a4-c079-4748-9d4e-50018722a6a7.sst] [firstKey=74800000000000007F5F7280000000000003B6] [lastKey=74800000000000007F5F728000000000001382] [2025/04/04 10:35:46.351 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [key=import-from-select] [readDur=24.755968ms] [encodeDur=23.259522ms] [checksum="{cksum=2888180143314455745,size=25754,kvs=632}"] [deliverDur=2.082274ms] [type=query] [takeTime=54.997468ms] [] [2025/04/04 10:35:46.351 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [key=import-from-select] [readDur=24.283585ms] [encodeDur=23.638357ms] [checksum="{cksum=17794115852168802098,size=26838,kvs=659}"] [deliverDur=2.066955ms] [type=query] [takeTime=54.875622ms] [] [2025/04/04 10:35:46.352 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:46.352 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=26472] [kvs=650] [files=1] [sstFileSize=8562] [file=/tmp/tidb/import-4000/b4ec5271-64d8-44e1-9b00-7fef63e51499/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/07f8499a-9a7b-4283-a482-8744787bd867.sst] [firstKey=74800000000000007F5F728000000000000003] [lastKey=74800000000000007F5F728000000000001384] [2025/04/04 10:35:46.353 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25690] [kvs=631] [files=1] [sstFileSize=8415] [file=/tmp/tidb/import-4000/b4ec5271-64d8-44e1-9b00-7fef63e51499/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/f663dc68-bec6-4a57-b2f8-07bf7db2cac5.sst] [firstKey=74800000000000007F5F728000000000000001] [lastKey=74800000000000007F5F728000000000001385] [2025/04/04 10:35:46.355 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25754] [kvs=632] [files=1] [sstFileSize=8390] [file=/tmp/tidb/import-4000/b4ec5271-64d8-44e1-9b00-7fef63e51499/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/a0efc944-69f3-46b8-8eed-c7440013915b.sst] [firstKey=74800000000000007F5F728000000000000002] [lastKey=74800000000000007F5F728000000000001383] [2025/04/04 10:35:46.356 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=26043] [kvs=640] [files=1] [sstFileSize=8435] [file=/tmp/tidb/import-4000/b4ec5271-64d8-44e1-9b00-7fef63e51499/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/cce6ee0a-ac7c-4dd3-87d7-1f4ce04cd8ba.sst] [firstKey=74800000000000007F5F728000000000000004] [lastKey=74800000000000007F5F728000000000001381] [2025/04/04 10:35:46.357 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=26076] [kvs=640] [files=1] [sstFileSize=8436] [file=/tmp/tidb/import-4000/b4ec5271-64d8-44e1-9b00-7fef63e51499/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/2352224f-7b33-47a8-8c3a-230fc97724f2.sst] [firstKey=74800000000000007F5F728000000000000005] [lastKey=74800000000000007F5F728000000000001386] [2025/04/04 10:35:46.359 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=26838] [kvs=659] [files=1] [sstFileSize=8567] [file=/tmp/tidb/import-4000/b4ec5271-64d8-44e1-9b00-7fef63e51499/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/a9d23c35-9c81-4519-93db-bfb2e8a9e383.sst] [firstKey=74800000000000007F5F728000000000000006] [lastKey=74800000000000007F5F728000000000001387] [2025/04/04 10:35:46.360 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25780] [kvs=633] [files=1] [sstFileSize=8348] [file=/tmp/tidb/import-4000/b4ec5271-64d8-44e1-9b00-7fef63e51499/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/c35c7be5-81c3-419c-9f52-adb3c059fe5e.sst] [firstKey=74800000000000007F5F72800000000000000A] [lastKey=74800000000000007F5F728000000000001388] [2025/04/04 10:35:46.364 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=12.42672ms] [] [2025/04/04 10:35:46.364 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/04 10:35:46.365 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:35:46.370 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:46.405 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=5000] [size=203762] [2025/04/04 10:35:46.406 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:46.409 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007f5f728000000000000001] [endOfAllRanges=74800000000000007f5f728000000000001389] [startKeyOfFirstRegion=7480000000000000ff7f5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff7f5f728000000000ff0013890000000000fa] [2025/04/04 10:35:46.446 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=203762] [kvs=5000] [importedSize=203762] [importedCount=5000] [2025/04/04 10:35:46.468 +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=103.389092ms] [] [2025/04/04 10:35:46.468 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:46.470 +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.777328ms] [] [2025/04/04 10:35:46.470 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/04 10:35:46.473 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:46.474 +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.736354ms] [] [2025/04/04 10:35:46.474 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [checksum="{\"id=-1\"=\"{cksum=2965160055807091455,size=203762,kvs=5000}\"}"] [2025/04/04 10:35:46.474 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [2025/04/04 10:35:46.479 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [takeTime=5.403946ms] [] [2025/04/04 10:35:46.479 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [checksum="{cksum=2965160055807091455,size=203762,kvs=5000}"] [2025/04/04 10:35:46.479 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [weight=30] [2025/04/04 10:35:46.479 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [concurrency=15] [2025/04/04 10:35:46.484 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=127] [physicalTableID=127] [indexID=-1] [checksum=2965160055807091455] [totalKvs=5000] [totalBytes=203762] [2025/04/04 10:35:46.485 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:46.485 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [local="{cksum=2965160055807091455,size=203762,kvs=5000}"] [2025/04/04 10:35:46.485 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=b4ec5271-64d8-44e1-9b00-7fef63e51499] [checksum="{\"id=-1\"=\"{cksum=2965160055807091455,size=203762,kvs=5000}\"}"] [takeTime=11.211692ms] [] [2025/04/04 10:35:46.485 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:46.485 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=10.969µs] [] [2025/04/04 10:35:46.485 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:46.487 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.762956ms] [] [2025/04/04 10:35:46.487 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:46.487 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=8.718µs] [] [2025/04/04 10:35:46.487 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:46.488 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=1.071544ms] [] [2025/04/04 10:35:46.492 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:46.492 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:46.492 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:46.492 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:46.492 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:46.492 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:46.492 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:46.492 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:46.492 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:46.492 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:46.492 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:46.492 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:46.494 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:46.494 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:46.494 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:46.494 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestImportFromSelectBasic (1.75s) === NAME TestImportInto === RUN TestImportInto/TestImportFromSelectColumnList [2025/04/04 10:35:46.588 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:129, Type:drop schema, State:queueing, SchemaState:public, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists from_select"] [2025/04/04 10:35:46.588 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:129, Type:drop schema, State:queueing, SchemaState:public, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:46.594 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop schema, State:queueing, SchemaState:public, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.614 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=2.200185ms] [gotSchemaVersion=67] [phyTblIDs="[125,127]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:46.618 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=67] [2025/04/04 10:35:46.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=67] ["take time"=10.676594ms] [job="ID:129, Type:drop schema, State:running, SchemaState:write only, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.632 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop schema, State:running, SchemaState:write only, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.646 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=133.459µs] [gotSchemaVersion=68] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:46.650 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=68] [2025/04/04 10:35:46.652 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=68] ["take time"=8.40979ms] [job="ID:129, Type:drop schema, State:running, SchemaState:delete only, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.662 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop schema, State:running, SchemaState:delete only, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.669 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:35:46.681 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=148.521µs] [gotSchemaVersion=69] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:46.685 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=69] [2025/04/04 10:35:46.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=69] ["take time"=8.073114ms] [job="ID:129, Type:drop schema, State:done, SchemaState:none, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.696 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=129] [tableIDs="[125,127]"] [comment="drop schema: table IDs"] [2025/04/04 10:35:46.702 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=129] [jobType="drop schema"] [2025/04/04 10:35:46.703 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop schema, State:synced, SchemaState:none, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.719 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=129] [2025/04/04 10:35:46.719 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=69] [cur_db=] [sql="drop database if exists from_select"] [user=] [2025/04/04 10:35:46.731 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/04 10:35:46.731 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:46.737 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.751 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=771.348µs] [gotSchemaVersion=70] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:46.754 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=70] [2025/04/04 10:35:46.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=70] ["take time"=8.328287ms] [job="ID:131, Type:create schema, State:done, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.768 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create schema, State:synced, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.778 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=131] [2025/04/04 10:35:46.778 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=70] [cur_db=] [sql="create database from_select"] [user=] [2025/04/04 10:35:46.792 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:46.792 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table src(id int, a varchar(64))"] [2025/04/04 10:35:46.797 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=133] [conn=2] [job="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.802 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 132, Table Name: src)"] [2025/04/04 10:35:46.818 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=70] [neededSchemaVersion=71] ["elapsed time"=1.842297ms] [gotSchemaVersion=71] [phyTblIDs="[132]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:46.822 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=133] [version=71] [2025/04/04 10:35:46.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=71] ["take time"=10.14955ms] [job="ID:133, Type:create table, State:done, SchemaState:public, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.837 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=133] [conn=2] [job="ID:133, Type:create table, State:synced, SchemaState:public, SchemaID:130, TableID:132, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.849 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=133] [2025/04/04 10:35:46.850 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=71] [cur_db=from_select] [sql="create table src(id int, a varchar(64))"] [user=] [2025/04/04 10:35:46.864 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:135, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:46.864 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:135, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dst(id int auto_increment primary key, a varchar(64), b int default 10, c int)"] [2025/04/04 10:35:46.870 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.875 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 134, Table Name: dst)"] [2025/04/04 10:35:46.892 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=71] [neededSchemaVersion=72] ["elapsed time"=1.893923ms] [gotSchemaVersion=72] [phyTblIDs="[134]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:46.895 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=72] [2025/04/04 10:35:46.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=72] ["take time"=8.536007ms] [job="ID:135, Type:create table, State:done, SchemaState:public, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.909 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:create table, State:synced, SchemaState:public, SchemaID:130, TableID:134, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.921 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=135] [2025/04/04 10:35:46.922 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=72] [cur_db=from_select] [sql="create table dst(id int auto_increment primary key, a varchar(64), b int default 10, c int)"] [user=] [2025/04/04 10:35:46.969 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=f56d18d6-68a5-465d-b1b0-444d9390d532] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=134] [2025/04/04 10:35:46.976 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:46.976 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404354783641569] [2025/04/04 10:35:46.977 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:46.977 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:46.977 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:46.977 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:46.977 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:46.977 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:46.978 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:46.978 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:46.990 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:46.992 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:46.992 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=373.5GB] [2025/04/04 10:35:46.996 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:46.999 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:47.000 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=f56d18d6-68a5-465d-b1b0-444d9390d532] [key=import-from-select] [2025/04/04 10:35:47.000 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=f56d18d6-68a5-465d-b1b0-444d9390d532] [key=import-from-select] [2025/04/04 10:35:47.001 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=f56d18d6-68a5-465d-b1b0-444d9390d532] [key=import-from-select] [readDur=62.891µs] [encodeDur=616.747µs] [checksum="{cksum=12320144212414146790,size=42,kvs=1}"] [deliverDur=47.148µs] [type=query] [takeTime=1.01213ms] [] [2025/04/04 10:35:47.001 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=f56d18d6-68a5-465d-b1b0-444d9390d532] [key=import-from-select] [readDur=17.84µs] [encodeDur=557.492µs] [checksum="{cksum=18204858445606676516,size=126,kvs=3}"] [deliverDur=563.915µs] [type=query] [takeTime=1.487947ms] [] [2025/04/04 10:35:47.002 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=42] [kvs=1] [files=1] [sstFileSize=940] [file=/tmp/tidb/import-4000/f56d18d6-68a5-465d-b1b0-444d9390d532/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/5b282c9e-e249-47ae-b606-f2fe5a22e0da.sst] [firstKey=7480000000000000865F728000000000000002] [lastKey=7480000000000000865F728000000000000002] [2025/04/04 10:35:47.002 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:47.002 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=126] [kvs=3] [files=1] [sstFileSize=1002] [file=/tmp/tidb/import-4000/f56d18d6-68a5-465d-b1b0-444d9390d532/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/d9b09d98-e6cc-4934-b6ea-2d4ce888e916.sst] [firstKey=7480000000000000865F728000000000000001] [lastKey=7480000000000000865F728000000000000004] [2025/04/04 10:35:47.005 +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.815092ms] [] [2025/04/04 10:35:47.005 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/04 10:35:47.010 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:47.032 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=4] [size=168] [2025/04/04 10:35:47.032 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:47.033 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000865f728000000000000001] [endOfAllRanges=7480000000000000865f728000000000000005] [startKeyOfFirstRegion=7480000000000000ff865f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff865f728000000000ff0000050000000000fa] [2025/04/04 10:35:47.044 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=168] [kvs=4] [importedSize=168] [importedCount=4] [2025/04/04 10:35:47.045 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [takeTime=40.22593ms] [] [2025/04/04 10:35:47.045 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:47.047 +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.392399ms] [] [2025/04/04 10:35:47.047 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/04 10:35:47.051 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:47.051 +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=4.012ms] [] [2025/04/04 10:35:47.051 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=f56d18d6-68a5-465d-b1b0-444d9390d532] [checksum="{\"id=-1\"=\"{cksum=6223226670940176578,size=168,kvs=4}\"}"] [2025/04/04 10:35:47.051 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=f56d18d6-68a5-465d-b1b0-444d9390d532] [2025/04/04 10:35:47.056 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=f56d18d6-68a5-465d-b1b0-444d9390d532] [takeTime=5.270152ms] [] [2025/04/04 10:35:47.056 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=f56d18d6-68a5-465d-b1b0-444d9390d532] [checksum="{cksum=6223226670940176578,size=168,kvs=4}"] [2025/04/04 10:35:47.056 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=f56d18d6-68a5-465d-b1b0-444d9390d532] [weight=30] [2025/04/04 10:35:47.056 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=f56d18d6-68a5-465d-b1b0-444d9390d532] [concurrency=15] [2025/04/04 10:35:47.058 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=134] [physicalTableID=134] [indexID=-1] [checksum=6223226670940176578] [totalKvs=4] [totalBytes=168] [2025/04/04 10:35:47.058 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:47.058 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=f56d18d6-68a5-465d-b1b0-444d9390d532] [local="{cksum=6223226670940176578,size=168,kvs=4}"] [2025/04/04 10:35:47.058 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=f56d18d6-68a5-465d-b1b0-444d9390d532] [checksum="{\"id=-1\"=\"{cksum=6223226670940176578,size=168,kvs=4}\"}"] [takeTime=7.605453ms] [] [2025/04/04 10:35:47.059 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:47.059 +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.259µs] [] [2025/04/04 10:35:47.059 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:47.060 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.065099ms] [] [2025/04/04 10:35:47.060 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:47.060 +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.429µs] [] [2025/04/04 10:35:47.060 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:47.061 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=894.272µs] [] [2025/04/04 10:35:47.063 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:47.063 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:47.063 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:47.063 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:47.064 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:47.064 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:47.064 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:47.064 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:47.064 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:47.064 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:47.064 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:47.064 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:47.066 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:47.066 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:47.066 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:47.066 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:47.080 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:137, Type:truncate table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:47.080 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:137, Type:truncate table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/04 10:35:47.085 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=137] [conn=2] [job="ID:137, Type:truncate table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.093 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 136, Table Name: dst, Old Table ID: 134, Old Table Name: dst)"] [2025/04/04 10:35:47.109 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=72] [neededSchemaVersion=73] ["elapsed time"=2.043005ms] [gotSchemaVersion=73] [phyTblIDs="[134,136]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:35:47.113 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=137] [version=73] [2025/04/04 10:35: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=73] ["take time"=8.878203ms] [job="ID:137, Type:truncate table, State:done, SchemaState:public, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.125 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=137] [tableIDs="[134]"] [comment="truncate table: table ID"] [2025/04/04 10:35:47.129 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=137] [jobType="truncate table"] [2025/04/04 10:35:47.130 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=137] [conn=2] [job="ID:137, Type:truncate table, State:synced, SchemaState:public, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.147 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=137] [2025/04/04 10:35:47.148 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=73] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/04 10:35:47.162 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:139, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table src2(id int, a varchar(64))"] [2025/04/04 10:35:47.162 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:139, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:47.168 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=139] [conn=2] [job="ID:139, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:138, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.172 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 138, Table Name: src2)"] [2025/04/04 10:35:47.187 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=73] [neededSchemaVersion=74] ["elapsed time"=1.597895ms] [gotSchemaVersion=74] [phyTblIDs="[138]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:47.190 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=139] [version=74] [2025/04/04 10:35:47.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=74] ["take time"=8.531316ms] [job="ID:139, Type:create table, State:done, SchemaState:public, SchemaID:130, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.203 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=139] [conn=2] [job="ID:139, Type:create table, State:synced, SchemaState:public, SchemaID:130, TableID:138, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.215 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=139] [2025/04/04 10:35:47.215 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=74] [cur_db=from_select] [sql="create table src2(id int, a varchar(64))"] [user=] [2025/04/04 10:35:47.266 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=45ae4899-071d-4414-973d-ed0e8997366a] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=136] [2025/04/04 10:35:47.273 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:47.273 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404354783641569] [2025/04/04 10:35:47.273 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:47.273 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:47.274 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:47.274 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:47.274 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:47.274 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:47.274 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:47.274 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:47.286 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:47.288 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:47.288 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=373.5GB] [2025/04/04 10:35:47.292 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:47.295 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:47.330 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=45ae4899-071d-4414-973d-ed0e8997366a] [key=import-from-select] [2025/04/04 10:35:47.331 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=45ae4899-071d-4414-973d-ed0e8997366a] [key=import-from-select] [readDur=27.002µs] [encodeDur=243.856µs] [checksum="{cksum=8162185998638841877,size=80,kvs=2}"] [deliverDur=207.106µs] [type=query] [takeTime=786.831µs] [] [2025/04/04 10:35:47.332 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=80] [kvs=2] [files=1] [sstFileSize=984] [file=/tmp/tidb/import-4000/45ae4899-071d-4414-973d-ed0e8997366a/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/a414252d-95b4-46af-8048-cd73204af291.sst] [firstKey=7480000000000000885F728000000000000001] [lastKey=7480000000000000885F728000000000000002] [2025/04/04 10:35:47.342 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=45ae4899-071d-4414-973d-ed0e8997366a] [key=import-from-select] [2025/04/04 10:35:47.342 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=45ae4899-071d-4414-973d-ed0e8997366a] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=106.812µs] [] [2025/04/04 10:35:47.342 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:47.344 +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.793476ms] [] [2025/04/04 10:35:47.344 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/04 10:35:47.349 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:47.370 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=2] [size=80] [2025/04/04 10:35:47.370 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:47.372 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000885f728000000000000001] [endOfAllRanges=7480000000000000885f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff885f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff885f728000000000ff0000030000000000fa] [2025/04/04 10:35:47.382 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=80] [kvs=2] [importedSize=80] [importedCount=2] [2025/04/04 10:35:47.384 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [takeTime=39.472733ms] [] [2025/04/04 10:35:47.384 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:47.385 +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.33157ms] [] [2025/04/04 10:35:47.385 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/04 10:35:47.389 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:47.389 +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.538836ms] [] [2025/04/04 10:35:47.389 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=45ae4899-071d-4414-973d-ed0e8997366a] [checksum="{\"id=-1\"=\"{cksum=8162185998638841877,size=80,kvs=2}\"}"] [2025/04/04 10:35:47.389 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=45ae4899-071d-4414-973d-ed0e8997366a] [2025/04/04 10:35:47.395 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=45ae4899-071d-4414-973d-ed0e8997366a] [takeTime=5.533264ms] [] [2025/04/04 10:35:47.395 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=45ae4899-071d-4414-973d-ed0e8997366a] [checksum="{cksum=8162185998638841877,size=80,kvs=2}"] [2025/04/04 10:35:47.395 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=45ae4899-071d-4414-973d-ed0e8997366a] [weight=30] [2025/04/04 10:35:47.395 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=45ae4899-071d-4414-973d-ed0e8997366a] [concurrency=15] [2025/04/04 10:35:47.397 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=136] [physicalTableID=136] [indexID=-1] [checksum=8162185998638841877] [totalKvs=2] [totalBytes=80] [2025/04/04 10:35:47.397 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:47.397 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=45ae4899-071d-4414-973d-ed0e8997366a] [local="{cksum=8162185998638841877,size=80,kvs=2}"] [2025/04/04 10:35:47.397 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=45ae4899-071d-4414-973d-ed0e8997366a] [checksum="{\"id=-1\"=\"{cksum=8162185998638841877,size=80,kvs=2}\"}"] [takeTime=7.928534ms] [] [2025/04/04 10:35:47.397 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:47.397 +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.329µs] [] [2025/04/04 10:35:47.397 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:47.398 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.068626ms] [] [2025/04/04 10:35:47.398 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:47.398 +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.404µs] [] [2025/04/04 10:35:47.398 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:47.399 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=925.625µs] [] [2025/04/04 10:35:47.402 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:47.402 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:47.402 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:47.402 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:47.402 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:47.402 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:47.402 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:47.402 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:47.402 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:47.402 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:47.402 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:47.402 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:47.404 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:47.404 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:47.404 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:47.404 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestImportFromSelectColumnList (0.83s) === NAME TestImportInto === RUN TestImportInto/TestImportFromSelectStaleRead [2025/04/04 10:35:47.415 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/04 10:35:47.415 +00:00] [INFO] [read.go:674] ["Table information not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=119] [columnID=3] [2025/04/04 10:35:47.415 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=132] [columnID=5] [2025/04/04 10:35:47.421 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:140, Type:drop schema, State:queueing, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:47.421 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:140, Type:drop schema, State:queueing, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists from_select"] [2025/04/04 10:35:47.426 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:drop schema, State:queueing, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.458 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=74] [neededSchemaVersion=75] ["elapsed time"=2.589531ms] [gotSchemaVersion=75] [phyTblIDs="[132,136,138]"] [actionTypes="[2,2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:47.461 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=75] [2025/04/04 10:35:47.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=75] ["take time"=9.623346ms] [job="ID:140, Type:drop schema, State:running, SchemaState:write only, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.473 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:drop schema, State:running, SchemaState:write only, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.486 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=75] [neededSchemaVersion=76] ["elapsed time"=128.353µs] [gotSchemaVersion=76] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:47.489 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=76] [2025/04/04 10:35: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=76] ["take time"=6.593435ms] [job="ID:140, Type:drop schema, State:running, SchemaState:delete only, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.498 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:drop schema, State:running, SchemaState:delete only, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.504 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:35:47.514 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=76] [neededSchemaVersion=77] ["elapsed time"=125.139µs] [gotSchemaVersion=77] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:47.517 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=77] [2025/04/04 10:35:47.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=77] ["take time"=6.489539ms] [job="ID:140, Type:drop schema, State:done, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.527 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=140] [tableIDs="[132,136,138]"] [comment="drop schema: table IDs"] [2025/04/04 10:35:47.532 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=140] [jobType="drop schema"] [2025/04/04 10:35:47.533 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:drop schema, State:synced, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.548 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=140] [2025/04/04 10:35:47.549 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=77] [cur_db=] [sql="drop database if exists from_select"] [user=] [2025/04/04 10:35:47.560 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:142, Type:create schema, State:queueing, SchemaState:none, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:47.560 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:142, Type:create schema, State:queueing, SchemaState:none, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/04 10:35:47.565 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=142] [conn=2] [job="ID:142, Type:create schema, State:queueing, SchemaState:none, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.578 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=77] [neededSchemaVersion=78] ["elapsed time"=646.426µs] [gotSchemaVersion=78] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:47.582 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=78] [2025/04/04 10:35:47.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=78] ["take time"=7.913951ms] [job="ID:142, Type:create schema, State:done, SchemaState:public, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.593 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=142] [conn=2] [job="ID:142, Type:create schema, State:synced, SchemaState:public, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.603 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=142] [2025/04/04 10:35:47.603 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=78] [cur_db=] [sql="create database from_select"] [user=] [2025/04/04 10:35:47.621 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:144, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:47.621 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:144, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table src(id int, v varchar(64))"] [2025/04/04 10:35:47.626 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:143, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.630 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 143, Table Name: src)"] [2025/04/04 10:35:47.645 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=78] [neededSchemaVersion=79] ["elapsed time"=1.542801ms] [gotSchemaVersion=79] [phyTblIDs="[143]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:47.648 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=79] [2025/04/04 10:35:47.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=79] ["take time"=8.71221ms] [job="ID:144, Type:create table, State:done, SchemaState:public, SchemaID:141, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.661 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:create table, State:synced, SchemaState:public, SchemaID:141, TableID:143, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.672 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=144] [2025/04/04 10:35:47.672 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=79] [cur_db=from_select] [sql="create table src(id int, v varchar(64))"] [user=] [2025/04/04 10:35:47.882 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457116994201190408] [2025/04/04 10:35:47.887 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=73ms] [prevState=normal] [newState=adapting] [2025/04/04 10:35:47.906 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:47.906 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dst(id int, v varchar(64))"] [2025/04/04 10:35:47.913 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=2] [job="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.918 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 145, Table Name: dst)"] [2025/04/04 10:35:47.934 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=79] [neededSchemaVersion=80] ["elapsed time"=1.901484ms] [gotSchemaVersion=80] [phyTblIDs="[145]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:47.938 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=80] [2025/04/04 10:35:47.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=80] ["take time"=9.488622ms] [job="ID:146, Type:create table, State:done, SchemaState:public, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.952 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=146] [conn=2] [job="ID:146, Type:create table, State:synced, SchemaState:public, SchemaID:141, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.963 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=146] [2025/04/04 10:35:47.963 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=80] [cur_db=from_select] [sql="create table dst(id int, v varchar(64))"] [user=] [2025/04/04 10:35:47.968 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=2] [SnapshotTS=457116994182316032] [2025/04/04 10:35:47.968 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[schema:1146]Table 'from_select.dst' doesn't exist"] [errorVerbose="[schema:1146]Table 'from_select.dst' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectStaleRead\n\ttests/realtikvtest/importintotest2/from_select_test.go:115\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst from select * from src as of timestamp '2025-04-04 10:35:47.778389'"] [2025/04/04 10:35:47.969 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[schema:1146]Table 'from_select.dst' doesn't exist"] [errorVerbose="[schema:1146]Table 'from_select.dst' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectStaleRead\n\ttests/realtikvtest/importintotest2/from_select_test.go:116\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst from select * from src"] [2025/04/04 10:35:48.011 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=e4f33ba8-55bf-4ffd-a7d8-5a3bb8b07f49] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=145] [2025/04/04 10:35:48.018 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:48.019 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404354783641569] [2025/04/04 10:35:48.019 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:48.019 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:48.020 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:48.020 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:48.020 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:48.020 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:48.021 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:48.021 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:48.034 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:48.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 10:35:48.037 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=373.5GB] [2025/04/04 10:35:48.040 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:48.044 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:48.060 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=e4f33ba8-55bf-4ffd-a7d8-5a3bb8b07f49] [key=import-from-select] [2025/04/04 10:35:48.061 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=e4f33ba8-55bf-4ffd-a7d8-5a3bb8b07f49] [key=import-from-select] [readDur=9.524µs] [encodeDur=573.566µs] [checksum="{cksum=15050668223368551470,size=33,kvs=1}"] [deliverDur=232.204µs] [type=query] [takeTime=1.074931ms] [] [2025/04/04 10:35:48.062 +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/e4f33ba8-55bf-4ffd-a7d8-5a3bb8b07f49/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/16710c2e-494a-4af0-bd5b-85b9fee4a020.sst] [firstKey=7480000000000000915F728000000000000001] [lastKey=7480000000000000915F728000000000000001] [2025/04/04 10:35:48.080 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=e4f33ba8-55bf-4ffd-a7d8-5a3bb8b07f49] [key=import-from-select] [2025/04/04 10:35:48.081 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=e4f33ba8-55bf-4ffd-a7d8-5a3bb8b07f49] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=111.286µs] [] [2025/04/04 10:35:48.081 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:48.082 +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.306672ms] [] [2025/04/04 10:35:48.082 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/04 10:35:48.086 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:48.108 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=1] [size=33] [2025/04/04 10:35:48.108 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:48.110 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000915f728000000000000001] [endOfAllRanges=7480000000000000915f728000000000000002] [startKeyOfFirstRegion=7480000000000000ff915f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff915f728000000000ff0000020000000000fa] [2025/04/04 10:35:48.121 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=33] [kvs=1] [importedSize=33] [importedCount=1] [2025/04/04 10:35:48.123 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [takeTime=40.574539ms] [] [2025/04/04 10:35:48.123 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:48.125 +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.862672ms] [] [2025/04/04 10:35:48.125 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/04 10:35:48.129 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:48.129 +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=4.008761ms] [] [2025/04/04 10:35:48.129 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=e4f33ba8-55bf-4ffd-a7d8-5a3bb8b07f49] [checksum="{\"id=-1\"=\"{cksum=15050668223368551470,size=33,kvs=1}\"}"] [2025/04/04 10:35:48.129 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=e4f33ba8-55bf-4ffd-a7d8-5a3bb8b07f49] [2025/04/04 10:35:48.135 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=e4f33ba8-55bf-4ffd-a7d8-5a3bb8b07f49] [takeTime=5.684615ms] [] [2025/04/04 10:35:48.135 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=e4f33ba8-55bf-4ffd-a7d8-5a3bb8b07f49] [checksum="{cksum=15050668223368551470,size=33,kvs=1}"] [2025/04/04 10:35:48.135 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=e4f33ba8-55bf-4ffd-a7d8-5a3bb8b07f49] [weight=30] [2025/04/04 10:35:48.135 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=e4f33ba8-55bf-4ffd-a7d8-5a3bb8b07f49] [concurrency=15] [2025/04/04 10:35:48.137 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=145] [physicalTableID=145] [indexID=-1] [checksum=15050668223368551470] [totalKvs=1] [totalBytes=33] [2025/04/04 10:35:48.137 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:48.137 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=e4f33ba8-55bf-4ffd-a7d8-5a3bb8b07f49] [local="{cksum=15050668223368551470,size=33,kvs=1}"] [2025/04/04 10:35:48.137 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=e4f33ba8-55bf-4ffd-a7d8-5a3bb8b07f49] [checksum="{\"id=-1\"=\"{cksum=15050668223368551470,size=33,kvs=1}\"}"] [takeTime=8.32058ms] [] [2025/04/04 10:35:48.138 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:48.138 +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.52µs] [] [2025/04/04 10:35:48.138 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:48.139 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.117364ms] [] [2025/04/04 10:35:48.139 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:48.139 +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.313µs] [] [2025/04/04 10:35:48.139 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:48.140 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=864.818µs] [] [2025/04/04 10:35:48.143 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:48.143 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:48.143 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:48.143 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:48.143 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:48.143 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:48.143 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:48.143 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:48.143 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:48.143 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:48.143 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:48.143 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:48.145 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:48.145 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:48.145 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:48.145 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:48.160 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:148, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:48.160 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:148, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/04 10:35:48.166 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=148] [conn=2] [job="ID:148, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.174 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 147, Table Name: dst, Old Table ID: 145, Old Table Name: dst)"] [2025/04/04 10:35:48.190 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=80] [neededSchemaVersion=81] ["elapsed time"=1.861643ms] [gotSchemaVersion=81] [phyTblIDs="[145,147]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:35:48.194 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=148] [version=81] [2025/04/04 10:35:48.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=81] ["take time"=9.519181ms] [job="ID:148, Type:truncate table, State:done, SchemaState:public, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.208 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=148] [tableIDs="[145]"] [comment="truncate table: table ID"] [2025/04/04 10:35:48.217 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=148] [jobType="truncate table"] [2025/04/04 10:35:48.218 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=148] [conn=2] [job="ID:148, Type:truncate table, State:synced, SchemaState:public, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.236 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=148] [2025/04/04 10:35:48.237 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=81] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/04 10:35:48.441 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457116994345369620] [2025/04/04 10:35:48.448 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=2] [SnapshotTS=457116994328854528] [2025/04/04 10:35:48.450 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=2] [schemaVersion=81] [2025/04/04 10:35:48.450 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:35:48.450 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=2] [schemaVersion=81] [2025/04/04 10:35:48.450 +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\": 457116994328854528,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": null\n}"] [2025/04/04 10:35:48.451 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=2] [schemaVersion=81] [2025/04/04 10:35:48.452 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:35:48.452 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=2] [schemaVersion=81] [2025/04/04 10:35:48.452 +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\": 457116994328854528,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": null\n}"] [2025/04/04 10:35:48.495 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=18b2f543-8ad2-4ece-8316-af8aba8b6d51] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=147] [2025/04/04 10:35:48.502 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:48.502 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404354783641569] [2025/04/04 10:35:48.502 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:48.502 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:48.502 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:48.502 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:48.502 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:48.503 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:48.503 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:48.503 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:48.514 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:48.516 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:48.516 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=373.5GB] [2025/04/04 10:35:48.519 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:48.523 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:48.565 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=18b2f543-8ad2-4ece-8316-af8aba8b6d51] [key=import-from-select] [2025/04/04 10:35:48.566 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=18b2f543-8ad2-4ece-8316-af8aba8b6d51] [key=import-from-select] [2025/04/04 10:35:48.566 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=18b2f543-8ad2-4ece-8316-af8aba8b6d51] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=80.927µs] [] [2025/04/04 10:35:48.566 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=18b2f543-8ad2-4ece-8316-af8aba8b6d51] [key=import-from-select] [readDur=20.225µs] [encodeDur=276.043µs] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [deliverDur=244.218µs] [type=query] [takeTime=830.559µs] [] [2025/04/04 10:35:48.567 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:48.567 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=66] [kvs=2] [files=1] [sstFileSize=974] [file=/tmp/tidb/import-4000/18b2f543-8ad2-4ece-8316-af8aba8b6d51/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/420e07bf-4ff5-45bd-8f6e-ddee1bb94f2f.sst] [firstKey=7480000000000000935F728000000000000001] [lastKey=7480000000000000935F728000000000000002] [2025/04/04 10:35:48.569 +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.176412ms] [] [2025/04/04 10:35:48.569 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/04 10:35:48.573 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:48.595 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=2] [size=66] [2025/04/04 10:35:48.595 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:48.596 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000935f728000000000000001] [endOfAllRanges=7480000000000000935f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff935f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff935f728000000000ff0000030000000000fa] [2025/04/04 10:35:48.647 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/04 10:35:48.649 +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=80.241074ms] [] [2025/04/04 10:35:48.649 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:48.651 +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.672995ms] [] [2025/04/04 10:35:48.651 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/04 10:35:48.655 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:48.655 +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.896242ms] [] [2025/04/04 10:35:48.655 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=18b2f543-8ad2-4ece-8316-af8aba8b6d51] [checksum="{\"id=-1\"=\"{cksum=4095868306028115111,size=66,kvs=2}\"}"] [2025/04/04 10:35:48.655 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=18b2f543-8ad2-4ece-8316-af8aba8b6d51] [2025/04/04 10:35:48.661 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=18b2f543-8ad2-4ece-8316-af8aba8b6d51] [takeTime=5.790921ms] [] [2025/04/04 10:35:48.661 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=18b2f543-8ad2-4ece-8316-af8aba8b6d51] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/04 10:35:48.661 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=18b2f543-8ad2-4ece-8316-af8aba8b6d51] [weight=30] [2025/04/04 10:35:48.661 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=18b2f543-8ad2-4ece-8316-af8aba8b6d51] [concurrency=15] [2025/04/04 10:35:48.663 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=147] [physicalTableID=147] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/04 10:35:48.663 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:48.663 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=18b2f543-8ad2-4ece-8316-af8aba8b6d51] [local="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/04 10:35:48.664 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=18b2f543-8ad2-4ece-8316-af8aba8b6d51] [checksum="{\"id=-1\"=\"{cksum=4095868306028115111,size=66,kvs=2}\"}"] [takeTime=8.34451ms] [] [2025/04/04 10:35:48.664 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:48.664 +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.411µs] [] [2025/04/04 10:35:48.664 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:48.665 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.173358ms] [] [2025/04/04 10:35:48.665 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:48.665 +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.442µs] [] [2025/04/04 10:35:48.665 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:48.666 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=903.689µs] [] [2025/04/04 10:35:48.669 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:48.669 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:48.669 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:48.669 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:48.669 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:48.669 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:48.669 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:48.669 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:48.669 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:48.670 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:48.669 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:48.670 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:48.672 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:48.672 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:48.672 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:48.672 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:48.687 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:150, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:48.687 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:150, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/04 10:35:48.692 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:147, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.700 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 149, Table Name: dst, Old Table ID: 147, Old Table Name: dst)"] [2025/04/04 10:35:48.716 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=81] [neededSchemaVersion=82] ["elapsed time"=1.863335ms] [gotSchemaVersion=82] [phyTblIDs="[147,149]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:35:48.719 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=82] [2025/04/04 10:35:48.721 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=82] ["take time"=9.671469ms] [job="ID:150, Type:truncate table, State:done, SchemaState:public, SchemaID:141, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.732 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=150] [tableIDs="[147]"] [comment="truncate table: table ID"] [2025/04/04 10:35:48.737 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=150] [jobType="truncate table"] [2025/04/04 10:35:48.738 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:truncate table, State:synced, SchemaState:public, SchemaID:141, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.755 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=150] [2025/04/04 10:35:48.755 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=82] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/04 10:35:48.758 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=2] [SnapshotTS=457116994328854528] [2025/04/04 10:35:48.759 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="can not execute IMPORT statement when 'tidb_snapshot' is set"] [errorVerbose="can not execute IMPORT statement when 'tidb_snapshot' is set\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4656\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectStaleRead\n\ttests/realtikvtest/importintotest2/from_select_test.go:149\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst from select * from src as of timestamp '2025-04-04 10:35:48.337727'"] [2025/04/04 10:35:48.760 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="can not execute IMPORT statement when 'tidb_snapshot' is set"] [errorVerbose="can not execute IMPORT statement when 'tidb_snapshot' is set\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4656\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectStaleRead\n\ttests/realtikvtest/importintotest2/from_select_test.go:151\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst from select * from src"] [2025/04/04 10:35:48.807 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=15e92b7e-c048-4ed4-a45a-75d244cc8639] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=149] [2025/04/04 10:35:48.815 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:48.815 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404354783641569] [2025/04/04 10:35:48.816 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:48.816 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:48.816 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:48.816 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:48.816 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:48.816 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:48.817 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:48.817 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:48.828 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:48.830 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:48.830 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=373.5GB] [2025/04/04 10:35:48.834 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:48.838 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:48.878 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=15e92b7e-c048-4ed4-a45a-75d244cc8639] [key=import-from-select] [2025/04/04 10:35:48.879 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=15e92b7e-c048-4ed4-a45a-75d244cc8639] [key=import-from-select] [readDur=12.92µs] [encodeDur=285.007µs] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [deliverDur=253.946µs] [type=query] [takeTime=909.955µs] [] [2025/04/04 10:35:48.880 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=66] [kvs=2] [files=1] [sstFileSize=974] [file=/tmp/tidb/import-4000/15e92b7e-c048-4ed4-a45a-75d244cc8639/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/6e135544-b8db-4d18-8405-f9a815a2d1a9.sst] [firstKey=7480000000000000955F728000000000000001] [lastKey=7480000000000000955F728000000000000002] [2025/04/04 10:35:48.880 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=15e92b7e-c048-4ed4-a45a-75d244cc8639] [key=import-from-select] [2025/04/04 10:35:48.880 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=15e92b7e-c048-4ed4-a45a-75d244cc8639] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=113.055µs] [] [2025/04/04 10:35:48.881 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:48.883 +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.926021ms] [] [2025/04/04 10:35:48.883 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/04 10:35:48.887 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:48.910 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=2] [size=66] [2025/04/04 10:35:48.910 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:48.912 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000955f728000000000000001] [endOfAllRanges=7480000000000000955f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff955f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff955f728000000000ff0000030000000000fa] [2025/04/04 10:35:48.923 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/04 10:35:48.924 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [takeTime=41.59571ms] [] [2025/04/04 10:35:48.924 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:48.926 +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.510475ms] [] [2025/04/04 10:35:48.926 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/04 10:35:48.930 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:48.930 +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.806073ms] [] [2025/04/04 10:35:48.930 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=15e92b7e-c048-4ed4-a45a-75d244cc8639] [checksum="{\"id=-1\"=\"{cksum=4095868306028115111,size=66,kvs=2}\"}"] [2025/04/04 10:35:48.930 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=15e92b7e-c048-4ed4-a45a-75d244cc8639] [2025/04/04 10:35:48.936 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=15e92b7e-c048-4ed4-a45a-75d244cc8639] [takeTime=6.080347ms] [] [2025/04/04 10:35:48.936 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=15e92b7e-c048-4ed4-a45a-75d244cc8639] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/04 10:35:48.936 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=15e92b7e-c048-4ed4-a45a-75d244cc8639] [weight=30] [2025/04/04 10:35:48.936 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=15e92b7e-c048-4ed4-a45a-75d244cc8639] [concurrency=15] [2025/04/04 10:35:48.938 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=149] [physicalTableID=149] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/04 10:35:48.939 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:48.939 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=15e92b7e-c048-4ed4-a45a-75d244cc8639] [local="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/04 10:35:48.939 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=15e92b7e-c048-4ed4-a45a-75d244cc8639] [checksum="{\"id=-1\"=\"{cksum=4095868306028115111,size=66,kvs=2}\"}"] [takeTime=8.919006ms] [] [2025/04/04 10:35:48.939 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:48.939 +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.32µs] [] [2025/04/04 10:35:48.939 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:35:48.940 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=990.454µs] [] [2025/04/04 10:35:48.940 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:48.940 +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.551µs] [] [2025/04/04 10:35:48.940 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:35:48.941 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=933.767µs] [] [2025/04/04 10:35:48.944 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:48.944 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:48.944 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:48.944 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:48.944 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:48.944 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:48.944 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:48.944 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:48.944 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:48.945 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:48.944 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:48.945 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:48.946 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:48.946 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:48.946 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:48.946 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestImportFromSelectStaleRead (1.54s) === NAME TestImportInto === RUN TestImportInto/TestWriteAfterImportFromFile [2025/04/04 10:35:48.952 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=82] [cur_db=from_select] [sql="drop database if exists write_after_import"] [user=] [2025/04/04 10:35:48.965 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:152, Type:create schema, State:queueing, SchemaState:none, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:48.965 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:152, Type:create schema, State:queueing, SchemaState:none, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database write_after_import"] [2025/04/04 10:35:48.970 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=152] [conn=2] [job="ID:152, Type:create schema, State:queueing, SchemaState:none, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.982 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=82] [neededSchemaVersion=83] ["elapsed time"=646.383µs] [gotSchemaVersion=83] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:48.986 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=152] [version=83] [2025/04/04 10:35:48.987 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=83] ["take time"=7.450616ms] [job="ID:152, Type:create schema, State:done, SchemaState:public, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.998 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=152] [conn=2] [job="ID:152, Type:create schema, State:synced, SchemaState:public, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:49.007 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=152] [2025/04/04 10:35:49.008 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=83] [cur_db=from_select] [sql="create database write_after_import"] [user=] === RUN TestImportInto/TestWriteAfterImportFromFile/case-0 current case CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64)) [2025/04/04 10:35:49.010 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=83] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/04 10:35:49.023 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:154, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:49.023 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:154, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64))"] [2025/04/04 10:35:49.031 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=154] [conn=2] [job="ID:154, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:49.035 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 153, Table Name: t)"] [2025/04/04 10:35:49.050 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=83] [neededSchemaVersion=84] ["elapsed time"=1.744407ms] [gotSchemaVersion=84] [phyTblIDs="[153]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:49.054 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=154] [version=84] [2025/04/04 10:35:49.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=84] ["take time"=8.774003ms] [job="ID:154, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:49.067 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=154] [conn=2] [job="ID:154, Type:create table, State:synced, SchemaState:public, SchemaID:151, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:49.078 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=154] [2025/04/04 10:35:49.078 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=84] [cur_db=write_after_import] [sql="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64))"] [user=] [2025/04/04 10:35:49.206 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:49.260 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:35:49.289 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=1] [task-id=1] [data-size=36B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:35:49.304 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/04 10:35:49.304 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:35:49.407 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:49.408 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:49.409 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [2025/04/04 10:35:49.417 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:49.420 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:49.420 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/04 10:35:49.420 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=56.557µs] [2025/04/04 10:35:49.420 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=156.793µs] [] [2025/04/04 10:35:49.421 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:35:49.421 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=36] [subtasks=1] [2025/04/04 10:35:49.460 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:35:49.482 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/04 10:35:49.482 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:49.490 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:49.490 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404354783641569] [2025/04/04 10:35:49.490 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:49.490 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:49.491 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:49.491 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:49.491 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:49.491 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:49.491 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:49.491 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:49.504 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:49.506 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:49.506 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:35:49.506 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=1] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:49.506 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=1] [disk-quota=347.8GiB] [2025/04/04 10:35:49.506 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [2025/04/04 10:35:49.513 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=1] [mode=Import] [2025/04/04 10:35:49.515 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [2025/04/04 10:35:49.516 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [2025/04/04 10:35:49.519 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 10:35:49.524 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:49.524 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=153] [2025/04/04 10:35:49.524 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=153] [2025/04/04 10:35:49.533 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=1] [2025/04/04 10:35:49.603 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=153] [key=1.csv:0] [2025/04/04 10:35:49.605 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=153] [key=2.csv:0] [2025/04/04 10:35:49.605 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=153] [key=1.csv:0] [readDur=1.076406ms] [encodeDur=162.837µs] [checksum="{cksum=8870261354621979222,size=68,kvs=2}"] [deliverDur=129.359µs] [type=file] [takeTime=1.72156ms] [] [2025/04/04 10:35:49.606 +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/466a84ec-d1ea-4e6f-8cd9-9bd1ea37b491.sst] [firstKey=7480000000000000995F728000000000000004] [lastKey=7480000000000000995F728000000000000005] [2025/04/04 10:35:49.607 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=153] [key=2.csv:0] [readDur=955.693µs] [encodeDur=413.995µs] [checksum="{cksum=13585057687600554216,size=68,kvs=2}"] [deliverDur=30.458µs] [type=file] [takeTime=1.664499ms] [] [2025/04/04 10:35:49.607 +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/dc0103ec-ae59-446d-902e-9e0c20f89b11.sst] [firstKey=7480000000000000995F728000000000000006] [lastKey=7480000000000000995F728000000000000007] [2025/04/04 10:35:49.608 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/04 10:35:49.608 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/04 10:35:49.608 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 10:35:49.610 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [takeTime=1.85358ms] [] [2025/04/04 10:35:49.610 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [2025/04/04 10:35:49.614 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:49.636 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] ["region ranges"=1] [count=4] [size=136] [2025/04/04 10:35:49.636 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:49.639 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000995f728000000000000004] [endOfAllRanges=7480000000000000995f728000000000000008] [startKeyOfFirstRegion=7480000000000000ff995f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ff995f728000000000ff0000080000000000fa] [2025/04/04 10:35:49.650 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [size=136] [kvs=4] [importedSize=136] [importedCount=4] [2025/04/04 10:35:49.652 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [takeTime=41.908977ms] [] [2025/04/04 10:35:49.652 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 10:35:49.653 +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.042398ms] [] [2025/04/04 10:35:49.653 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/04 10:35:49.653 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:49.654 +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.465672ms] [] [2025/04/04 10:35:49.654 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/04 10:35:49.658 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:49.658 +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.814089ms] [] [2025/04/04 10:35:49.658 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:49.659 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=960.883µs] [] [2025/04/04 10:35:49.659 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [takeTime=143.913769ms] [] [2025/04/04 10:35:49.660 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [takeTime=144.062478ms] [] [2025/04/04 10:35:49.712 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:49.714 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:49.715 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:49.715 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:49.752 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 10:35:49.754 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:49.754 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=36] [subtasks=1] [2025/04/04 10:35:49.796 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:35:49.803 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/04 10:35:49.806 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:49.806 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:49.806 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:49.806 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:49.806 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:49.806 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:49.806 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:49.806 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:49.806 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:49.806 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:49.806 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:49.806 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:49.808 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:49.808 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:49.808 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:49.808 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:49.808 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [takeTime=301.529161ms] [] [2025/04/04 10:35:49.809 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [2025/04/04 10:35:49.817 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=post-process] [2025/04/04 10:35:49.817 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/04 10:35:49.817 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/04 10:35:49.817 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/04 10:35:49.825 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=7.863914ms] [] [2025/04/04 10:35:49.825 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [groupId=-1] [size=136] [kvs=4] [checksum=14384125892341312190] [2025/04/04 10:35:49.825 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/04 10:35:49.825 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [weight=30] [2025/04/04 10:35:49.825 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [concurrency=15] [2025/04/04 10:35:49.827 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=153] [physicalTableID=153] [indexID=-1] [checksum=14384125892341312190] [totalKvs=4] [totalBytes=136] [2025/04/04 10:35:49.827 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:49.827 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [local="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/04 10:35:49.828 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=10.560215ms] [] [2025/04/04 10:35:49.828 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=10.68985ms] [] [2025/04/04 10:35:49.829 +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=11.699859ms] [] [2025/04/04 10:35:49.839 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:49.912 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:49.912 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=1] [step=post-process] [state=running] [] [2025/04/04 10:35:49.915 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=1] [2025/04/04 10:35:49.939 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [takeTime=129.731203ms] [] [2025/04/04 10:35:49.939 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/04 10:35:50.007 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/04 10:35:50.013 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:50.013 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/04 10:35:50.045 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:50.207 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.1287208579999999\n# Parse_time: 0.000098712\n# Compile_time: 0.000460056\n# Rewrite_time: 0.000093043\n# Optimize_time: 0.000275291\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMTNzLCBvcGVuOjYwOG5zLCBjbG9zZTo2MjFucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMTNzLCBvcGVuOjYwOG5zLCBjbG9zZTo2MjFucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse write_after_import;\nIMPORT INTO `write_after_import`.`t` FROM 'gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestWriteAfterImportFromFile/case-0 (1.21s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-1 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-1 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-2 current case CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64)) [2025/04/04 10:35:50.235 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:155, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:50.235 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:155, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:35:50.241 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.259 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=84] [neededSchemaVersion=85] ["elapsed time"=2.272328ms] [gotSchemaVersion=85] [phyTblIDs="[153]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:50.263 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=85] [2025/04/04 10:35:50.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=85] ["take time"=10.302955ms] [job="ID:155, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.276 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.295 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=85] [neededSchemaVersion=86] ["elapsed time"=2.305254ms] [gotSchemaVersion=86] [phyTblIDs="[153]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:50.299 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=86] [2025/04/04 10:35:50.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=86] ["take time"=10.038153ms] [job="ID:155, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.309 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.316 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 153, Old Table Name: t)"] [2025/04/04 10:35:50.330 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=86] [neededSchemaVersion=87] ["elapsed time"=1.129699ms] [gotSchemaVersion=87] [phyTblIDs="[153]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:50.333 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=87] [2025/04/04 10:35:50.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=87] ["take time"=8.410394ms] [job="ID:155, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.345 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=155] [tableIDs="[153]"] [comment="drop table: table ID"] [2025/04/04 10:35:50.350 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=155] [jobType="drop table"] [2025/04/04 10:35:50.351 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:drop table, State:synced, SchemaState:none, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.370 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=155] [2025/04/04 10:35:50.370 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=87] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/04 10:35:50.384 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:157, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64))"] [2025/04/04 10:35:50.384 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:157, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:50.390 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=157] [conn=2] [job="ID:157, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.395 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 156, Table Name: t)"] [2025/04/04 10:35:50.410 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=87] [neededSchemaVersion=88] ["elapsed time"=1.826068ms] [gotSchemaVersion=88] [phyTblIDs="[156]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:50.414 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=157] [version=88] [2025/04/04 10:35:50.416 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=88] ["take time"=8.96402ms] [job="ID:157, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.427 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=157] [conn=2] [job="ID:157, Type:create table, State:synced, SchemaState:public, SchemaID:151, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.442 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=157] [2025/04/04 10:35:50.443 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=88] [cur_db=write_after_import] [sql="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64))"] [user=] [2025/04/04 10:35:50.449 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:50.497 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:35:50.517 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=2] [task-id=2] [data-size=36B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:35:50.530 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=2] [2025/04/04 10:35:50.530 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:35:50.633 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:50.634 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:50.635 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [2025/04/04 10:35:50.646 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:50.648 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:50.648 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/04 10:35:50.649 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=64.213µs] [2025/04/04 10:35:50.649 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=161.411µs] [] [2025/04/04 10:35:50.649 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:35:50.649 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=36] [subtasks=1] [2025/04/04 10:35:50.679 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:35:50.700 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/04 10:35:50.701 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:50.709 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:50.709 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404354783641569] [2025/04/04 10:35:50.709 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:50.709 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:50.710 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:50.710 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:50.710 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:50.710 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:50.710 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:50.711 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:50.723 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:50.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 10:35:50.726 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:35:50.726 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=2] [step=import] [data-buf-limit=170.7MiB] [per-index-buf-limit=56.89MiB] [index-buf-block-size=56.89MiB] [2025/04/04 10:35:50.726 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [2025/04/04 10:35:50.726 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=2] [disk-quota=347.8GiB] [2025/04/04 10:35:50.734 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=import] [2025/04/04 10:35:50.734 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=3] [2025/04/04 10:35:50.739 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 10:35:50.740 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=2] [mode=Import] [2025/04/04 10:35:50.743 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:50.743 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=156] [2025/04/04 10:35:50.743 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=156] [2025/04/04 10:35:50.761 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=156] [key=2.csv:0] [2025/04/04 10:35:50.762 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=2] [2025/04/04 10:35:50.764 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=156] [key=2.csv:0] [readDur=945.886µs] [encodeDur=392.89µs] [checksum="{cksum=4755199630144978764,size=148,kvs=4}"] [deliverDur=754.073µs] [type=file] [takeTime=2.481435ms] [] [2025/04/04 10:35:50.765 +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/60333b7b-c2fd-4cea-a960-00c77a89d713.sst] [firstKey=74800000000000009C5F72800000000000000A] [lastKey=74800000000000009C5F72800000000000000B] [2025/04/04 10:35:50.786 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=156] [key=1.csv:0] [2025/04/04 10:35:50.788 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=156] [key=1.csv:0] [readDur=914.883µs] [encodeDur=510.308µs] [checksum="{cksum=3543191561364936534,size=148,kvs=4}"] [deliverDur=308.078µs] [type=file] [takeTime=2.063322ms] [] [2025/04/04 10:35:50.789 +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/912641e6-e6b1-4bd5-b8e7-331e0b8d31c5.sst] [firstKey=74800000000000009C5F728000000000000001] [lastKey=74800000000000009C5F728000000000000002] [2025/04/04 10:35:50.789 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 10:35:50.790 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 10:35:50.790 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 10:35:50.792 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [takeTime=2.564339ms] [] [2025/04/04 10:35:50.792 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [2025/04/04 10:35:50.800 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:50.822 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] ["region ranges"=1] [count=4] [size=152] [2025/04/04 10:35:50.822 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:50.827 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000009c5f728000000000000001] [endOfAllRanges=74800000000000009c5f72800000000000000c] [startKeyOfFirstRegion=7480000000000000ff9c5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff9c5f728000000000ff00000c0000000000fa] [2025/04/04 10:35:50.840 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/04 10:35:50.842 +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.988266ms] [] [2025/04/04 10:35:50.842 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 10:35:50.844 +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.250895ms] [] [2025/04/04 10:35:50.844 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 10:35:50.844 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:50.845 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=2] [size=144] [count=4] [cost=1.08662ms] [file=/tmp/tidb/import-4000/2/630083e6-fc50-5cd2-8645-c17b147197ce.sst/29670b3b-5b86-49de-983f-e6c536a36d4e.sst] [2025/04/04 10:35:50.845 +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/29670b3b-5b86-49de-983f-e6c536a36d4e.sst] [firstKey=74800000000000009C5F698000000000000001038000000000000004] [lastKey=74800000000000009C5F698000000000000001038000000000000007] [2025/04/04 10:35:50.847 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=3.54732ms] [] [2025/04/04 10:35:50.848 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/04 10:35:50.852 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:50.874 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] ["region ranges"=1] [count=4] [size=144] [2025/04/04 10:35:50.874 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:50.876 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000009c5f698000000000000001038000000000000004] [endOfAllRanges=74800000000000009c5f69800000000000000103800000000000000700] [startKeyOfFirstRegion=7480000000000000ff9c5f698000000000ff0000010380000000ff0000000400000000fb] [endKeyOfLastRegion=7480000000000000ff9c5f698000000000ff0000010380000000ff0000000700000000fc] [2025/04/04 10:35:50.887 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] [size=144] [kvs=4] [importedSize=144] [importedCount=4] [2025/04/04 10:35:50.889 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [takeTime=41.723132ms] [] [2025/04/04 10:35:50.889 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:50.891 +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.197209ms] [] [2025/04/04 10:35:50.891 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=3] [takeTime=156.577928ms] [] [2025/04/04 10:35:50.891 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=import] [takeTime=156.732687ms] [] [2025/04/04 10:35:50.939 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:50.940 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:50.941 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:50.941 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:50.973 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 10:35:50.975 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:50.975 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=36] [subtasks=1] [2025/04/04 10:35:51.007 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:35:51.015 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/04 10:35:51.019 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:51.019 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:51.019 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:51.019 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:51.019 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:51.019 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:51.019 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:51.019 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:51.019 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:51.019 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:51.019 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:51.019 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:51.022 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:51.022 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:51.022 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:51.022 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:51.022 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [takeTime=295.977566ms] [] [2025/04/04 10:35:51.023 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [2025/04/04 10:35:51.032 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=post-process] [2025/04/04 10:35:51.032 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/04 10:35:51.032 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/04 10:35:51.032 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/04 10:35:51.040 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=7.406369ms] [] [2025/04/04 10:35:51.040 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [groupId=-1] [size=152] [kvs=4] [checksum=9534713575869581377] [2025/04/04 10:35:51.040 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [groupId=1] [size=144] [kvs=4] [checksum=17619267392293085275] [2025/04/04 10:35:51.040 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [checksum="{cksum=8130735849710921754,size=296,kvs=8}"] [2025/04/04 10:35:51.040 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [weight=30] [2025/04/04 10:35:51.040 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [concurrency=15] [2025/04/04 10:35:51.047 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=156] [physicalTableID=156] [indexID=-1] [checksum=9534713575869581377] [totalKvs=4] [totalBytes=152] [2025/04/04 10:35:51.048 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=156] [physicalTableID=156] [indexID=1] [checksum=17619267392293085275] [totalKvs=4] [totalBytes=144] [2025/04/04 10:35:51.049 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:51.049 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [local="{cksum=8130735849710921754,size=296,kvs=8}"] [2025/04/04 10:35:51.049 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=16.528077ms] [] [2025/04/04 10:35:51.049 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=16.686332ms] [] [2025/04/04 10:35:51.049 +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.842884ms] [] [2025/04/04 10:35:51.063 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:51.139 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:51.139 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=2] [step=post-process] [state=running] [] [2025/04/04 10:35:51.142 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=2] [2025/04/04 10:35:51.179 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [takeTime=155.807183ms] [] [2025/04/04 10:35:51.179 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/04 10:35:51.234 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=2] [2025/04/04 10:35:51.244 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:51.244 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=2] [2025/04/04 10:35:51.268 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:51.435 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.991891303\n# Parse_time: 0.000083605\n# Compile_time: 0.000459915\n# Rewrite_time: 0.000107726\n# Optimize_time: 0.000293381\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MS4xbXMsIG9wZW46NjI0bnMsIGNsb3NlOjczNG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5MS4xbXMsIG9wZW46NjI0bnMsIGNsb3NlOjczNG5zLCBsb29wczoycP////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.23s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-3 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-3 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-4 current case CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64)) [2025/04/04 10:35:51.464 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:158, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:51.464 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:158, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:35:51.470 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.488 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=88] [neededSchemaVersion=89] ["elapsed time"=2.571149ms] [gotSchemaVersion=89] [phyTblIDs="[156]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:51.492 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=89] [2025/04/04 10:35:51.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=89] ["take time"=10.350305ms] [job="ID:158, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.506 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.525 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=89] [neededSchemaVersion=90] ["elapsed time"=2.761406ms] [gotSchemaVersion=90] [phyTblIDs="[156]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:51.529 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=90] [2025/04/04 10:35:51.531 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=90] ["take time"=11.108567ms] [job="ID:158, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.540 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.548 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 156, Old Table Name: t)"] [2025/04/04 10:35:51.568 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=90] [neededSchemaVersion=91] ["elapsed time"=1.329686ms] [gotSchemaVersion=91] [phyTblIDs="[156]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:51.572 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=91] [2025/04/04 10:35:51.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=91] ["take time"=9.33691ms] [job="ID:158, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.584 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=158] [tableIDs="[156]"] [comment="drop table: table ID"] [2025/04/04 10:35:51.589 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=158] [jobType="drop table"] [2025/04/04 10:35:51.590 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:drop table, State:synced, SchemaState:none, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.611 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=158] [2025/04/04 10:35:51.611 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=91] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/04 10:35:51.626 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:160, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:51.626 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:160, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64))"] [2025/04/04 10:35:51.632 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=160] [conn=2] [job="ID:160, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:159, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.638 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 159, Table Name: t)"] [2025/04/04 10:35:51.654 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=91] [neededSchemaVersion=92] ["elapsed time"=1.816033ms] [gotSchemaVersion=92] [phyTblIDs="[159]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:51.658 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=160] [version=92] [2025/04/04 10:35:51.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=92] ["take time"=9.775169ms] [job="ID:160, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.673 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=160] [conn=2] [job="ID:160, Type:create table, State:synced, SchemaState:public, SchemaID:151, TableID:159, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.686 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=160] [2025/04/04 10:35:51.686 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=92] [cur_db=write_after_import] [sql="CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64))"] [user=] [2025/04/04 10:35:51.693 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:51.749 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:35:51.774 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=3] [task-id=3] [data-size=36B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:35:51.790 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=3] [2025/04/04 10:35:51.790 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:35:51.893 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:51.894 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:51.895 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [2025/04/04 10:35:51.904 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:51.907 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:51.907 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/04 10:35:51.907 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=76.542µs] [2025/04/04 10:35:51.907 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=192.516µs] [] [2025/04/04 10:35:51.907 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:35:51.907 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=36] [subtasks=1] [2025/04/04 10:35:51.950 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:35:51.969 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/04 10:35:51.970 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:51.979 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:51.979 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404354783641569] [2025/04/04 10:35:51.979 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:51.979 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:51.979 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:51.979 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:51.980 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:51.980 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:51.980 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:51.980 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:51.994 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:51.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 10:35:51.996 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:35:51.996 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=3] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:51.996 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=3] [disk-quota=347.8GiB] [2025/04/04 10:35:51.996 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [2025/04/04 10:35:51.998 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=3] [mode=Import] [2025/04/04 10:35:52.004 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=import] [2025/04/04 10:35:52.004 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=5] [2025/04/04 10:35:52.008 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 10:35:52.012 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:52.013 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=159] [2025/04/04 10:35:52.013 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=159] [2025/04/04 10:35:52.029 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=3] [2025/04/04 10:35:52.156 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=159] [key=2.csv:0] [2025/04/04 10:35:52.159 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=159] [key=2.csv:0] [readDur=1.463229ms] [encodeDur=358.303µs] [checksum="{cksum=13585057687600554216,size=68,kvs=2}"] [deliverDur=336.811µs] [type=file] [takeTime=2.922206ms] [] [2025/04/04 10:35:52.160 +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/afc75ef2-2c80-4599-bf38-206f9a8052a2.sst] [firstKey=74800000000000009F5F728000000000000006] [lastKey=74800000000000009F5F728000000000000007] [2025/04/04 10:35:52.230 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=159] [key=1.csv:0] [2025/04/04 10:35:52.232 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=159] [key=1.csv:0] [readDur=995.249µs] [encodeDur=618.036µs] [checksum="{cksum=8870261354621979222,size=68,kvs=2}"] [deliverDur=26.879µs] [type=file] [takeTime=1.995678ms] [] [2025/04/04 10:35:52.233 +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/39ce57d3-c089-45da-8c37-25f3dd932edd.sst] [firstKey=74800000000000009F5F728000000000000004] [lastKey=74800000000000009F5F728000000000000005] [2025/04/04 10:35:52.233 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 10:35:52.233 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 10:35:52.233 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 10:35:52.236 +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.094413ms] [] [2025/04/04 10:35:52.236 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [2025/04/04 10:35:52.241 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:52.264 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] ["region ranges"=1] [count=4] [size=136] [2025/04/04 10:35:52.264 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:52.266 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000009f5f728000000000000004] [endOfAllRanges=74800000000000009f5f728000000000000008] [startKeyOfFirstRegion=7480000000000000ff9f5f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ff9f5f728000000000ff0000080000000000fa] [2025/04/04 10:35:52.279 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [size=136] [kvs=4] [importedSize=136] [importedCount=4] [2025/04/04 10:35:52.281 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [takeTime=44.132177ms] [] [2025/04/04 10:35:52.281 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 10:35:52.282 +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.385177ms] [] [2025/04/04 10:35:52.282 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 10:35:52.282 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:52.284 +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.910218ms] [] [2025/04/04 10:35:52.284 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/04 10:35:52.288 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:52.288 +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.839394ms] [] [2025/04/04 10:35:52.288 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:52.289 +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.034332ms] [] [2025/04/04 10:35:52.289 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=5] [takeTime=285.288992ms] [] [2025/04/04 10:35:52.290 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=import] [takeTime=285.453671ms] [] [2025/04/04 10:35:52.398 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:52.399 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:52.400 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:52.400 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:52.437 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 10:35:52.439 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:52.439 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=36] [subtasks=1] [2025/04/04 10:35:52.456 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:35:52.456 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/04 10:35:52.459 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:52.459 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:52.459 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:52.459 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:52.459 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:52.459 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:52.459 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:52.459 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-14] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:52.459 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:52.460 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:52.460 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:52.460 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:52.462 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:52.462 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:52.462 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:52.462 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:52.462 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [takeTime=466.288125ms] [] [2025/04/04 10:35:52.462 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/04 10:35:52.481 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:35:52.503 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [2025/04/04 10:35:52.511 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=post-process] [2025/04/04 10:35:52.511 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/04 10:35:52.512 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/04 10:35:52.512 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/04 10:35:52.512 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=2.394µs] [] [2025/04/04 10:35:52.512 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [groupId=-1] [size=136] [kvs=4] [checksum=14384125892341312190] [2025/04/04 10:35:52.512 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/04 10:35:52.512 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [weight=30] [2025/04/04 10:35:52.512 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [concurrency=15] [2025/04/04 10:35:52.514 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=159] [physicalTableID=159] [indexID=-1] [checksum=14384125892341312190] [totalKvs=4] [totalBytes=136] [2025/04/04 10:35:52.514 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:52.515 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [local="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/04 10:35:52.515 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=2.994787ms] [] [2025/04/04 10:35:52.515 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=3.167919ms] [] [2025/04/04 10:35:52.515 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=post-process] [takeTime=3.323458ms] [] [2025/04/04 10:35:52.532 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:52.597 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:52.597 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=3] [step=post-process] [state=running] [] [2025/04/04 10:35:52.600 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=3] [2025/04/04 10:35:52.623 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [takeTime=119.849675ms] [] [2025/04/04 10:35:52.623 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/04 10:35:52.692 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.005224032\n# Parse_time: 0.000092328\n# Compile_time: 0.000495514\n# Rewrite_time: 0.000107607\n# Optimize_time: 0.000373032\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('Q/BCMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjFzLCBvcGVuOjc2MW5zLCBjbG9zZTo3MTNucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('XvBJCloKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWil0aW1lOjFzLCBvcGVuOjc2MW5zLCBjbG9zZTo3MTNucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `write_after_import`.`t` FROM 'gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 10:35:52.692 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2025/04/04 10:35:52.698 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457116995459481611] [2025/04/04 10:35:52.699 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:52.699 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=3] --- PASS: TestImportInto/TestWriteAfterImportFromFile/case-4 (1.25s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-5 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-5 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-6 current case CREATE TABLE t (id int, v varchar(64)) [2025/04/04 10:35:52.717 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:161, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:52.717 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:161, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:35:52.723 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:159, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:52.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.723 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:52.742 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=92] [neededSchemaVersion=93] ["elapsed time"=2.434269ms] [gotSchemaVersion=93] [phyTblIDs="[159]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:52.746 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=93] [2025/04/04 10:35:52.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=93] ["take time"=10.699118ms] [job="ID:161, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.759 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:159, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:52.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.777 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=93] [neededSchemaVersion=94] ["elapsed time"=2.305952ms] [gotSchemaVersion=94] [phyTblIDs="[159]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:52.781 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=94] [2025/04/04 10:35:52.783 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=94] ["take time"=10.509861ms] [job="ID:161, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.793 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:159, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:52.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.800 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 159, Old Table Name: t)"] [2025/04/04 10:35:52.815 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=94] [neededSchemaVersion=95] ["elapsed time"=1.371867ms] [gotSchemaVersion=95] [phyTblIDs="[159]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:52.819 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=95] [2025/04/04 10:35:52.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=95] ["take time"=9.354621ms] [job="ID:161, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.832 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=161] [tableIDs="[159]"] [comment="drop table: table ID"] [2025/04/04 10:35:52.838 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=161] [jobType="drop table"] [2025/04/04 10:35:52.839 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:drop table, State:synced, SchemaState:none, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.860 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=161] [2025/04/04 10:35:52.861 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=95] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/04 10:35:52.875 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:163, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:52.875 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:163, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int, v varchar(64))"] [2025/04/04 10:35:52.881 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=163] [conn=2] [job="ID:163, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:52.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.886 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 162, Table Name: t)"] [2025/04/04 10:35:52.902 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=95] [neededSchemaVersion=96] ["elapsed time"=1.714773ms] [gotSchemaVersion=96] [phyTblIDs="[162]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:52.906 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=96] [2025/04/04 10:35:52.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=96] ["take time"=9.084199ms] [job="ID:163, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.920 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=163] [conn=2] [job="ID:163, Type:create table, State:synced, SchemaState:public, SchemaID:151, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:52.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.933 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=163] [2025/04/04 10:35:52.933 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=96] [cur_db=write_after_import] [sql="CREATE TABLE t (id int, v varchar(64))"] [user=] [2025/04/04 10:35:52.941 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:52.996 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:35:53.016 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=4] [task-id=4] [data-size=36B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:35:53.032 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=4] [2025/04/04 10:35:53.032 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:35:53.134 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:53.136 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:53.137 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [2025/04/04 10:35:53.145 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:53.148 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:53.148 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/04 10:35:53.148 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=90.323µs] [2025/04/04 10:35:53.148 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=227.754µs] [] [2025/04/04 10:35:53.148 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:35:53.148 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=36] [subtasks=1] [2025/04/04 10:35:53.191 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:35:53.212 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/04 10:35:53.212 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:53.220 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:53.220 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404354783641569] [2025/04/04 10:35:53.221 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:53.221 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:53.221 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:53.221 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:53.221 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:53.221 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:53.222 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:53.222 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:53.237 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:53.239 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:53.239 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:35:53.239 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=4] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:53.239 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [2025/04/04 10:35:53.239 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=4] [disk-quota=347.8GiB] [2025/04/04 10:35:53.242 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=4] [mode=Import] [2025/04/04 10:35:53.257 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=import] [2025/04/04 10:35:53.257 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=7] [2025/04/04 10:35:53.261 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 10:35:53.262 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=4] [2025/04/04 10:35:53.265 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:53.266 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=162] [2025/04/04 10:35:53.266 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=162] [2025/04/04 10:35:53.312 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=162] [key=2.csv:0] [2025/04/04 10:35:53.314 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=162] [key=2.csv:0] [readDur=1.085525ms] [encodeDur=130.359µs] [checksum="{cksum=10862406597896790237,size=76,kvs=2}"] [deliverDur=262.616µs] [type=file] [takeTime=1.86015ms] [] [2025/04/04 10:35:53.315 +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/657f77b6-3671-4041-b57f-fd5ce93d640a.sst] [firstKey=7480000000000000A25F72800000000000000A] [lastKey=7480000000000000A25F72800000000000000B] [2025/04/04 10:35:53.327 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=162] [key=1.csv:0] [2025/04/04 10:35:53.329 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=162] [key=1.csv:0] [readDur=934.388µs] [encodeDur=367.431µs] [checksum="{cksum=1363779544899807388,size=76,kvs=2}"] [deliverDur=351.878µs] [type=file] [takeTime=1.895337ms] [] [2025/04/04 10:35:53.330 +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/c6ea9085-8682-4e52-88af-89ab5145e2c5.sst] [firstKey=7480000000000000A25F728000000000000001] [lastKey=7480000000000000A25F728000000000000002] [2025/04/04 10:35:53.330 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 10:35:53.330 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 10:35:53.330 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 10:35:53.333 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [takeTime=2.474728ms] [] [2025/04/04 10:35:53.333 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [2025/04/04 10:35:53.337 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:53.359 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] ["region ranges"=1] [count=4] [size=152] [2025/04/04 10:35:53.359 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:53.361 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000a25f728000000000000001] [endOfAllRanges=7480000000000000a25f72800000000000000c] [startKeyOfFirstRegion=7480000000000000ffa25f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffa25f728000000000ff00000c0000000000fa] [2025/04/04 10:35:53.374 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/04 10:35:53.376 +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=43.430531ms] [] [2025/04/04 10:35:53.376 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 10:35:53.377 +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.178822ms] [] [2025/04/04 10:35:53.377 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 10:35:53.378 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:53.379 +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.485707ms] [] [2025/04/04 10:35:53.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 10:35:53.383 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:53.383 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [takeTime=4.118252ms] [] [2025/04/04 10:35:53.383 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:53.384 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=951.419µs] [] [2025/04/04 10:35:53.384 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=7] [takeTime=127.025826ms] [] [2025/04/04 10:35:53.385 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=import] [takeTime=127.192593ms] [] [2025/04/04 10:35:53.441 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:53.442 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:53.443 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:53.443 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:53.474 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 10:35:53.475 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:53.476 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=36] [subtasks=1] [2025/04/04 10:35:53.512 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:35:53.520 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/04 10:35:53.523 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:53.523 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:53.523 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:53.523 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:53.523 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:53.523 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:53.523 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:53.523 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:53.523 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:53.523 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-15] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:53.523 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:53.523 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:53.525 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:53.525 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:53.525 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:53.525 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:53.525 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [takeTime=285.559846ms] [] [2025/04/04 10:35:53.526 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [2025/04/04 10:35:53.533 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=post-process] [2025/04/04 10:35:53.533 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/04 10:35:53.533 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/04 10:35:53.533 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/04 10:35:53.539 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=5.779247ms] [] [2025/04/04 10:35:53.539 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [groupId=-1] [size=152] [kvs=4] [checksum=9534713575869581377] [2025/04/04 10:35:53.539 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [checksum="{cksum=9534713575869581377,size=152,kvs=4}"] [2025/04/04 10:35:53.539 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [weight=30] [2025/04/04 10:35:53.540 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [concurrency=15] [2025/04/04 10:35:53.542 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=162] [physicalTableID=162] [indexID=-1] [checksum=9534713575869581377] [totalKvs=4] [totalBytes=152] [2025/04/04 10:35:53.542 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:53.542 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [local="{cksum=9534713575869581377,size=152,kvs=4}"] [2025/04/04 10:35:53.542 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=8.743823ms] [] [2025/04/04 10:35:53.542 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=8.885842ms] [] [2025/04/04 10:35:53.542 +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=9.023295ms] [] [2025/04/04 10:35:53.567 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:53.640 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:53.640 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=4] [step=post-process] [state=running] [] [2025/04/04 10:35:53.643 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=4] [2025/04/04 10:35:53.669 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [takeTime=142.923806ms] [] [2025/04/04 10:35:53.669 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/04 10:35:53.734 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2025/04/04 10:35:53.741 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:53.741 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=4] [2025/04/04 10:35:53.763 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:53.938 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.004225463\n# Parse_time: 0.000079709\n# Compile_time: 0.000608632\n# Rewrite_time: 0.000122809\n# Optimize_time: 0.000250777\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('RfBEMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjFzLCBvcGVuOjg3MW5zLCBjbG9zZToxLjI5wrVzLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YPBMClwKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWit0aW1lOjFzLCBvcGVuOjg3MW5zLCBjbG9zZToxLjI5wrVzLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `write_after_import`.`t` FROM 'gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestWriteAfterImportFromFile/case-6 (1.25s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-7 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-7 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-8 current case CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64)) [2025/04/04 10:35:53.965 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:164, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:53.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:35:53.965 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:164, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:53.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:53.971 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=2] [job="ID:164, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:53.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.989 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=96] [neededSchemaVersion=97] ["elapsed time"=2.236615ms] [gotSchemaVersion=97] [phyTblIDs="[162]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:53.993 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=97] [2025/04/04 10:35:53.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=97] ["take time"=9.786607ms] [job="ID:164, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:53.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.005 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=2] [job="ID:164, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:53.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.020 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=97] [neededSchemaVersion=98] ["elapsed time"=2.172967ms] [gotSchemaVersion=98] [phyTblIDs="[162]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:54.024 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=98] [2025/04/04 10:35:54.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=98] ["take time"=9.586379ms] [job="ID:164, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:53.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.035 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=2] [job="ID:164, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:53.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.042 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 162, Old Table Name: t)"] [2025/04/04 10:35:54.056 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=98] [neededSchemaVersion=99] ["elapsed time"=1.278845ms] [gotSchemaVersion=99] [phyTblIDs="[162]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:54.060 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=99] [2025/04/04 10:35:54.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=99] ["take time"=9.174857ms] [job="ID:164, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:53.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.072 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=164] [tableIDs="[162]"] [comment="drop table: table ID"] [2025/04/04 10:35:54.077 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=164] [jobType="drop table"] [2025/04/04 10:35:54.078 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=164] [conn=2] [job="ID:164, Type:drop table, State:synced, SchemaState:none, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:53.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.097 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=164] [2025/04/04 10:35:54.097 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=99] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/04 10:35:54.110 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:166, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:54.110 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:166, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64))"] [2025/04/04 10:35:54.116 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=166] [conn=2] [job="ID:166, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:165, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:54.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.120 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 165, Table Name: t)"] [2025/04/04 10:35:54.137 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=99] [neededSchemaVersion=100] ["elapsed time"=1.716742ms] [gotSchemaVersion=100] [phyTblIDs="[165]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:54.140 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=166] [version=100] [2025/04/04 10:35:54.142 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=100] ["take time"=8.818125ms] [job="ID:166, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.154 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=166] [conn=2] [job="ID:166, Type:create table, State:synced, SchemaState:public, SchemaID:151, TableID:165, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:54.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.166 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=166] [2025/04/04 10:35:54.167 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=100] [cur_db=write_after_import] [sql="CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64))"] [user=] [2025/04/04 10:35:54.173 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:54.224 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:35:54.243 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=5] [task-id=5] [data-size=36B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:35:54.257 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=5] [2025/04/04 10:35:54.257 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:35:54.360 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:54.361 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:54.362 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [2025/04/04 10:35:54.370 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:54.373 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:54.373 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/04 10:35:54.373 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=73.497µs] [2025/04/04 10:35:54.373 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=179.505µs] [] [2025/04/04 10:35:54.373 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:35:54.373 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=36] [subtasks=1] [2025/04/04 10:35:54.409 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:35:54.432 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/04 10:35:54.432 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:54.441 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:54.441 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404354783641569] [2025/04/04 10:35:54.441 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:54.441 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:54.441 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:54.441 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:54.442 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:54.442 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:54.442 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:54.442 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:54.455 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:54.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 10:35:54.457 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:35:54.457 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=5] [step=import] [data-buf-limit=170.7MiB] [per-index-buf-limit=56.89MiB] [index-buf-block-size=56.89MiB] [2025/04/04 10:35:54.457 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=5] [disk-quota=347.8GiB] [2025/04/04 10:35:54.457 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [2025/04/04 10:35:54.467 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=import] [2025/04/04 10:35:54.467 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=9] [2025/04/04 10:35:54.469 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=5] [mode=Import] [2025/04/04 10:35:54.470 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 10:35:54.474 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:54.475 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=165] [2025/04/04 10:35:54.475 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=165] [2025/04/04 10:35:54.496 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=5] [2025/04/04 10:35:54.548 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=165] [key=1.csv:0] [2025/04/04 10:35:54.551 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=165] [key=1.csv:0] [readDur=908.151µs] [encodeDur=567.159µs] [checksum="{cksum=3543191561364936534,size=148,kvs=4}"] [deliverDur=732.394µs] [type=file] [takeTime=2.601839ms] [] [2025/04/04 10:35:54.552 +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/84ebe3ae-4478-40f1-ba6f-d42daad4379f.sst] [firstKey=7480000000000000A55F728000000000000001] [lastKey=7480000000000000A55F728000000000000002] [2025/04/04 10:35:54.556 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=165] [key=2.csv:0] [2025/04/04 10:35:54.558 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=165] [key=2.csv:0] [readDur=1.183767ms] [encodeDur=570.296µs] [checksum="{cksum=4755199630144978764,size=148,kvs=4}"] [deliverDur=232.863µs] [type=file] [takeTime=2.214165ms] [] [2025/04/04 10:35:54.559 +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/f3f93fc9-7864-4faa-b34a-45f57c2619aa.sst] [firstKey=7480000000000000A55F72800000000000000A] [lastKey=7480000000000000A55F72800000000000000B] [2025/04/04 10:35:54.559 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 10:35:54.559 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 10:35:54.559 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 10:35:54.561 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [takeTime=1.911722ms] [] [2025/04/04 10:35:54.561 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [2025/04/04 10:35:54.567 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:54.589 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] ["region ranges"=1] [count=4] [size=152] [2025/04/04 10:35:54.589 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:54.592 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000a55f728000000000000001] [endOfAllRanges=7480000000000000a55f72800000000000000c] [startKeyOfFirstRegion=7480000000000000ffa55f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffa55f728000000000ff00000c0000000000fa] [2025/04/04 10:35:54.603 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/04 10:35:54.605 +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=43.750978ms] [] [2025/04/04 10:35:54.605 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 10:35:54.606 +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.244616ms] [] [2025/04/04 10:35:54.606 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 10:35:54.606 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:54.608 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=2] [size=144] [count=4] [cost=1.181595ms] [file=/tmp/tidb/import-4000/5/630083e6-fc50-5cd2-8645-c17b147197ce.sst/88c16df3-9e41-412a-83c3-22e19743618e.sst] [2025/04/04 10:35:54.608 +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/88c16df3-9e41-412a-83c3-22e19743618e.sst] [firstKey=7480000000000000A55F698000000000000001038000000000000004] [lastKey=7480000000000000A55F698000000000000001038000000000000007] [2025/04/04 10:35:54.610 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=3.638581ms] [] [2025/04/04 10:35:54.610 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/04 10:35:54.615 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:54.637 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] ["region ranges"=1] [count=4] [size=144] [2025/04/04 10:35:54.637 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:54.639 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000a55f698000000000000001038000000000000004] [endOfAllRanges=7480000000000000a55f69800000000000000103800000000000000700] [startKeyOfFirstRegion=7480000000000000ffa55f698000000000ff0000010380000000ff0000000400000000fb] [endKeyOfLastRegion=7480000000000000ffa55f698000000000ff0000010380000000ff0000000700000000fc] [2025/04/04 10:35:54.650 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] [size=144] [kvs=4] [importedSize=144] [importedCount=4] [2025/04/04 10:35:54.652 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [takeTime=41.893697ms] [] [2025/04/04 10:35:54.652 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:54.654 +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.19763ms] [] [2025/04/04 10:35:54.654 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=9] [takeTime=186.971738ms] [] [2025/04/04 10:35:54.658 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=import] [takeTime=191.179657ms] [] [2025/04/04 10:35:54.765 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:54.766 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:54.767 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:54.767 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:54.808 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 10:35:54.809 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:54.809 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=36] [subtasks=1] [2025/04/04 10:35:54.828 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:35:54.828 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/04 10:35:54.833 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:54.833 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:54.833 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:54.833 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:54.833 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:54.833 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:54.833 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:54.833 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:54.833 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:54.833 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:54.833 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:54.833 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-16] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:54.836 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:54.836 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:54.836 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:54.836 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:54.836 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [takeTime=378.857607ms] [] [2025/04/04 10:35:54.836 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/04 10:35:54.852 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:35:54.876 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [2025/04/04 10:35:54.884 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=post-process] [2025/04/04 10:35:54.884 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/04 10:35:54.884 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/04 10:35:54.884 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/04 10:35:54.891 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=6.043022ms] [] [2025/04/04 10:35:54.891 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [groupId=1] [size=144] [kvs=4] [checksum=17619267392293085275] [2025/04/04 10:35:54.891 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [groupId=-1] [size=152] [kvs=4] [checksum=9534713575869581377] [2025/04/04 10:35:54.891 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [checksum="{cksum=8130735849710921754,size=296,kvs=8}"] [2025/04/04 10:35:54.891 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [weight=30] [2025/04/04 10:35:54.891 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [concurrency=15] [2025/04/04 10:35:54.897 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=165] [physicalTableID=165] [indexID=-1] [checksum=9534713575869581377] [totalKvs=4] [totalBytes=152] [2025/04/04 10:35:54.898 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=165] [physicalTableID=165] [indexID=1] [checksum=17619267392293085275] [totalKvs=4] [totalBytes=144] [2025/04/04 10:35:54.899 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:54.899 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [local="{cksum=8130735849710921754,size=296,kvs=8}"] [2025/04/04 10:35:54.899 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=14.289211ms] [] [2025/04/04 10:35:54.899 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=14.452319ms] [] [2025/04/04 10:35:54.899 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=post-process] [takeTime=14.613552ms] [] [2025/04/04 10:35:54.920 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:54.964 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:54.965 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=5] [step=post-process] [state=running] [] [2025/04/04 10:35:54.967 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=5] [2025/04/04 10:35:54.986 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [takeTime=110.452871ms] [] [2025/04/04 10:35:54.987 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/04 10:35:55.060 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2025/04/04 10:35:55.066 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:55.066 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=5] [2025/04/04 10:35:55.087 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:55.160 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.992656048\n# Parse_time: 0.000074941\n# Compile_time: 0.000464203\n# Rewrite_time: 0.000082958\n# Optimize_time: 0.00029249\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MS44bXMsIG9wZW46NTgzbnMsIGNsb3NlOjcxNW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5MS44bXMsIG9wZW46NTgzbnMsIGNsb3NlOjcxNW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `write_after_import`.`t` FROM 'gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestWriteAfterImportFromFile/case-8 (1.22s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-9 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-9 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-10 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-10 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile [2025/04/04 10:35:55.189 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:167, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:35:55.189 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:167, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:55.194 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=2] [job="ID:167, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:165, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.212 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=100] [neededSchemaVersion=101] ["elapsed time"=2.707191ms] [gotSchemaVersion=101] [phyTblIDs="[165]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:55.217 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=101] [2025/04/04 10:35:55.218 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=101] ["take time"=11.456941ms] [job="ID:167, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.230 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=2] [job="ID:167, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:165, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.247 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=101] [neededSchemaVersion=102] ["elapsed time"=2.262439ms] [gotSchemaVersion=102] [phyTblIDs="[165]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:55.250 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=102] [2025/04/04 10:35:55.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=102] ["take time"=9.078344ms] [job="ID:167, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.260 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=2] [job="ID:167, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:165, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.266 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 165, Old Table Name: t)"] [2025/04/04 10:35:55.279 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=102] [neededSchemaVersion=103] ["elapsed time"=1.24528ms] [gotSchemaVersion=103] [phyTblIDs="[165]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:55.283 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=103] [2025/04/04 10:35:55.286 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=103] ["take time"=10.061721ms] [job="ID:167, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.297 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=167] [tableIDs="[165]"] [comment="drop table: table ID"] [2025/04/04 10:35:55.302 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=167] [jobType="drop table"] [2025/04/04 10:35:55.303 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=167] [conn=2] [job="ID:167, Type:drop table, State:synced, SchemaState:none, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.322 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=167] [2025/04/04 10:35:55.322 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=103] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] --- PASS: TestImportInto/TestWriteAfterImportFromFile (6.37s) === NAME TestImportInto === RUN TestImportInto/TestWriteAfterImportFromSelect [2025/04/04 10:35:55.335 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:168, Type:drop schema, State:queueing, SchemaState:public, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists from_select"] [2025/04/04 10:35:55.335 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:168, Type:drop schema, State:queueing, SchemaState:public, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:55.341 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=2] [job="ID:168, Type:drop schema, State:queueing, SchemaState:public, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.361 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=103] [neededSchemaVersion=104] ["elapsed time"=2.277291ms] [gotSchemaVersion=104] [phyTblIDs="[143,149]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:55.365 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=104] [2025/04/04 10:35:55.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=104] ["take time"=10.38862ms] [job="ID:168, Type:drop schema, State:running, SchemaState:write only, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.378 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=2] [job="ID:168, Type:drop schema, State:running, SchemaState:write only, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.392 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=104] [neededSchemaVersion=105] ["elapsed time"=124.289µs] [gotSchemaVersion=105] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:55.396 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=105] [2025/04/04 10:35:55.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=105] ["take time"=7.47326ms] [job="ID:168, Type:drop schema, State:running, SchemaState:delete only, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.406 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=2] [job="ID:168, Type:drop schema, State:running, SchemaState:delete only, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.412 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:35:55.424 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=105] [neededSchemaVersion=106] ["elapsed time"=142.54µs] [gotSchemaVersion=106] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:55.428 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=106] [2025/04/04 10:35:55.429 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=106] ["take time"=7.342853ms] [job="ID:168, Type:drop schema, State:done, SchemaState:none, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.439 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=168] [tableIDs="[143,149]"] [comment="drop schema: table IDs"] [2025/04/04 10:35:55.444 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=168] [jobType="drop schema"] [2025/04/04 10:35:55.445 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=168] [conn=2] [job="ID:168, Type:drop schema, State:synced, SchemaState:none, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.462 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=168] [2025/04/04 10:35:55.463 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=106] [cur_db=write_after_import] [sql="drop database if exists from_select"] [user=] [2025/04/04 10:35:55.475 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:170, Type:create schema, State:queueing, SchemaState:none, SchemaID:169, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:55.475 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:170, Type:create schema, State:queueing, SchemaState:none, SchemaID:169, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/04 10:35:55.481 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:create schema, State:queueing, SchemaState:none, SchemaID:169, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.494 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=106] [neededSchemaVersion=107] ["elapsed time"=671.989µs] [gotSchemaVersion=107] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:55.498 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=107] [2025/04/04 10:35:55.500 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=107] ["take time"=8.246792ms] [job="ID:170, Type:create schema, State:done, SchemaState:public, SchemaID:169, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.512 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:create schema, State:synced, SchemaState:public, SchemaID:169, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.522 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=170] [2025/04/04 10:35:55.522 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=107] [cur_db=write_after_import] [sql="create database from_select"] [user=] [2025/04/04 10:35:55.536 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:172, Type:create table, State:queueing, SchemaState:none, SchemaID:169, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:55.536 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:172, Type:create table, State:queueing, SchemaState:none, SchemaID:169, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dt(id int, v varchar(64))"] [2025/04/04 10:35:55.544 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=172] [conn=2] [job="ID:172, Type:create table, State:queueing, SchemaState:none, SchemaID:169, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.549 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 171, Table Name: dt)"] [2025/04/04 10:35:55.563 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=107] [neededSchemaVersion=108] ["elapsed time"=1.567212ms] [gotSchemaVersion=108] [phyTblIDs="[171]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:55.567 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=172] [version=108] [2025/04/04 10:35:55.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=108] ["take time"=8.544509ms] [job="ID:172, Type:create table, State:done, SchemaState:public, SchemaID:169, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.580 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=172] [conn=2] [job="ID:172, Type:create table, State:synced, SchemaState:public, SchemaID:169, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.591 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=172] [2025/04/04 10:35:55.591 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=108] [cur_db=from_select] [sql="create table dt(id int, v varchar(64))"] [user=] [2025/04/04 10:35:55.609 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:173, Type:drop schema, State:queueing, SchemaState:public, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:55.609 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:173, Type:drop schema, State:queueing, SchemaState:public, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists write_after_import"] [2025/04/04 10:35:55.614 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=173] [conn=2] [job="ID:173, Type:drop schema, State:queueing, SchemaState:public, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.629 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=108] [neededSchemaVersion=109] ["elapsed time"=1.096845ms] [gotSchemaVersion=109] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:55.632 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=173] [version=109] [2025/04/04 10:35:55.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=109] ["take time"=8.23518ms] [job="ID:173, Type:drop schema, State:running, SchemaState:write only, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.644 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=173] [conn=2] [job="ID:173, Type:drop schema, State:running, SchemaState:write only, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.656 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=109] [neededSchemaVersion=110] ["elapsed time"=120.317µs] [gotSchemaVersion=110] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:55.660 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=173] [version=110] [2025/04/04 10:35:55.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=110] ["take time"=7.32161ms] [job="ID:173, Type:drop schema, State:running, SchemaState:delete only, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.670 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=173] [conn=2] [job="ID:173, Type:drop schema, State:running, SchemaState:delete only, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.684 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=110] [neededSchemaVersion=111] ["elapsed time"=148.748µs] [gotSchemaVersion=111] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:35:55.687 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=173] [version=111] [2025/04/04 10:35:55.689 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=111] ["take time"=7.155087ms] [job="ID:173, Type:drop schema, State:done, SchemaState:none, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.698 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=173] [jobType="drop schema"] [2025/04/04 10:35:55.699 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=173] [conn=2] [job="ID:173, Type:drop schema, State:synced, SchemaState:none, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.714 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=173] [2025/04/04 10:35:55.714 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=111] [cur_db=from_select] [sql="drop database if exists write_after_import"] [user=] [2025/04/04 10:35:55.726 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:175, Type:create schema, State:queueing, SchemaState:none, SchemaID:174, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:55.726 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:175, Type:create schema, State:queueing, SchemaState:none, SchemaID:174, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database write_after_import"] [2025/04/04 10:35:55.732 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=175] [conn=2] [job="ID:175, Type:create schema, State:queueing, SchemaState:none, SchemaID:174, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.745 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=111] [neededSchemaVersion=112] ["elapsed time"=602.178µs] [gotSchemaVersion=112] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:55.748 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=175] [version=112] [2025/04/04 10:35:55.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=112] ["take time"=7.396736ms] [job="ID:175, Type:create schema, State:done, SchemaState:public, SchemaID:174, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.760 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=175] [conn=2] [job="ID:175, Type:create schema, State:synced, SchemaState:public, SchemaID:174, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.770 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=175] [2025/04/04 10:35:55.771 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=112] [cur_db=from_select] [sql="create database write_after_import"] [user=] === RUN TestImportInto/TestWriteAfterImportFromSelect/case-0 current case CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64)) [2025/04/04 10:35:55.773 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=112] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/04 10:35:55.785 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64))"] [2025/04/04 10:35:55.785 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:55.790 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=177] [conn=2] [job="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:176, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.795 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 176, Table Name: t)"] [2025/04/04 10:35:55.810 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=112] [neededSchemaVersion=113] ["elapsed time"=1.679016ms] [gotSchemaVersion=113] [phyTblIDs="[176]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:55.814 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=177] [version=113] [2025/04/04 10:35:55.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=113] ["take time"=9.351596ms] [job="ID:177, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.829 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=177] [conn=2] [job="ID:177, Type:create table, State:synced, SchemaState:public, SchemaID:174, TableID:176, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.842 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=177] [2025/04/04 10:35:55.842 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=113] [cur_db=write_after_import] [sql="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64))"] [user=] [2025/04/04 10:35:55.887 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=f443c7fa-7285-4016-b994-e097a03f2503] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=176] [2025/04/04 10:35:55.894 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:55.894 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404354783641569] [2025/04/04 10:35:55.894 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:55.894 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:55.895 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:55.895 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:55.895 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:55.895 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:55.895 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:55.895 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:55.907 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:55.909 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:55.909 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:35:55.914 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 10:35:55.917 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:55.948 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=f443c7fa-7285-4016-b994-e097a03f2503] [key=import-from-select] [2025/04/04 10:35:55.950 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=f443c7fa-7285-4016-b994-e097a03f2503] [key=import-from-select] [readDur=55.541µs] [encodeDur=973.856µs] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [deliverDur=635.141µs] [type=query] [takeTime=2.028517ms] [] [2025/04/04 10:35:55.951 +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/f443c7fa-7285-4016-b994-e097a03f2503/102b1544-1a0b-5f02-9523-0f5011224f00.sst/1352ecbc-c868-4136-932c-79de880690df.sst] [firstKey=7480000000000000B05F728000000000000004] [lastKey=7480000000000000B05F728000000000000007] [2025/04/04 10:35:55.957 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=f443c7fa-7285-4016-b994-e097a03f2503] [key=import-from-select] [2025/04/04 10:35:55.957 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=f443c7fa-7285-4016-b994-e097a03f2503] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=115.011µs] [] [2025/04/04 10:35:55.958 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 10:35:55.959 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=1.525195ms] [] [2025/04/04 10:35:55.959 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [2025/04/04 10:35:55.963 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:55.985 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] ["region ranges"=1] [count=4] [size=136] [2025/04/04 10:35:55.985 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:55.987 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b05f728000000000000004] [endOfAllRanges=7480000000000000b05f728000000000000008] [startKeyOfFirstRegion=7480000000000000ffb05f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ffb05f728000000000ff0000080000000000fa] [2025/04/04 10:35:55.998 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] [size=136] [kvs=4] [importedSize=136] [importedCount=4] [2025/04/04 10:35:56.000 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [takeTime=40.898554ms] [] [2025/04/04 10:35:56.000 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:56.002 +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.494986ms] [] [2025/04/04 10:35:56.002 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/04 10:35:56.005 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:56.006 +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.656694ms] [] [2025/04/04 10:35:56.006 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=f443c7fa-7285-4016-b994-e097a03f2503] [checksum="{\"id=-1\"=\"{cksum=14384125892341312190,size=136,kvs=4}\"}"] [2025/04/04 10:35:56.006 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=f443c7fa-7285-4016-b994-e097a03f2503] [2025/04/04 10:35:56.012 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=f443c7fa-7285-4016-b994-e097a03f2503] [takeTime=6.20186ms] [] [2025/04/04 10:35:56.012 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=f443c7fa-7285-4016-b994-e097a03f2503] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/04 10:35:56.012 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=f443c7fa-7285-4016-b994-e097a03f2503] [weight=30] [2025/04/04 10:35:56.012 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=f443c7fa-7285-4016-b994-e097a03f2503] [concurrency=15] [2025/04/04 10:35:56.014 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=176] [physicalTableID=176] [indexID=-1] [checksum=14384125892341312190] [totalKvs=4] [totalBytes=136] [2025/04/04 10:35:56.014 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:56.015 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=f443c7fa-7285-4016-b994-e097a03f2503] [local="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/04 10:35:56.015 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=f443c7fa-7285-4016-b994-e097a03f2503] [checksum="{\"id=-1\"=\"{cksum=14384125892341312190,size=136,kvs=4}\"}"] [takeTime=8.934319ms] [] [2025/04/04 10:35:56.015 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 10:35:56.015 +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.408µs] [] [2025/04/04 10:35:56.015 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 10:35:56.016 +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.275487ms] [] [2025/04/04 10:35:56.016 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:56.016 +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.955µs] [] [2025/04/04 10:35:56.016 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:56.017 +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.073204ms] [] [2025/04/04 10:35:56.021 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:56.021 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:56.021 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:56.021 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:56.021 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:56.021 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:56.021 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:56.021 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:56.021 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-17] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:56.021 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:56.021 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:56.021 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:56.023 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:56.023 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:56.023 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:56.023 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-0 (0.26s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-1 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-1 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-2 current case CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64)) [2025/04/04 10:35:56.049 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:178, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:56.049 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:178, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:35:56.055 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=2] [job="ID:178, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:176, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.071 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=113] [neededSchemaVersion=114] ["elapsed time"=2.110218ms] [gotSchemaVersion=114] [phyTblIDs="[176]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:56.075 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=114] [2025/04/04 10:35:56.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=114] ["take time"=9.886466ms] [job="ID:178, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.086 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=2] [job="ID:178, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:176, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.104 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=114] [neededSchemaVersion=115] ["elapsed time"=2.275406ms] [gotSchemaVersion=115] [phyTblIDs="[176]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:56.108 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=115] [2025/04/04 10:35:56.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=115] ["take time"=10.237818ms] [job="ID:178, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.124 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=2] [job="ID:178, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:176, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.130 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 176, Old Table Name: t)"] [2025/04/04 10:35:56.156 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=115] [neededSchemaVersion=116] ["elapsed time"=1.232727ms] [gotSchemaVersion=116] [phyTblIDs="[176]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:56.160 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=116] [2025/04/04 10:35:56.162 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=116] ["take time"=8.671463ms] [job="ID:178, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.171 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=178] [tableIDs="[176]"] [comment="drop table: table ID"] [2025/04/04 10:35:56.175 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=178] [jobType="drop table"] [2025/04/04 10:35:56.176 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=178] [conn=2] [job="ID:178, Type:drop table, State:synced, SchemaState:none, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.194 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=178] [2025/04/04 10:35:56.194 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=116] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/04 10:35:56.207 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:180, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64))"] [2025/04/04 10:35:56.207 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:180, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:56.213 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=2] [job="ID:180, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.218 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 179, Table Name: t)"] [2025/04/04 10:35:56.236 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=116] [neededSchemaVersion=117] ["elapsed time"=1.916398ms] [gotSchemaVersion=117] [phyTblIDs="[179]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:56.240 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=180] [version=117] [2025/04/04 10:35:56.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=117] ["take time"=9.331849ms] [job="ID:180, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.253 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=180] [conn=2] [job="ID:180, Type:create table, State:synced, SchemaState:public, SchemaID:174, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.266 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=180] [2025/04/04 10:35:56.266 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=117] [cur_db=write_after_import] [sql="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64))"] [user=] [2025/04/04 10:35:56.314 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=04be9169-ac47-4130-8d76-9ff531ca2b7c] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=179] [2025/04/04 10:35:56.320 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:56.320 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404354783641569] [2025/04/04 10:35:56.321 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:56.321 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:56.321 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:56.321 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:56.321 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:56.321 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:56.322 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:56.322 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:56.333 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:56.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 10:35:56.335 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:35:56.339 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 10:35:56.342 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:56.355 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=04be9169-ac47-4130-8d76-9ff531ca2b7c] [key=import-from-select] [2025/04/04 10:35:56.357 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=04be9169-ac47-4130-8d76-9ff531ca2b7c] [key=import-from-select] [readDur=42.058µs] [encodeDur=930.565µs] [checksum="{cksum=4311923599730848115,size=296,kvs=8}"] [deliverDur=760.629µs] [type=query] [takeTime=2.063516ms] [] [2025/04/04 10:35:56.359 +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/04be9169-ac47-4130-8d76-9ff531ca2b7c/102b1544-1a0b-5f02-9523-0f5011224f00.sst/08359549-97ad-47b0-9ad9-74b60c1b8159.sst] [firstKey=7480000000000000B35F728000000000000001] [lastKey=7480000000000000B35F728000000000000004] [2025/04/04 10:35:56.362 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=04be9169-ac47-4130-8d76-9ff531ca2b7c] [key=import-from-select] [2025/04/04 10:35:56.362 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=04be9169-ac47-4130-8d76-9ff531ca2b7c] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=101.905µs] [] [2025/04/04 10:35:56.362 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 10:35:56.364 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=1.405233ms] [] [2025/04/04 10:35:56.364 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [2025/04/04 10:35:56.369 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:56.369 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=b0fd9837-4f6f-4ea1-b389-1f3c18386212] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:56.369 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/04 10:35:56.369 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:35:56.390 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] ["region ranges"=1] [count=4] [size=152] [2025/04/04 10:35:56.390 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:56.392 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b35f728000000000000001] [endOfAllRanges=7480000000000000b35f728000000000000005] [startKeyOfFirstRegion=7480000000000000ffb35f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffb35f728000000000ff0000050000000000fa] [2025/04/04 10:35:56.401 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/04 10:35:56.403 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [takeTime=38.886908ms] [] [2025/04/04 10:35:56.403 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:56.403 +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/04be9169-ac47-4130-8d76-9ff531ca2b7c/630083e6-fc50-5cd2-8645-c17b147197ce.sst/aa89aff6-42c3-4e69-bd1a-4d2247ed89f6.sst] [firstKey=7480000000000000B35F698000000000000001038000000000000004] [lastKey=7480000000000000B35F698000000000000001038000000000000007] [2025/04/04 10:35:56.405 +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.127796ms] [] [2025/04/04 10:35:56.405 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/04 10:35:56.409 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:56.431 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] ["region ranges"=1] [count=4] [size=144] [2025/04/04 10:35:56.431 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:56.432 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b35f698000000000000001038000000000000004] [endOfAllRanges=7480000000000000b35f69800000000000000103800000000000000700] [startKeyOfFirstRegion=7480000000000000ffb35f698000000000ff0000010380000000ff0000000400000000fb] [endKeyOfLastRegion=7480000000000000ffb35f698000000000ff0000010380000000ff0000000700000000fc] [2025/04/04 10:35:56.442 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] [size=144] [kvs=4] [importedSize=144] [importedCount=4] [2025/04/04 10:35:56.444 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [takeTime=39.095618ms] [] [2025/04/04 10:35:56.444 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=04be9169-ac47-4130-8d76-9ff531ca2b7c] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\",\"id=1\"=\"{cksum=8921845837811637811,size=144,kvs=4}\"}"] [2025/04/04 10:35:56.444 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=04be9169-ac47-4130-8d76-9ff531ca2b7c] [2025/04/04 10:35:56.450 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=04be9169-ac47-4130-8d76-9ff531ca2b7c] [takeTime=5.259959ms] [] [2025/04/04 10:35:56.450 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=04be9169-ac47-4130-8d76-9ff531ca2b7c] [checksum="{cksum=4311923599730848115,size=296,kvs=8}"] [2025/04/04 10:35:56.450 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=04be9169-ac47-4130-8d76-9ff531ca2b7c] [weight=30] [2025/04/04 10:35:56.450 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=04be9169-ac47-4130-8d76-9ff531ca2b7c] [concurrency=15] [2025/04/04 10:35:56.457 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=179] [physicalTableID=179] [indexID=-1] [checksum=4613872053217128256] [totalKvs=4] [totalBytes=152] [2025/04/04 10:35:56.458 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=179] [physicalTableID=179] [indexID=1] [checksum=8921845837811637811] [totalKvs=4] [totalBytes=144] [2025/04/04 10:35:56.458 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:56.458 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=04be9169-ac47-4130-8d76-9ff531ca2b7c] [local="{cksum=4311923599730848115,size=296,kvs=8}"] [2025/04/04 10:35:56.458 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=04be9169-ac47-4130-8d76-9ff531ca2b7c] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\",\"id=1\"=\"{cksum=8921845837811637811,size=144,kvs=4}\"}"] [takeTime=13.688438ms] [] [2025/04/04 10:35:56.458 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 10:35:56.458 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=8.005µs] [] [2025/04/04 10:35:56.458 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 10:35:56.459 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=1.106743ms] [] [2025/04/04 10:35:56.459 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:56.460 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=7.136µs] [] [2025/04/04 10:35:56.460 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:56.461 +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.220646ms] [] [2025/04/04 10:35:56.465 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:56.465 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:56.465 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:56.465 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:56.465 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:56.465 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:56.465 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-18] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:56.465 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:56.465 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:56.465 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:56.465 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:56.465 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:56.467 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:56.467 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:56.467 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:56.467 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-2 (0.44s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-3 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-3 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-4 current case CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64)) [2025/04/04 10:35:56.493 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:56.493 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:35:56.499 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.517 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=117] [neededSchemaVersion=118] ["elapsed time"=2.43ms] [gotSchemaVersion=118] [phyTblIDs="[179]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:56.521 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=118] [2025/04/04 10:35:56.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=118] ["take time"=10.444468ms] [job="ID:181, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.535 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.553 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=118] [neededSchemaVersion=119] ["elapsed time"=2.520762ms] [gotSchemaVersion=119] [phyTblIDs="[179]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:56.557 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=119] [2025/04/04 10:35:56.559 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=119] ["take time"=10.605309ms] [job="ID:181, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.569 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.576 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 179, Old Table Name: t)"] [2025/04/04 10:35:56.591 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=119] [neededSchemaVersion=120] ["elapsed time"=1.270555ms] [gotSchemaVersion=120] [phyTblIDs="[179]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:56.595 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=120] [2025/04/04 10:35:56.597 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=120] ["take time"=8.946497ms] [job="ID:181, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.607 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=181] [tableIDs="[179]"] [comment="drop table: table ID"] [2025/04/04 10:35:56.612 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=181] [jobType="drop table"] [2025/04/04 10:35:56.613 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:drop table, State:synced, SchemaState:none, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.631 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=181] [2025/04/04 10:35:56.631 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=120] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/04 10:35:56.644 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:56.644 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64))"] [2025/04/04 10:35:56.651 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=2] [job="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.656 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 182, Table Name: t)"] [2025/04/04 10:35:56.670 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=120] [neededSchemaVersion=121] ["elapsed time"=1.580866ms] [gotSchemaVersion=121] [phyTblIDs="[182]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:56.674 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=121] [2025/04/04 10:35:56.676 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=121] ["take time"=8.642029ms] [job="ID:183, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.687 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=183] [conn=2] [job="ID:183, Type:create table, State:synced, SchemaState:public, SchemaID:174, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.698 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=183] [2025/04/04 10:35:56.698 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=121] [cur_db=write_after_import] [sql="CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64))"] [user=] [2025/04/04 10:35:56.808 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=ceef4ec4-e90c-4419-bed7-e90a9271d3e6] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=182] [2025/04/04 10:35:56.815 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:56.815 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404354783641569] [2025/04/04 10:35:56.816 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:56.816 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:56.816 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:56.816 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:56.816 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:56.816 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:56.816 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:56.817 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:56.828 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:56.830 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:56.830 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:35:56.834 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 10:35:56.838 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:56.883 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=ceef4ec4-e90c-4419-bed7-e90a9271d3e6] [key=import-from-select] [2025/04/04 10:35:56.884 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=ceef4ec4-e90c-4419-bed7-e90a9271d3e6] [key=import-from-select] [readDur=41.821µs] [encodeDur=508.074µs] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [deliverDur=357.41µs] [type=query] [takeTime=1.210832ms] [] [2025/04/04 10:35:56.885 +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/ceef4ec4-e90c-4419-bed7-e90a9271d3e6/102b1544-1a0b-5f02-9523-0f5011224f00.sst/cb5088be-73a5-4195-80a7-1667d5462926.sst] [firstKey=7480000000000000B65F728000000000000004] [lastKey=7480000000000000B65F728000000000000007] [2025/04/04 10:35:56.899 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=ceef4ec4-e90c-4419-bed7-e90a9271d3e6] [key=import-from-select] [2025/04/04 10:35:56.899 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=ceef4ec4-e90c-4419-bed7-e90a9271d3e6] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=109.593µs] [] [2025/04/04 10:35:56.899 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 10:35:56.901 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=1.55953ms] [] [2025/04/04 10:35:56.901 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [2025/04/04 10:35:56.905 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:56.927 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] ["region ranges"=1] [count=4] [size=136] [2025/04/04 10:35:56.927 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:56.929 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b65f728000000000000004] [endOfAllRanges=7480000000000000b65f728000000000000008] [startKeyOfFirstRegion=7480000000000000ffb65f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ffb65f728000000000ff0000080000000000fa] [2025/04/04 10:35:56.941 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] [size=136] [kvs=4] [importedSize=136] [importedCount=4] [2025/04/04 10:35:56.943 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [takeTime=41.78411ms] [] [2025/04/04 10:35:56.943 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:56.945 +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.982179ms] [] [2025/04/04 10:35:56.945 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/04 10:35:56.948 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:56.949 +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.471086ms] [] [2025/04/04 10:35:56.949 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=ceef4ec4-e90c-4419-bed7-e90a9271d3e6] [checksum="{\"id=-1\"=\"{cksum=14384125892341312190,size=136,kvs=4}\"}"] [2025/04/04 10:35:56.949 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=ceef4ec4-e90c-4419-bed7-e90a9271d3e6] [2025/04/04 10:35:56.949 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=ceef4ec4-e90c-4419-bed7-e90a9271d3e6] [takeTime=1.998µs] [] [2025/04/04 10:35:56.949 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=ceef4ec4-e90c-4419-bed7-e90a9271d3e6] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/04 10:35:56.949 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=ceef4ec4-e90c-4419-bed7-e90a9271d3e6] [weight=30] [2025/04/04 10:35:56.949 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=ceef4ec4-e90c-4419-bed7-e90a9271d3e6] [concurrency=15] [2025/04/04 10:35:56.951 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=182] [physicalTableID=182] [indexID=-1] [checksum=14384125892341312190] [totalKvs=4] [totalBytes=136] [2025/04/04 10:35:56.951 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:56.952 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=ceef4ec4-e90c-4419-bed7-e90a9271d3e6] [local="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/04 10:35:56.952 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=ceef4ec4-e90c-4419-bed7-e90a9271d3e6] [checksum="{\"id=-1\"=\"{cksum=14384125892341312190,size=136,kvs=4}\"}"] [takeTime=2.950013ms] [] [2025/04/04 10:35:56.952 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 10:35:56.952 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=7.708µs] [] [2025/04/04 10:35:56.952 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 10:35:56.953 +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.013455ms] [] [2025/04/04 10:35:56.953 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:56.953 +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.51µs] [] [2025/04/04 10:35:56.953 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:56.954 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=919.517µs] [] [2025/04/04 10:35:56.957 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:56.957 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:56.957 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:56.957 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:56.957 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:56.957 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:56.957 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:56.957 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:56.957 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-19] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:56.957 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:56.958 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:56.958 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:56.959 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:56.959 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:56.959 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:56.959 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:56.965 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457116996586700804] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-4 (0.49s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-5 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-5 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-6 current case CREATE TABLE t (id int, v varchar(64)) [2025/04/04 10:35:56.983 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:184, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:35:56.983 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:184, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:56.989 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=2] [job="ID:184, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.006 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=121] [neededSchemaVersion=122] ["elapsed time"=2.094683ms] [gotSchemaVersion=122] [phyTblIDs="[182]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:57.010 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=122] [2025/04/04 10:35:57.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=122] ["take time"=9.938306ms] [job="ID:184, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.024 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=2] [job="ID:184, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.042 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=122] [neededSchemaVersion=123] ["elapsed time"=2.256129ms] [gotSchemaVersion=123] [phyTblIDs="[182]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:57.046 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=123] [2025/04/04 10:35:57.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=123] ["take time"=10.109293ms] [job="ID:184, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.057 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=2] [job="ID:184, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.063 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 182, Old Table Name: t)"] [2025/04/04 10:35:57.076 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=123] [neededSchemaVersion=124] ["elapsed time"=1.268152ms] [gotSchemaVersion=124] [phyTblIDs="[182]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:57.080 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=124] [2025/04/04 10:35:57.082 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=124] ["take time"=9.30938ms] [job="ID:184, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.092 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=184] [tableIDs="[182]"] [comment="drop table: table ID"] [2025/04/04 10:35:57.097 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=184] [jobType="drop table"] [2025/04/04 10:35:57.098 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=184] [conn=2] [job="ID:184, Type:drop table, State:synced, SchemaState:none, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.116 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=184] [2025/04/04 10:35:57.116 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=124] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/04 10:35:57.129 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int, v varchar(64))"] [2025/04/04 10:35:57.129 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:57.135 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=186] [conn=2] [job="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:57.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.140 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 185, Table Name: t)"] [2025/04/04 10:35:57.155 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=124] [neededSchemaVersion=125] ["elapsed time"=1.707253ms] [gotSchemaVersion=125] [phyTblIDs="[185]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:57.158 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=186] [version=125] [2025/04/04 10:35:57.160 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=125] ["take time"=8.709385ms] [job="ID:186, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.171 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=186] [conn=2] [job="ID:186, Type:create table, State:synced, SchemaState:public, SchemaID:174, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:57.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.182 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=186] [2025/04/04 10:35:57.182 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=125] [cur_db=write_after_import] [sql="CREATE TABLE t (id int, v varchar(64))"] [user=] [2025/04/04 10:35:57.229 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=6c38c24f-b9bc-4635-b289-bee626058bca] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=185] [2025/04/04 10:35:57.237 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:57.237 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404354783641569] [2025/04/04 10:35:57.237 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:57.237 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:57.238 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:57.238 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:57.238 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:57.238 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:57.238 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:57.238 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:57.250 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:57.252 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:57.252 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:35:57.257 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 10:35:57.260 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:57.279 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=6c38c24f-b9bc-4635-b289-bee626058bca] [key=import-from-select] [2025/04/04 10:35:57.280 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=6c38c24f-b9bc-4635-b289-bee626058bca] [key=import-from-select] [readDur=36.071µs] [encodeDur=762.544µs] [checksum="{cksum=4613872053217128256,size=152,kvs=4}"] [deliverDur=240.533µs] [type=query] [takeTime=1.483068ms] [] [2025/04/04 10:35:57.281 +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/6c38c24f-b9bc-4635-b289-bee626058bca/102b1544-1a0b-5f02-9523-0f5011224f00.sst/52cbf4a8-f400-4060-a171-0efe01ca33c0.sst] [firstKey=7480000000000000B95F728000000000000001] [lastKey=7480000000000000B95F728000000000000004] [2025/04/04 10:35:57.299 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=6c38c24f-b9bc-4635-b289-bee626058bca] [key=import-from-select] [2025/04/04 10:35:57.299 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=6c38c24f-b9bc-4635-b289-bee626058bca] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=135.858µs] [] [2025/04/04 10:35:57.299 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 10:35:57.301 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=1.595731ms] [] [2025/04/04 10:35:57.301 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [2025/04/04 10:35:57.305 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:57.327 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] ["region ranges"=1] [count=4] [size=152] [2025/04/04 10:35:57.327 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:57.329 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b95f728000000000000001] [endOfAllRanges=7480000000000000b95f728000000000000005] [startKeyOfFirstRegion=7480000000000000ffb95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffb95f728000000000ff0000050000000000fa] [2025/04/04 10:35:57.341 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/04 10:35:57.343 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [takeTime=41.659291ms] [] [2025/04/04 10:35:57.343 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:57.344 +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.421149ms] [] [2025/04/04 10:35:57.344 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/04 10:35:57.348 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:57.348 +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.70737ms] [] [2025/04/04 10:35:57.348 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=6c38c24f-b9bc-4635-b289-bee626058bca] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\"}"] [2025/04/04 10:35:57.348 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=6c38c24f-b9bc-4635-b289-bee626058bca] [2025/04/04 10:35:57.355 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=6c38c24f-b9bc-4635-b289-bee626058bca] [takeTime=6.445094ms] [] [2025/04/04 10:35:57.355 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=6c38c24f-b9bc-4635-b289-bee626058bca] [checksum="{cksum=4613872053217128256,size=152,kvs=4}"] [2025/04/04 10:35:57.355 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=6c38c24f-b9bc-4635-b289-bee626058bca] [weight=30] [2025/04/04 10:35:57.355 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=6c38c24f-b9bc-4635-b289-bee626058bca] [concurrency=15] [2025/04/04 10:35:57.357 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=185] [physicalTableID=185] [indexID=-1] [checksum=4613872053217128256] [totalKvs=4] [totalBytes=152] [2025/04/04 10:35:57.358 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:57.358 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=6c38c24f-b9bc-4635-b289-bee626058bca] [local="{cksum=4613872053217128256,size=152,kvs=4}"] [2025/04/04 10:35:57.358 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=6c38c24f-b9bc-4635-b289-bee626058bca] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\"}"] [takeTime=9.324403ms] [] [2025/04/04 10:35:57.358 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 10:35:57.358 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=7.574µs] [] [2025/04/04 10:35:57.358 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 10:35:57.359 +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.192996ms] [] [2025/04/04 10:35:57.359 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:57.359 +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.885µs] [] [2025/04/04 10:35:57.359 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:57.360 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=986.18µs] [] [2025/04/04 10:35:57.364 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:57.364 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:57.364 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:57.364 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:57.364 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:57.364 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:57.364 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:57.364 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:57.364 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:57.364 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-20] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:57.364 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:57.364 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:57.366 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:57.366 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:57.366 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:57.366 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-6 (0.41s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-7 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-7 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-8 current case CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64)) [2025/04/04 10:35:57.401 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:187, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:57.401 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:187, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:35:57.407 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:57.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.425 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=125] [neededSchemaVersion=126] ["elapsed time"=2.374317ms] [gotSchemaVersion=126] [phyTblIDs="[185]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:57.429 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=126] [2025/04/04 10:35:57.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=126] ["take time"=10.905508ms] [job="ID:187, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.441 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:57.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.457 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=126] [neededSchemaVersion=127] ["elapsed time"=2.229114ms] [gotSchemaVersion=127] [phyTblIDs="[185]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:57.461 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=127] [2025/04/04 10:35:57.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=127] ["take time"=9.749077ms] [job="ID:187, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.471 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:57.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.478 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 185, Old Table Name: t)"] [2025/04/04 10:35:57.491 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=127] [neededSchemaVersion=128] ["elapsed time"=1.347311ms] [gotSchemaVersion=128] [phyTblIDs="[185]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:57.495 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=128] [2025/04/04 10:35:57.497 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=128] ["take time"=8.550098ms] [job="ID:187, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.506 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=187] [tableIDs="[185]"] [comment="drop table: table ID"] [2025/04/04 10:35:57.511 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=187] [jobType="drop table"] [2025/04/04 10:35:57.512 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:drop table, State:synced, SchemaState:none, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.530 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=187] [2025/04/04 10:35:57.530 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=128] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/04 10:35:57.544 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:57.544 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64))"] [2025/04/04 10:35:57.553 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=189] [conn=2] [job="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:57.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.559 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 188, Table Name: t)"] [2025/04/04 10:35:57.575 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=128] [neededSchemaVersion=129] ["elapsed time"=1.819979ms] [gotSchemaVersion=129] [phyTblIDs="[188]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:57.579 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=189] [version=129] [2025/04/04 10:35:57.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=129] ["take time"=8.783425ms] [job="ID:189, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.591 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=189] [conn=2] [job="ID:189, Type:create table, State:synced, SchemaState:public, SchemaID:174, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:57.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.603 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=189] [2025/04/04 10:35:57.603 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=129] [cur_db=write_after_import] [sql="CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64))"] [user=] [2025/04/04 10:35:57.648 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=a2f1d0d6-a642-4792-b0b6-c196559feca4] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=188] [2025/04/04 10:35:57.654 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:57.655 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404354783641569] [2025/04/04 10:35:57.655 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:57.655 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:57.655 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:57.655 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:57.655 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:57.656 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:57.656 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:57.656 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:57.669 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:57.671 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:57.671 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:35:57.675 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 10:35:57.678 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:57.719 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=a2f1d0d6-a642-4792-b0b6-c196559feca4] [key=import-from-select] [2025/04/04 10:35:57.721 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=a2f1d0d6-a642-4792-b0b6-c196559feca4] [key=import-from-select] [readDur=42.424µs] [encodeDur=673.575µs] [checksum="{cksum=4311923599730848115,size=296,kvs=8}"] [deliverDur=983.824µs] [type=query] [takeTime=2.150385ms] [] [2025/04/04 10:35:57.723 +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/a2f1d0d6-a642-4792-b0b6-c196559feca4/102b1544-1a0b-5f02-9523-0f5011224f00.sst/6c81f844-9a7e-4406-a8a8-3c9934ed26df.sst] [firstKey=7480000000000000BC5F728000000000000001] [lastKey=7480000000000000BC5F728000000000000004] [2025/04/04 10:35:57.723 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=a2f1d0d6-a642-4792-b0b6-c196559feca4] [key=import-from-select] [2025/04/04 10:35:57.723 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=a2f1d0d6-a642-4792-b0b6-c196559feca4] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=106.327µs] [] [2025/04/04 10:35:57.723 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 10:35:57.725 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=1.607618ms] [] [2025/04/04 10:35:57.725 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [2025/04/04 10:35:57.729 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:57.751 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] ["region ranges"=1] [count=4] [size=152] [2025/04/04 10:35:57.751 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:57.753 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000bc5f728000000000000001] [endOfAllRanges=7480000000000000bc5f728000000000000005] [startKeyOfFirstRegion=7480000000000000ffbc5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffbc5f728000000000ff0000050000000000fa] [2025/04/04 10:35:57.764 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/04 10:35:57.767 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [takeTime=41.612487ms] [] [2025/04/04 10:35:57.767 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:57.767 +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/a2f1d0d6-a642-4792-b0b6-c196559feca4/630083e6-fc50-5cd2-8645-c17b147197ce.sst/2c907aed-9c53-44f9-9c0f-b4aad9b80938.sst] [firstKey=7480000000000000BC5F698000000000000001038000000000000004] [lastKey=7480000000000000BC5F698000000000000001038000000000000007] [2025/04/04 10:35:57.769 +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.473187ms] [] [2025/04/04 10:35:57.769 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/04 10:35:57.774 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:57.796 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] ["region ranges"=1] [count=4] [size=144] [2025/04/04 10:35:57.796 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:57.797 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000bc5f698000000000000001038000000000000004] [endOfAllRanges=7480000000000000bc5f69800000000000000103800000000000000700] [startKeyOfFirstRegion=7480000000000000ffbc5f698000000000ff0000010380000000ff0000000400000000fb] [endKeyOfLastRegion=7480000000000000ffbc5f698000000000ff0000010380000000ff0000000700000000fc] [2025/04/04 10:35:57.809 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] [size=144] [kvs=4] [importedSize=144] [importedCount=4] [2025/04/04 10:35:57.811 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [takeTime=41.329491ms] [] [2025/04/04 10:35:57.811 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=a2f1d0d6-a642-4792-b0b6-c196559feca4] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\",\"id=1\"=\"{cksum=8921845837811637811,size=144,kvs=4}\"}"] [2025/04/04 10:35:57.811 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=a2f1d0d6-a642-4792-b0b6-c196559feca4] [2025/04/04 10:35:57.818 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=a2f1d0d6-a642-4792-b0b6-c196559feca4] [takeTime=6.798215ms] [] [2025/04/04 10:35:57.818 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=a2f1d0d6-a642-4792-b0b6-c196559feca4] [checksum="{cksum=4311923599730848115,size=296,kvs=8}"] [2025/04/04 10:35:57.818 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=a2f1d0d6-a642-4792-b0b6-c196559feca4] [weight=30] [2025/04/04 10:35:57.818 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=a2f1d0d6-a642-4792-b0b6-c196559feca4] [concurrency=15] [2025/04/04 10:35:57.824 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=188] [physicalTableID=188] [indexID=-1] [checksum=4613872053217128256] [totalKvs=4] [totalBytes=152] [2025/04/04 10:35:57.825 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=188] [physicalTableID=188] [indexID=1] [checksum=8921845837811637811] [totalKvs=4] [totalBytes=144] [2025/04/04 10:35:57.825 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:57.825 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=a2f1d0d6-a642-4792-b0b6-c196559feca4] [local="{cksum=4311923599730848115,size=296,kvs=8}"] [2025/04/04 10:35:57.825 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=a2f1d0d6-a642-4792-b0b6-c196559feca4] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\",\"id=1\"=\"{cksum=8921845837811637811,size=144,kvs=4}\"}"] [takeTime=14.427367ms] [] [2025/04/04 10:35:57.826 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 10:35:57.826 +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.02µs] [] [2025/04/04 10:35:57.826 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 10:35:57.827 +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.154385ms] [] [2025/04/04 10:35:57.827 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:57.827 +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.411µs] [] [2025/04/04 10:35:57.827 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:35:57.828 +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.080995ms] [] [2025/04/04 10:35:57.832 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:57.832 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:57.833 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:57.833 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:57.832 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:57.833 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-21] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:57.833 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:57.833 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:57.833 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:57.833 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:57.833 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:57.833 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:57.835 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:57.835 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:57.835 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:57.835 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-8 (0.47s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-9 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-9 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-10 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-10 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect [2025/04/04 10:35:57.866 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:190, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:57.866 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:190, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:35:57.873 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=190] [conn=2] [job="ID:190, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:57.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.893 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=129] [neededSchemaVersion=130] ["elapsed time"=3.285903ms] [gotSchemaVersion=130] [phyTblIDs="[188]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:57.897 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=190] [version=130] [Pipeline] // podTemplate [2025/04/04 10:35:57.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=130] ["take time"=12.324749ms] [job="ID:190, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.909 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=190] [conn=2] [job="ID:190, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:57.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.927 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=130] [neededSchemaVersion=131] ["elapsed time"=2.383726ms] [gotSchemaVersion=131] [phyTblIDs="[188]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:57.931 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=190] [version=131] [2025/04/04 10:35:57.933 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=131] ["take time"=11.060036ms] [job="ID:190, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.943 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=190] [conn=2] [job="ID:190, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:57.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.950 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 188, Old Table Name: t)"] [2025/04/04 10:35:57.966 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=131] [neededSchemaVersion=132] ["elapsed time"=1.117142ms] [gotSchemaVersion=132] [phyTblIDs="[188]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:57.969 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=190] [version=132] [2025/04/04 10:35:57.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=132] ["take time"=8.415593ms] [job="ID:190, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.980 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=190] [tableIDs="[188]"] [comment="drop table: table ID"] [2025/04/04 10:35:57.985 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=190] [jobType="drop table"] [2025/04/04 10:35:57.986 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=190] [conn=2] [job="ID:190, Type:drop table, State:synced, SchemaState:none, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:58.004 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=190] [2025/04/04 10:35:58.004 +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.68s) === NAME TestImportInto [2025/04/04 10:35:58.006 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:35:58.006 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:35:58.006 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [] [2025/04/04 10:35:58.006 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:58.006 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:58.006 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:58.006 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=73.618µs] [2025/04/04 10:35:58.006 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=50.358µs] [2025/04/04 10:35:58.006 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=72.568µs] [2025/04/04 10:35:58.006 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=77.949µs] [2025/04/04 10:35:58.007 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=52.148µs] [2025/04/04 10:35:58.007 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=46.924µs] [2025/04/04 10:35:58.007 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=39.092µs] [2025/04/04 10:35:58.007 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=38.139µs] [2025/04/04 10:35:58.007 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=27.283µs] [2025/04/04 10:35:58.007 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=27.53µs] [2025/04/04 10:35:58.007 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:58.007 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:58.008 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:35:58.008 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:35:58.027 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] ["take time"=21.835407ms] [2025/04/04 10:35:58.027 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:58.027 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:35:58.028 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:35:58.028 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/997e9827-67f0-4f88-a2e3-4e4859998c1d] [watcherID=05b6cc43-b882-44f0-b33c-ce02257857c2] [2025/04/04 10:35:58.028 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/997e9827-67f0-4f88-a2e3-4e4859998c1d] [2025/04/04 10:35:58.028 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [ttl-worker=task-manager] [ttl-worker=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [originalCount=4] [newCount=0] [2025/04/04 10:35:58.028 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:58.028 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:58.028 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:58.028 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:58.028 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [ttl-worker=task-manager] [ttl-worker=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [originalCount=4] [newCount=0] [2025/04/04 10:35:58.030 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:58.031 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:58.031 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:58.031 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:58.034 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:58.034 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=874] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:35:58.035 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=b0fd9837-4f6f-4ea1-b389-1f3c18386212] [] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:58.035 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:35:58.035 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:58.035 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:35:58.035 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:58.035 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:35:58.035 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:58.035 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:35:58.035 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:58.035 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:35:58.035 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:58.035 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:58.035 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:58.035 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:58.035 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:58.035 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:35:58.035 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:35:58.035 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:58.035 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:58.035 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:58.035 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:58.035 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:35:58.036 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:58.036 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:58.035 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=b0fd9837-4f6f-4ea1-b389-1f3c18386212] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:35:58.036 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=b0fd9837-4f6f-4ea1-b389-1f3c18386212] [2025/04/04 10:35:58.035 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:58.035 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:58.036 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=b0fd9837-4f6f-4ea1-b389-1f3c18386212] [2025/04/04 10:35:58.036 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:35:58.036 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:35:58.036 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:58.035 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:58.035 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:58.036 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [] [2025/04/04 10:35:58.036 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:35:58.035 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:58.035 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:58.036 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:35:58.036 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:58.036 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:35:58.036 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:58.035 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:35:58.035 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:58.035 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:35:58.036 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:58.035 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:58.035 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:58.036 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:58.035 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:58.036 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:58.036 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:58.036 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:58.036 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:58.037 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:58.037 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:58.036 +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).buildTopN\n\tpkg/executor/builder.go:2497\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:255\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).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).GetTopUnfinishedTasks\n\tpkg/disttask/framework/storage/task_table.go:285\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).getSchedulableTasks\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:231\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).scheduleTaskLoop\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:218\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\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).buildTopN\n\tpkg/executor/builder.go:2497\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:255\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).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).GetTopUnfinishedTasks\n\tpkg/disttask/framework/storage/task_table.go:285\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).getSchedulableTasks\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:231\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).scheduleTaskLoop\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:218\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:58.037 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:35:58.037 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:35:58.037 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=b0fd9837-4f6f-4ea1-b389-1f3c18386212] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:58.037 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [] [2025/04/04 10:35:58.037 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/04 10:35:58.037 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:35:58.037 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:58.037 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:35:58.037 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:58.037 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:35:58.037 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:58.037 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:58.037 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:58.037 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:58.037 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [error="context canceled"] [2025/04/04 10:35:58.037 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:35:58.037 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:35:58.037 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:58.040 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=1] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:810\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243"] [2025/04/04 10:35:58.040 +00:00] [WARN] [scheduler_manager.go:233] ["get unfinished tasks failed"] [server-id=:4000] [error="[127.0.0.1:20161](1) context canceled"] [errorVerbose="[127.0.0.1:20161](1) context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).extractTaskHandles\n\tpkg/executor/distsql.go:1142\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).fetchHandles\n\tpkg/executor/distsql.go:1064\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:807\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:58.040 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:35:58.040 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [2025/04/04 10:35:58.040 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:35:58.041 +00:00] [WARN] [txn.go:692] ["wait tso failed"] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/tikv/pd/client/clients/tso.(*Request).waitCtx\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:98\ngithub.com/tikv/pd/client/clients/tso.(*Request).Wait\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:73\ngithub.com/tikv/client-go/v2/util.interceptedTsFuture.Wait\n\texternal/com_github_tikv_client_go_v2/util/pd_interceptor.go:81\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:239\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeIndexLookUpReader\n\tpkg/executor/builder.go:4137\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildIndexLookUpReader\n\tpkg/executor/builder.go:4198\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:297\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildHashAgg\n\tpkg/executor/builder.go:1918\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:275\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildProjection\n\tpkg/executor/builder.go:2090\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:279\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).GetTaskExecInfoByExecID.func1\n\tpkg/disttask/framework/storage/task_table.go:317\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).GetTaskExecInfoByExecID\n\tpkg/disttask/framework/storage/task_table.go:313\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:172\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeIndexLookUpReader\n\tpkg/executor/builder.go:4137\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildIndexLookUpReader\n\tpkg/executor/builder.go:4198\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:297\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildHashAgg\n\tpkg/executor/builder.go:1918\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:275\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildProjection\n\tpkg/executor/builder.go:2090\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:279\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).GetTaskExecInfoByExecID.func1\n\tpkg/disttask/framework/storage/task_table.go:317\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).GetTaskExecInfoByExecID\n\tpkg/disttask/framework/storage/task_table.go:313\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:172\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:58.044 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=1] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:810\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243"] [2025/04/04 10:35:58.045 +00:00] [ERROR] [manager.go:373] ["task manager met error"] [server-id=:4000] [error="[127.0.0.1:20161](1) context canceled"] [errorVerbose="[127.0.0.1:20161](1) context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).extractTaskHandles\n\tpkg/executor/distsql.go:1142\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).fetchHandles\n\tpkg/executor/distsql.go:1064\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:807\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).logErr\n\tpkg/disttask/framework/taskexecutor/manager.go:373\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:174\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).logErr\n\tpkg/disttask/framework/taskexecutor/manager.go:373\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:174\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/04 10:35:58.045 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:35:58.045 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:35:58.045 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:58.058 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:35:58.059 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:58.103 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=08f34cb9-ba1a-4cf6-bc49-dac26985b8d9] [error="context canceled"] [2025/04/04 10:35:58.103 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:35:58.104 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:58.116 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=110.76384ms] [2025/04/04 10:35:58.119 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:58.119 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:58.119 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:58.119 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:58.119 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:58.119 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:58.119 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:58.119 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:58.119 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:58.119 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:58.119 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:58.119 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:58.120 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestImportInto (18.95s) === NAME PASS ================================================================================ Target //tests/realtikvtest/importintotest2:importintotest2_test up-to-date: bazel-bin/tests/realtikvtest/importintotest2/importintotest2_test_/importintotest2_test INFO: Elapsed time: 31.843s, Critical Path: 13.06s INFO: 4637 processes: 4624 remote cache hit, 13 internal. INFO: Build completed successfully, 4637 total actions //tests/realtikvtest/importintotest2:importintotest2_test (cached) PASSED in 22.6s PASSED importintotest2_test.TestImportInto (19.0s) PASSED importintotest2_test.TestImportInto/TestCastNegativeToUnsigned (0.4s) PASSED importintotest2_test.TestImportInto/TestImportFromSelectBasic (1.8s) PASSED importintotest2_test.TestImportInto/TestImportFromSelectColumnList (0.8s) PASSED importintotest2_test.TestImportInto/TestImportFromSelectStaleRead (1.5s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile (6.4s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-0 (1.2s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-1 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-10 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-2 (1.2s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-3 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-4 (1.3s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-5 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-6 (1.3s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-7 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-8 (1.2s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-9 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect (2.7s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-0 (0.3s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-1 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-10 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-2 (0.4s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-3 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-4 (0.5s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-5 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-6 (0.4s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-7 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-8 (0.5s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-9 (0.0s) Test cases: finished with 29 passing and 0 failing out of 29 test cases Executed 0 out of 1 test: 1 test passes. [Pipeline] }  [Pipeline] // timeout [Pipeline] } [Pipeline] // dir Post stage [Pipeline] // stage [Pipeline] // withCredentials [Pipeline] } [Pipeline] } [Pipeline] // container [Pipeline] // dir [Pipeline] } Post stage [Pipeline] } No test report files were found. Configuration error? [Pipeline] // dir [Pipeline] // script [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] // withEnv [Pipeline] } [Pipeline] } [Pipeline] // stage [4,750 / 4,751] [Prepa] Testing //tests/realtikvtest/importintotest:importintotest_test [Pipeline] } [Pipeline] junit Recording test results [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results [Pipeline] // container [Pipeline] // timeout [Pipeline] } [Pipeline] } INFO: From Testing //tests/realtikvtest/importintotest:importintotest_test: ==================== Test output for //tests/realtikvtest/importintotest:importintotest_test: === RUN TestImportInto [2025/04/04 10:35:44.078 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:44.079 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:44.080 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:35:44.081 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:44.081 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:44.081 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:44.081 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:44.082 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:44.082 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:44.082 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:44.082 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:44.087 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:35:44.094 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:44.095 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=4] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:44.095 +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 10:35:44.119 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:44.119 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:44.124 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:44.124 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:44.135 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:44.158 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404350773949057] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:35:44.180 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:35:44.223 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1636] ["lease id"=223196005d3a9ff7] [2025/04/04 10:35:44.226 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:35:44.232 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).SetupSuite\n\ttests/realtikvtest/importintotest/util_test.go:65\ngithub.com/stretchr/testify/suite.Run\n\texternal/com_github_stretchr_testify/suite/suite.go:157\ntests/realtikvtest/importintotest/importintotest_test.TestImportInto\n\ttests/realtikvtest/importintotest/util_test.go:50\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 10:35:44.337 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=104.468563ms] [2025/04/04 10:35:44.337 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:44.339 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/04 10:35:44.339 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [runWorker=true] [jobVersion=v2] [2025/04/04 10:35:44.339 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:35:44.341 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:35:44.343 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:35:44.343 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 211107414016/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:35:44.343 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:44.343 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:44.343 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:44.343 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:44.343 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:44.343 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:44.343 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:44.343 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:44.343 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:44.343 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:35:44.343 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:44.343 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:44.343 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=8f4a1c43-6c6c-4a2b-9fc4-7836088f6843] [2025/04/04 10:35:44.345 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d3a98fe] [ownerID=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [op=none] [2025/04/04 10:35:44.345 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:35:44.345 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [ownerKey=/tidb/ddl/fg/owner/3eaa96005d3a98fe] [currRev=96] [2025/04/04 10:35:44.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:44.346 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=8f4a1c43-6c6c-4a2b-9fc4-7836088f6843] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:44.347 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:35:44.347 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f1896005d3aa666] [ownerID=8f4a1c43-6c6c-4a2b-9fc4-7836088f6843] [op=none] [2025/04/04 10:35:44.347 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=8f4a1c43-6c6c-4a2b-9fc4-7836088f6843] [2025/04/04 10:35:44.347 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=8f4a1c43-6c6c-4a2b-9fc4-7836088f6843] [ownerKey=/tidb/br-stream/owner/6f1896005d3aa666] [currRev=97] [2025/04/04 10:35:44.348 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d3a98fe] [ownerID=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [op=none] [2025/04/04 10:35:44.348 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [op=none] [2025/04/04 10:35:44.348 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:35:44.351 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 10:35:44.367 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:44.367 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/04 10:35:44.373 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.517 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=129.15681ms] [2025/04/04 10:35:44.517 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:44.524 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:44.524 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/04 10:35:44.526 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=140.769243ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.541 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.556 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/04 10:35:44.557 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/04 10:35:44.558 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/04 10:35:44.562 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=UTC] [2025/04/04 10:35:44.588 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:44.588 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/04 10:35:44.597 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.654 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.456316ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:44.657 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:44.657 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/04 10:35:44.659 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=15.969486ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.678 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.711 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/04 10:35:44.711 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 10:35:44.724 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:44.724 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2025/04/04 10:35:44.730 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.748 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=1.964237ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:44.751 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:44.752 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/04 10:35:44.753 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=8.514942ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.764 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.777 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/04 10:35:44.777 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2025/04/04 10:35:44.791 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:44.791 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [2025/04/04 10:35:44.797 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.816 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=1.998358ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:44.820 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:44.820 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/04 10:35:44.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=4] ["take time"=8.867819ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.832 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.846 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/04 10:35:44.846 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [user=] [2025/04/04 10:35:44.871 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:44.871 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [2025/04/04 10:35:44.879 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.915 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.549162ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:44.918 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:44.919 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/04 10:35:44.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=5] ["take time"=11.713343ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.935 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.957 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/04 10:35:44.957 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 10:35:44.973 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:44.973 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [2025/04/04 10:35:44.979 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.003 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.870033ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:45.006 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:45.006 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/04 10:35:45.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=6] ["take time"=10.109877ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.020 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.035 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/04 10:35:45.036 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 10:35:45.051 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.051 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [2025/04/04 10:35:45.059 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.081 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.534694ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:45.085 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:45.085 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/04 10:35:45.086 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=9.454049ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:44.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.098 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:44.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.114 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/04 10:35:45.114 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 10:35:45.127 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2025/04/04 10:35:45.127 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.133 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.150 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.776836ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:45.153 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:45.153 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/04 10:35:45.155 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=8.322086ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.165 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.176 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/04 10:35:45.176 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2025/04/04 10:35:45.189 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.189 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2025/04/04 10:35:45.195 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.212 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.955654ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:45.216 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:45.216 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/04 10:35:45.218 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=9.149192ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.228 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.239 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/04 10:35:45.239 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2025/04/04 10:35:45.254 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.254 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2025/04/04 10:35:45.261 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.283 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.221116ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:45.287 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:45.287 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/04 10:35:45.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=10] ["take time"=9.760521ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.301 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.315 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/04 10:35:45.316 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2025/04/04 10:35:45.330 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.330 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.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 10:35:45.336 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.344 +00:00] [WARN] [runaway.go:85] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:45.360 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.686346ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:45.364 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:45.364 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/04 10:35:45.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=11] ["take time"=11.355508ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.380 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.396 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/04 10:35:45.396 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2025/04/04 10:35:45.398 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:45.416 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.416 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 10:35:45.424 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.456 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.68777ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:45.460 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:45.460 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/04 10:35:45.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=12] ["take time"=12.75122ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.477 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.497 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/04 10:35:45.497 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 10:35:45.515 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2025/04/04 10:35:45.515 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.521 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.546 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.778769ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:45.550 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:45.550 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/04 10:35:45.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=13] ["take time"=10.758899ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.565 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.581 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/04 10:35:45.582 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2025/04/04 10:35:45.597 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.597 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.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 10:35:45.607 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.628 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.252818ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:45.632 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:45.632 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/04 10:35:45.634 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=9.677371ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.645 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.658 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/04 10:35:45.659 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 10:35:45.673 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.673 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2025/04/04 10:35:45.679 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.699 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.124484ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:45.702 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:45.703 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/04 10:35: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=15] ["take time"=9.058328ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.714 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.727 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/04 10:35:45.728 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 10:35:45.740 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.740 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.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 10:35:45.746 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.765 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=2.119849ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:45.769 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:45.769 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/04 10:35:45.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=16] ["take time"=9.034346ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.781 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.794 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/04 10:35:45.794 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 10:35:45.808 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.808 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2025/04/04 10:35:45.814 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.834 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.154837ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:45.838 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:45.838 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/04 10:35:45.840 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=9.292935ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.851 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.864 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/04 10:35:45.864 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/04 10:35:45.878 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.878 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [2025/04/04 10:35:45.883 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.903 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.145856ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:45.906 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:45.906 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/04 10:35:45.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=18] ["take time"=8.920301ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.918 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.931 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/04 10:35:45.931 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/04 10:35:45.947 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.947 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.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 10:35:45.954 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.979 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.057291ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:45.982 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:45.983 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/04 10:35:45.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=19] ["take time"=9.823198ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.996 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.012 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/04 10:35:46.013 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 10:35:46.034 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:46.034 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 10:35:46.039 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.059 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.119423ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:46.062 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:46.062 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/04 10:35:46.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=20] ["take time"=8.768865ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.074 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.087 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/04 10:35:46.087 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 10:35:46.087 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:35:46.100 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.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 10:35:46.100 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:46.107 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.125 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.686253ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:46.128 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:46.128 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/04 10:35:46.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=21] ["take time"=8.448686ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.140 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.152 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/04 10:35:46.153 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2025/04/04 10:35:46.164 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:46.164 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/04 10:35:46.170 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.185 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.593338ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:46.188 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:46.188 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/04 10:35:46.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=22] ["take time"=8.351115ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.200 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.211 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/04 10:35:46.212 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/04 10:35:46.226 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:46.226 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2025/04/04 10:35:46.232 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.256 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.852189ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:46.260 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:46.260 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/04 10:35:46.262 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=10.767536ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.275 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.291 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/04 10:35:46.291 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2025/04/04 10:35:46.306 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:46.306 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 10:35:46.311 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.331 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.088539ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:46.338 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:46.339 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/04 10:35:46.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=24] ["take time"=13.743704ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.343 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:35:46.343 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2384] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/04 10:35:46.354 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.367 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/04 10:35:46.367 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 10:35:46.382 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:46.382 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [2025/04/04 10:35:46.387 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.407 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.204603ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:46.410 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:46.410 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/04 10:35:46.412 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=8.848403ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.423 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.436 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/04 10:35:46.436 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/04 10:35:46.449 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:46.449 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2025/04/04 10:35:46.454 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.472 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.798634ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:46.475 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:46.475 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/04 10:35:46.477 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=8.596529ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.488 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.500 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/04 10:35:46.500 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/04 10:35:46.514 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:46.514 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2025/04/04 10:35:46.519 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.538 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=1.978091ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:46.542 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:46.542 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/04 10:35:46.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=27] ["take time"=8.984806ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.554 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.567 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/04 10:35:46.567 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/04 10:35:46.581 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:46.581 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2025/04/04 10:35:46.587 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.606 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.907423ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:46.609 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:46.609 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/04 10:35:46.611 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=8.592503ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.622 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.634 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/04 10:35:46.634 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/04 10:35:46.636 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:46.649 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:46.648 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2025/04/04 10:35:46.654 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.675 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.20061ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:46.678 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:46.678 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/04 10:35:46.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=29] ["take time"=8.770082ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.691 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.704 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/04 10:35:46.705 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/04 10:35:46.718 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:46.718 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 10:35:46.724 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.745 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.346135ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:46.748 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:46.748 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/04 10:35:46.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=30] ["take time"=8.947115ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.761 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.775 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/04 10:35:46.775 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 10:35:46.789 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:46.789 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 10:35:46.795 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.817 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.469304ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:46.821 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:46.821 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/04 10:35:46.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=31] ["take time"=9.379923ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.833 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.846 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/04 10:35:46.846 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 10:35:46.863 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:46.863 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/04 10:35:46.870 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.898 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.417828ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:46.901 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:46.901 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/04 10:35:46.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=32] ["take time"=10.121781ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.916 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.934 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/04 10:35:46.934 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/04 10:35:46.946 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:46.946 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/04 10:35:46.952 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.969 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.690437ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:46.972 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:46.972 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/04 10:35:46.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=33] ["take time"=9.074861ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.985 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:46.998 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/04 10:35:46.998 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/04 10:35:47.017 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:47.017 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/04 10:35:47.024 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.051 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.666646ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:35:47.055 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:47.055 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/04 10:35:47.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=34] ["take time"=10.673407ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:46.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.070 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:46.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.085 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/04 10:35:47.105 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:47.105 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2025/04/04 10:35:47.112 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.136 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.530615ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:47.140 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:47.141 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/04 10:35:47.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=35] ["take time"=10.84143ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.156 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.171 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/04 10:35:47.171 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/04 10:35:47.186 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:47.186 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2025/04/04 10:35:47.192 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.212 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=2.317566ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:47.216 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:47.216 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/04 10:35:47.218 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=10.716503ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.230 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.243 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/04 10:35:47.244 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/04 10:35:47.260 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:47.260 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2025/04/04 10:35:47.266 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.287 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=2.12318ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:47.291 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:47.291 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/04 10:35:47.293 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=10.179112ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.305 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.317 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/04 10:35:47.318 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/04 10:35:47.335 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:47.335 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2025/04/04 10:35:47.341 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.370 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.421169ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:47.373 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:47.373 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/04 10:35:47.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=38] ["take time"=9.761742ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.387 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.404 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/04 10:35:47.404 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/04 10:35:47.420 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:47.420 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2025/04/04 10:35:47.426 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.451 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.173768ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:47.455 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:47.455 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/04 10:35:47.456 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=9.911301ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [Pipeline] // withEnv [2025/04/04 10:35:47.468 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.485 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/04 10:35:47.485 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/04 10:35:47.502 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:47.502 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2025/04/04 10:35:47.508 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.536 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.545681ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:47.539 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:47.539 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/04 10:35:47.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=40] ["take time"=9.994869ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.553 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.570 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/04 10:35:47.570 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/04 10:35:47.587 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:47.587 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/04 10:35:47.593 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.623 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.67762ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:47.626 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:47.626 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/04 10:35:47.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=41] ["take time"=9.887907ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.640 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.658 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/04 10:35:47.658 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 10:35:47.675 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:47.676 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/04 10:35:47.682 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.712 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.760513ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:47.715 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:47.716 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/04 10:35:47.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=42] ["take time"=10.312797ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.730 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.748 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/04 10:35:47.748 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 10:35:47.764 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:47.764 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2025/04/04 10:35:47.770 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.798 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.421712ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:47.802 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:47.802 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/04 10:35:47.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=43] ["take time"=10.11817ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.815 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.832 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/04 10:35:47.833 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2025/04/04 10:35:47.849 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:47.849 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 10:35:47.854 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.878 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=3.096509ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:47.882 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:47.882 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/04 10:35:47.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=44] ["take time"=9.621892ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.895 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.910 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/04 10:35:47.910 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 10:35:47.931 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:47.931 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 10:35:47.938 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.963 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.894311ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:47.966 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:47.967 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/04 10:35:47.968 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=10.214434ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.981 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:47.998 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/04 10:35:47.998 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 10:35:48.020 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:48.020 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2025/04/04 10:35:48.028 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.061 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=4.075049ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:48.064 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:48.064 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/04 10:35:48.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=46] ["take time"=11.382246ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:47.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.080 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:47.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.099 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/04 10:35:48.100 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2025/04/04 10:35:48.115 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:48.115 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 10:35:48.121 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.146 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=3.053829ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:48.150 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:48.150 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/04 10:35:48.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=47] ["take time"=10.092995ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.166 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.182 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/04 10:35:48.183 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 10:35:48.196 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2025/04/04 10:35:48.196 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:48.202 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.221 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=2.020191ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:48.224 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:48.224 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/04 10:35:48.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=48] ["take time"=9.008598ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.236 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.249 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/04 10:35:48.249 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2025/04/04 10:35:48.263 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:48.263 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2025/04/04 10:35:48.269 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.287 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.15002ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:48.291 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:48.291 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/04 10:35:48.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=49] ["take time"=8.848801ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.303 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.316 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/04 10:35:48.316 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2025/04/04 10:35:48.318 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:48.331 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:48.331 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/04 10:35:48.336 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.351 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:35:48.351 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:48.351 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:48.351 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:48.356 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.150152ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:48.360 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:48.360 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/04 10:35:48.361 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=8.486176ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.372 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.385 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/04 10:35:48.385 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/04 10:35:48.397 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:48.397 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/04 10:35:48.402 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.414 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=597.724µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:48.417 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:48.417 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/04 10:35:48.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=51] ["take time"=7.203956ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.428 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.437 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/04 10:35:48.437 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/04 10:35:48.451 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:48.451 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2025/04/04 10:35:48.457 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.475 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.713605ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:35:48.478 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:48.478 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/04 10:35:48.480 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=8.25916ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.489 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.501 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/04 10:35:48.518 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:48.518 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/04 10:35:48.524 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.550 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.337522ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:48.554 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:48.554 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/04 10:35:48.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=53] ["take time"=10.424107ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.567 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.584 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/04 10:35:48.584 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/04 10:35:48.598 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:48.598 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/04 10:35:48.604 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.624 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.293364ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:48.627 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:48.627 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/04 10:35:48.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=54] ["take time"=9.393274ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.641 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.654 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/04 10:35:48.654 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/04 10:35:48.669 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:48.669 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/04 10:35:48.675 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.697 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.449055ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:48.700 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:48.700 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/04 10:35:48.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=55] ["take time"=9.889121ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:48.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.714 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:48.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:48.728 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/04 10:35:48.728 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/04 10:35:48.886 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.539588816s] [2025/04/04 10:35:48.889 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:35:48.889 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [] [2025/04/04 10:35:48.889 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:35:48.889 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:35:48.889 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:48.889 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:48.889 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=57.353µs] [2025/04/04 10:35:48.889 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=40.341µs] [2025/04/04 10:35:48.890 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=30.258µs] [2025/04/04 10:35:48.890 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=27.13µs] [2025/04/04 10:35:48.890 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=35.54µs] [2025/04/04 10:35:48.890 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=28.479µs] [2025/04/04 10:35:48.890 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=29.335µs] [2025/04/04 10:35:48.890 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=30.031µs] [2025/04/04 10:35:48.890 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=34.258µs] [2025/04/04 10:35:48.890 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=28.755µs] [2025/04/04 10:35:48.890 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:35:48.890 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:35:48.892 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:35:48.892 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:35:48.901 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] ["take time"=12.189328ms] [2025/04/04 10:35:48.901 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:35:48.902 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1636] [2025/04/04 10:35:48.902 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:35:48.902 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:35:48.902 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:35:48.902 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:35:48.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:48.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:48.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:48.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:48.902 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:35:48.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:48.902 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=8f4a1c43-6c6c-4a2b-9fc4-7836088f6843] [] [2025/04/04 10:35:48.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:48.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:48.902 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=8f4a1c43-6c6c-4a2b-9fc4-7836088f6843] [2025/04/04 10:35:48.903 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=8f4a1c43-6c6c-4a2b-9fc4-7836088f6843] [2025/04/04 10:35:48.903 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=8f4a1c43-6c6c-4a2b-9fc4-7836088f6843] [2025/04/04 10:35:48.904 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=8f4a1c43-6c6c-4a2b-9fc4-7836088f6843] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:48.904 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:35:48.904 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:35:48.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:48.904 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:35:48.904 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:35:48.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:48.904 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:48.909 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=20.370711ms] [2025/04/04 10:35:48.909 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404350773949057] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:35:48.920 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:35:48.963 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=826] ["lease id"=3eaa96005d3a9971] [2025/04/04 10:35:48.965 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:35:49.085 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=117.018439ms] [2025/04/04 10:35:49.085 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:49.095 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [runWorker=true] [jobVersion=v2] [2025/04/04 10:35:49.095 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:35:49.097 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [lease=3eaa96005d3a98fe] [2025/04/04 10:35:49.097 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:35:49.097 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 211119996928/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:35:49.097 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:49.097 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:49.097 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:49.097 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:49.097 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:49.097 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:49.097 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:49.097 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:49.097 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:35:49.097 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:49.097 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:49.097 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:49.098 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=d4cc1697-3f88-4f04-b032-173a8e24be1a] [2025/04/04 10:35:49.099 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d3a98fe] [ownerID=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [op=none] [2025/04/04 10:35:49.099 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:35:49.100 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [ownerKey=/tidb/ddl/fg/owner/3eaa96005d3a98fe] [currRev=275] [2025/04/04 10:35:49.100 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:49.100 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=d4cc1697-3f88-4f04-b032-173a8e24be1a] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:49.101 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/223196005d3aa06c] [ownerID=d4cc1697-3f88-4f04-b032-173a8e24be1a] [op=none] [2025/04/04 10:35:49.101 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:35:49.101 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=d4cc1697-3f88-4f04-b032-173a8e24be1a] [2025/04/04 10:35:49.101 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=d4cc1697-3f88-4f04-b032-173a8e24be1a] [ownerKey=/tidb/br-stream/owner/223196005d3aa06c] [currRev=276] [2025/04/04 10:35:49.101 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96005d3a98fe] [ownerID=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [op=none] [2025/04/04 10:35:49.102 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [op=none] [2025/04/04 10:35:49.102 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:35:49.108 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:35:49.109 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:49.110 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:35:49.112 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/3eaa96005d3a997a] [ownerID=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [op=none] [2025/04/04 10:35:49.112 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:35:49.112 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [ownerKey=/tidb/bindinfo/owner/3eaa96005d3a997a] [currRev=277] [2025/04/04 10:35:49.117 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/04 10:35:49.121 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:35:49.121 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:49.128 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:49.136 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:49.136 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:49.136 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:35:49.136 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:49.136 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:35:49.136 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:49.136 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:35:49.136 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:35:49.136 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:35:49.137 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:49.137 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:35:49.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:49.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:49.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:49.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:49.138 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:35:49.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:49.138 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:35:49.139 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:49.139 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:49.139 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:49.139 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/04 10:35:49.139 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:49.139 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:49.139 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:49.139 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:49.140 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/223196005d3aa071] [ownerID=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [op=none] [2025/04/04 10:35:49.140 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:35:49.141 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [ownerKey=/tidb/stats/owner/223196005d3aa071] [currRev=278] [2025/04/04 10:35:49.141 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=72] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/04 10:35:49.143 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/b27184d4-0f8e-408e-857f-6daa02a208a9] [2025/04/04 10:35:49.144 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [ttl-worker=task-manager] [ttl-worker=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [originalCount=0] [newCount=4] [2025/04/04 10:35:49.144 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [ttl-worker=task-manager] [ttl-worker=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [originalCount=0] [newCount=4] [2025/04/04 10:35:49.144 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:35:49.146 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:35:49.152 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:49.152 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:35:49.153 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743762949153343364 [2025/04/04 10:35:49.154 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:35:49.162 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=24.333201ms] [2025/04/04 10:35:49.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:49.162 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:35:49.166 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743762949168157594 === RUN TestImportInto/TestAddIndexBySQL import_into_test.go:1039: enable after we support add-index option --- SKIP: TestImportInto/TestAddIndexBySQL (0.00s) === NAME TestImportInto === RUN TestImportInto/TestAnalyze import_into_test.go:1191: skip for ci now --- SKIP: TestImportInto/TestAnalyze (0.00s) === NAME TestImportInto === RUN TestImportInto/TestBadCases [2025/04/04 10:35:49.174 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=] [sql="DROP DATABASE IF EXISTS bad_cases;"] [user=] [2025/04/04 10:35:49.186 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:49.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:49.186 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:49.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE bad_cases;"] [2025/04/04 10:35:49.191 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:49.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:49.205 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=697.354µs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:49.209 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/04 10:35:49.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=56] ["take time"=7.59672ms] [job="ID:113, Type:create schema, State:done, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:49.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:49.221 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:synced, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:49.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:49.235 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/04 10:35:49.235 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=] [sql="CREATE DATABASE bad_cases;"] [user=] [2025/04/04 10:35:49.248 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:49.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:49.248 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:49.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE bad_cases.t (a INT, b INT, c INT);"] [2025/04/04 10:35:49.254 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:49.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:49.258 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 114, Table Name: t)"] [2025/04/04 10:35:49.276 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=2.087411ms] [gotSchemaVersion=57] [phyTblIDs="[114]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:49.283 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=57] [2025/04/04 10:35:49.285 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=12.844032ms] [job="ID:115, Type:create table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:49.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:49.297 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:49.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:49.308 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/04 10:35:49.308 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=57] [cur_db=] [sql="CREATE TABLE bad_cases.t (a INT, b INT, c INT);"] [user=] [2025/04/04 10:35:49.368 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:49.418 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/bad-cases-1.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:35:49.447 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=1] [task-id=1] [data-size=18B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:35:50.111 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:35:50.111 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:50.111 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:50.111 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:50.144 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:35:50.144 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:35:50.144 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/b27184d4-0f8e-408e-857f-6daa02a208a9] [watcherID=d2a254bd-d3de-4211-a2ab-cbd0bd8b5a29] [2025/04/04 10:35:50.153 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:35:50.157 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=16] [new=72] [2025/04/04 10:35:50.157 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:35:50.157 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:35:50.157 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:35:50.157 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:35:50.173 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/04 10:35:50.173 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:35:50.276 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:50.277 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:50.278 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [2025/04/04 10:35:50.286 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:50.289 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:50.289 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/04 10:35:50.289 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=96.209µs] [2025/04/04 10:35:50.289 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=217.587µs] [] [2025/04/04 10:35:50.290 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:35:50.290 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=36] [subtasks=1] [2025/04/04 10:35:50.337 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:35:50.358 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/04 10:35:50.358 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:50.359 +00:00] [INFO] [table_import.go:119] ["import dir not exists, create it"] [table=t] [import_dir=/tmp/tidb/import-4000] [2025/04/04 10:35:50.368 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:50.368 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:35:50.368 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:50.368 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:50.369 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:50.369 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:50.369 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:50.369 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:50.369 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:50.369 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:50.383 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=1] [mode=Import] [2025/04/04 10:35:50.385 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:50.387 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:50.387 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:35:50.387 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=1] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:50.387 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [2025/04/04 10:35:50.387 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=1] [disk-quota=347.8GiB] [2025/04/04 10:35:50.397 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [2025/04/04 10:35:50.397 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [2025/04/04 10:35:50.402 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`bad_cases`.`t`:0] [engineUUID=ac11689c-038f-539b-891e-1e76c346ec7c] [2025/04/04 10:35:50.405 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=1] [2025/04/04 10:35:50.405 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`bad_cases`.`t`:-1] [engineUUID=ad4147a5-8a19-558e-a731-72a1c176fe8f] [2025/04/04 10:35:50.406 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/04 10:35:50.406 +00:00] [ERROR] [misc.go:116] ["panic in the recoverable goroutine"] [label=encodeAndSortOperator] [funcInfo=RecoverArgs] [r="failpoint panic: mock panic"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:120\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:791\ngithub.com/pingcap/failpoint.actPanic\n\texternal/com_github_pingcap_failpoint/terms.go:344\ngithub.com/pingcap/failpoint.(*term).do\n\texternal/com_github_pingcap_failpoint/terms.go:311\ngithub.com/pingcap/failpoint.(*terms).eval\n\texternal/com_github_pingcap_failpoint/terms.go:116\ngithub.com/pingcap/failpoint.(*Failpoint).Eval\n\texternal/com_github_pingcap_failpoint/failpoint.go:129\ngithub.com/pingcap/failpoint.(*Failpoints).Eval\n\texternal/com_github_pingcap_failpoint/failpoints.go:231\ngithub.com/pingcap/failpoint.Eval\n\texternal/com_github_pingcap_failpoint/failpoints.go:311\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:57\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:116\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:791\ngithub.com/pingcap/failpoint.actPanic\n\texternal/com_github_pingcap_failpoint/terms.go:344\ngithub.com/pingcap/failpoint.(*term).do\n\texternal/com_github_pingcap_failpoint/terms.go:311\ngithub.com/pingcap/failpoint.(*terms).eval\n\texternal/com_github_pingcap_failpoint/terms.go:116\ngithub.com/pingcap/failpoint.(*Failpoint).Eval\n\texternal/com_github_pingcap_failpoint/failpoint.go:129\ngithub.com/pingcap/failpoint.(*Failpoints).Eval\n\texternal/com_github_pingcap_failpoint/failpoints.go:231\ngithub.com/pingcap/failpoint.Eval\n\texternal/com_github_pingcap_failpoint/failpoints.go:311\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:57\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/04 10:35:50.406 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [takeTime=8.807433ms] [error="panic occurred during import, please check log"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:203\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:35:50.407 +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.087796ms] [error="panic occurred during import, please check log"] [errorVerbose="panic occurred during import, please check log\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:203\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:50.407 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [error="panic occurred during import, please check log"] [errorVerbose="panic occurred during import, please check log\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:203\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:50.415 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [error="panic occurred during import, please check log"] [errorVerbose="panic occurred during import, please check log\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:203\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:35:50.486 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]panic occurred during import, please check log\\\"}\"]"] [2025/04/04 10:35:50.504 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/04 10:35:50.507 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:50.507 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:50.507 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:50.507 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:50.507 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:50.507 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:50.508 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:50.507 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:50.508 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:50.508 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:50.507 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:50.508 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:50.510 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:50.510 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:50.510 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:50.510 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:50.510 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [takeTime=122.888593ms] [] [2025/04/04 10:35:50.510 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/04 10:35:50.582 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=1] [step=import] [state=reverting] [error="[0]panic occurred during import, please check log"] [2025/04/04 10:35:50.583 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=1] [step=import] [mode=Normal] [2025/04/04 10:35:50.600 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=1] [2025/04/04 10:35:50.665 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=1] [error="[0]panic occurred during import, please check log"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBadCases\n\ttests/realtikvtest/importintotest/import_into_test.go:1255\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 10:35:50.665 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.3568048369999999\n# Parse_time: 0.000132441\n# Compile_time: 0.000430085\n# Rewrite_time: 0.000073461\n# Optimize_time: 0.000083584\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('RvBFMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjEuMzZzLCBvcGVuOjg4NG5zLCBjbG9zZTo3NzBucywgbG9vcHM6MQlOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('X/BMClsKDEltcG9ydEludG9fMjgBQAFSA04vQVosdGltZToxLjM2cywgb3Blbjo4ODRucywgY2xvc2U6NzcwbnMsIGxvb3BzOjFw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `bad_cases`.`t` FROM 'gs://test-load/bad-cases-1.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestBadCases (1.49s) === NAME TestImportInto === RUN TestImportInto/TestBasicImportInto [2025/04/04 10:35:50.667 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=57] [cur_db=] [sql="drop database if exists import_into"] [user=] [2025/04/04 10:35:50.676 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/04 10:35:50.681 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:create schema, State:queueing, SchemaState:none, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:50.682 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:117, Type:create schema, State:queueing, SchemaState:none, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database import_into"] [2025/04/04 10:35:50.682 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:50.682 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/04 10:35:50.688 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:create schema, State:queueing, SchemaState:none, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.703 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=644.625µs] [gotSchemaVersion=58] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:50.707 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=58] [2025/04/04 10:35:50.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=58] ["take time"=8.841518ms] [job="ID:117, Type:create schema, State:done, SchemaState:public, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.718 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:50.721 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:create schema, State:synced, SchemaState:public, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.732 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/04 10:35:50.733 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=] [sql="create database import_into"] [user=] [2025/04/04 10:35:50.735 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=import_into] [sql="drop table if exists t"] [user=] [2025/04/04 10:35:50.750 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:50.750 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:35:50.756 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.761 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 118, Table Name: t)"] [2025/04/04 10:35:50.779 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=1.875992ms] [gotSchemaVersion=59] [phyTblIDs="[118]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:50.783 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=59] [2025/04/04 10:35:50.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=59] ["take time"=9.703855ms] [job="ID:119, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.798 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.812 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/04 10:35:50.812 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=59] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/04 10:35:50.814 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="COLUMN reference is not supported in IMPORT INTO column assignment, index 0"] [errorVerbose="COLUMN reference is not supported in IMPORT INTO column assignment, index 0\ngithub.com/pingcap/tidb/pkg/planner/core.(*importIntoCollAssignmentChecker).Leave\n\tpkg/planner/core/planbuilder.go:4502\ngithub.com/pingcap/tidb/pkg/parser/ast.(*ColumnNameExpr).Accept\n\tpkg/parser/ast/expressions.go:616\ngithub.com/pingcap/tidb/pkg/parser/ast.(*BinaryOperationExpr).Accept\n\tpkg/parser/ast/expressions.go:219\ngithub.com/pingcap/tidb/pkg/planner/core.checkImportIntoColAssignments\n\tpkg/planner/core/planbuilder.go:4485\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4584\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBasicImportInto\n\ttests/realtikvtest/importintotest/import_into_test.go:154\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="IMPORT INTO t(a, @, c) SET b=a+1 FROM 'gs://test-multi-load/db.tbl.001.csv?endpoint=http://127.0.0.1:4443/storage/v1/'\n\t\twith thread=1"] [2025/04/04 10:35:50.834 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/04 10:35:50.834 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:50.840 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.860 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=2.634819ms] [gotSchemaVersion=60] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:50.864 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=60] [2025/04/04 10:35:50.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=60] ["take time"=11.105368ms] [job="ID:120, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.877 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.894 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=2.343868ms] [gotSchemaVersion=61] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:50.898 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=61] [2025/04/04 10:35:50.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=61] ["take time"=9.870745ms] [job="ID:120, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.909 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.918 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 118, Old Table Name: t)"] [2025/04/04 10:35:50.933 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.30907ms] [gotSchemaVersion=62] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:50.938 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=62] [2025/04/04 10:35:50.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=62] ["take time"=10.384017ms] [job="ID:120, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.951 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=120] [tableIDs="[118]"] [comment="drop table: table ID"] [2025/04/04 10:35:50.961 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=120] [jobType="drop table"] [2025/04/04 10:35:50.962 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:50.983 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=120] [2025/04/04 10:35:50.984 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=62] [cur_db=import_into] [sql="drop table if exists t"] [user=] [2025/04/04 10:35:50.997 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:50.997 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:35:51.004 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=2] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.009 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 121, Table Name: t)"] [2025/04/04 10:35:51.025 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=1.754108ms] [gotSchemaVersion=63] [phyTblIDs="[121]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:51.029 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=63] [2025/04/04 10:35:51.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=63] ["take time"=8.788062ms] [job="ID:122, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:50.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.042 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=122] [conn=2] [job="ID:122, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:50.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.055 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=122] [2025/04/04 10:35:51.055 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=63] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/04 10:35:51.056 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="column assignment cannot use variables set outside IMPORT INTO statement, index 0"] [errorVerbose="column assignment cannot use variables set outside IMPORT INTO statement, index 0\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4601\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBasicImportInto\n\ttests/realtikvtest/importintotest/import_into_test.go:167\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="IMPORT INTO t(a, @, c) SET b=@v FROM 'gs://test-multi-load/db.tbl.001.csv?endpoint=http://127.0.0.1:4443/storage/v1/'\n\t\twith thread=1"] [2025/04/04 10:35:51.057 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="column assignment cannot use variables set outside IMPORT INTO statement, index 0"] [errorVerbose="column assignment cannot use variables set outside IMPORT INTO statement, index 0\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4601\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBasicImportInto\n\ttests/realtikvtest/importintotest/import_into_test.go:171\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="IMPORT INTO t(a, @, c) SET b=getvar('v') FROM 'gs://test-multi-load/db.tbl.001.csv?endpoint=http://127.0.0.1:4443/storage/v1/'\n\t\twith thread=1"] [2025/04/04 10:35:51.069 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:51.069 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:123, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/04 10:35:51.075 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.093 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=2.377665ms] [gotSchemaVersion=64] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:51.097 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:35:51.097 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=64] [2025/04/04 10:35:51.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=64] ["take time"=11.007217ms] [job="ID:123, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.112 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.132 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=3.082027ms] [gotSchemaVersion=65] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:51.136 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=65] [2025/04/04 10:35:51.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=65] ["take time"=12.275665ms] [job="ID:123, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.148 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.155 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 121, Old Table Name: t)"] [2025/04/04 10:35:51.171 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.056291ms] [gotSchemaVersion=66] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:51.175 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=66] [2025/04/04 10:35:51.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=66] ["take time"=8.764993ms] [job="ID:123, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.188 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=123] [tableIDs="[121]"] [comment="drop table: table ID"] [2025/04/04 10:35:51.193 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="drop table"] [2025/04/04 10:35:51.194 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.214 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=123] [2025/04/04 10:35:51.215 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=import_into] [sql="drop table if exists t"] [user=] [2025/04/04 10:35:51.229 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:125, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:35:51.229 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:125, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:51.235 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=125] [conn=2] [job="ID:125, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.241 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 124, Table Name: t)"] [2025/04/04 10:35:51.257 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=1.744463ms] [gotSchemaVersion=67] [phyTblIDs="[124]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:51.261 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=67] [2025/04/04 10:35:51.262 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=9.059191ms] [job="ID:125, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.274 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=125] [conn=2] [job="ID:125, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.286 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=125] [2025/04/04 10:35:51.287 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=67] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/04 10:35:51.287 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="subquery is not supported in IMPORT INTO column assignment, index 0"] [errorVerbose="subquery is not supported in IMPORT INTO column assignment, index 0\ngithub.com/pingcap/tidb/pkg/planner/core.(*importIntoCollAssignmentChecker).Leave\n\tpkg/planner/core/planbuilder.go:4505\ngithub.com/pingcap/tidb/pkg/parser/ast.(*SubqueryExpr).Accept\n\tpkg/parser/ast/expressions.go:409\ngithub.com/pingcap/tidb/pkg/planner/core.checkImportIntoColAssignments\n\tpkg/planner/core/planbuilder.go:4485\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4584\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBasicImportInto\n\ttests/realtikvtest/importintotest/import_into_test.go:178\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="IMPORT INTO t(a, @, c) SET b=(SELECT 'subquery') FROM 'gs://test-multi-load/db.tbl.001.csv?endpoint=http://127.0.0.1:4443/storage/v1/'\n\t\twith thread=1"] [2025/04/04 10:35:51.300 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:126, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:35:51.300 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:126, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:51.306 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.324 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=2.561546ms] [gotSchemaVersion=68] [phyTblIDs="[124]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:51.328 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=68] [2025/04/04 10:35:51.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=68] ["take time"=11.207385ms] [job="ID:126, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.341 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.359 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=2.59365ms] [gotSchemaVersion=69] [phyTblIDs="[124]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:51.363 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=69] [2025/04/04 10:35:51.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=69] ["take time"=11.996992ms] [job="ID:126, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.375 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.382 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 124, Old Table Name: t)"] [2025/04/04 10:35:51.398 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=1.179248ms] [gotSchemaVersion=70] [phyTblIDs="[124]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:51.401 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=70] [2025/04/04 10:35:51.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=70] ["take time"=8.64874ms] [job="ID:126, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.415 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=126] [tableIDs="[124]"] [comment="drop table: table ID"] [2025/04/04 10:35:51.419 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=126] [jobType="drop table"] [2025/04/04 10:35:51.420 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.438 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=126] [2025/04/04 10:35:51.438 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=70] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 10:35:51.452 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:51.452 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:35:51.458 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.463 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 127, Table Name: t)"] [2025/04/04 10:35:51.481 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=70] [neededSchemaVersion=71] ["elapsed time"=2.197053ms] [gotSchemaVersion=71] [phyTblIDs="[127]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:51.484 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=71] [2025/04/04 10:35:51.486 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=71] ["take time"=10.088212ms] [job="ID:128, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:51.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.498 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:51.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:51.510 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/04 10:35:51.510 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=71] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/04 10:35:51.516 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:51.568 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:35:51.588 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=2] [task-id=2] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:35:51.602 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=2] [2025/04/04 10:35:51.602 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:35:51.705 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:51.706 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:51.707 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [2025/04/04 10:35:51.715 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:51.718 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:51.718 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:35:51.718 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=68.985µs] [2025/04/04 10:35:51.719 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=192.085µs] [] [2025/04/04 10:35:51.719 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:35:51.719 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:35:51.757 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:35:51.777 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/04 10:35:51.778 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:51.786 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:51.786 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:35:51.786 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:51.786 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:51.787 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:51.787 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:51.787 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:51.787 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:51.787 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:51.787 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:51.801 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:51.803 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:51.803 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:35:51.803 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=2] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:51.803 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=2] [disk-quota=347.8GiB] [2025/04/04 10:35:51.803 +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=455.1MiB]"] [2025/04/04 10:35:51.812 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=import] [2025/04/04 10:35:51.812 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=2] [mode=Import] [2025/04/04 10:35:51.812 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=2] [2025/04/04 10:35:51.816 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:35:51.819 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:51.820 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:35:51.833 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=2] [2025/04/04 10:35:51.838 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=db.tbl.001.csv:0] [2025/04/04 10:35:51.839 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=db.tbl.001.csv:0] [readDur=871.912µs] [encodeDur=111.069µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=269.262µs] [type=file] [takeTime=1.677706ms] [] [2025/04/04 10:35:51.840 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:35:51.840 +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/b652af17-5f30-4b78-9fd7-f8903150fa4f.sst] [firstKey=74800000000000007F5F728000000000000001] [lastKey=74800000000000007F5F728000000000000002] [2025/04/04 10:35:51.852 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=db.tbl.002.csv:0] [2025/04/04 10:35:51.853 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=db.tbl.002.csv:0] [readDur=939.999µs] [encodeDur=181.869µs] [checksum="{cksum=12305018038957930638,size=82,kvs=2}"] [deliverDur=182.995µs] [type=file] [takeTime=1.495016ms] [] [2025/04/04 10:35:51.854 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:35:51.854 +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/cef31a6c-0fc0-4c3e-93b6-269b1226311e.sst] [firstKey=74800000000000007F5F728000000000000008] [lastKey=74800000000000007F5F728000000000000009] [2025/04/04 10:35:51.870 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=db.tbl.003.csv:0] [2025/04/04 10:35:51.872 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=db.tbl.003.csv:0] [readDur=830.61µs] [encodeDur=190.263µs] [checksum="{cksum=14730688775140726438,size=82,kvs=2}"] [deliverDur=206.003µs] [type=file] [takeTime=1.405361ms] [] [2025/04/04 10:35:51.872 +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/c8f6c567-15ed-4013-a563-7a6565e2a884.sst] [firstKey=74800000000000007F5F72800000000000000F] [lastKey=74800000000000007F5F728000000000000010] [2025/04/04 10:35:51.872 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 10:35:51.873 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 10:35:51.873 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:35:51.875 +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.296221ms] [] [2025/04/04 10:35:51.875 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 10:35:51.880 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:51.902 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/04 10:35:51.902 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:51.904 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007f5f728000000000000001] [endOfAllRanges=74800000000000007f5f728000000000000011] [startKeyOfFirstRegion=7480000000000000ff7f5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff7f5f728000000000ff0000110000000000fa] [2025/04/04 10:35:51.917 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/04 10:35:51.920 +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.537822ms] [] [2025/04/04 10:35:51.920 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:35:51.921 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.138936ms] [] [2025/04/04 10:35:51.921 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 10:35:51.921 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:51.922 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.411083ms] [] [2025/04/04 10:35:51.922 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 10:35:51.926 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:51.927 +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.057171ms] [] [2025/04/04 10:35:51.927 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:51.928 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=936.707µs] [] [2025/04/04 10:35:51.928 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=2] [takeTime=115.96032ms] [] [2025/04/04 10:35:51.928 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=import] [takeTime=116.130081ms] [] [2025/04/04 10:35:52.010 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:52.011 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:52.012 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:52.012 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:52.046 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 10:35:52.048 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:52.048 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:35:52.071 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:35:52.078 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/04 10:35:52.081 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:52.081 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:52.081 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:52.081 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:52.081 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:52.081 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:52.081 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:52.081 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:52.081 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:52.081 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:52.081 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:52.081 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:52.084 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:52.084 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:52.084 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:52.084 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:52.084 +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=455.1MiB]"] [takeTime=280.229815ms] [] [2025/04/04 10:35:52.085 +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=455.1MiB]"] [2025/04/04 10:35:52.093 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=post-process] [2025/04/04 10:35:52.093 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [2025/04/04 10:35:52.093 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [2025/04/04 10:35:52.093 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [2025/04/04 10:35:52.099 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [takeTime=6.211048ms] [] [2025/04/04 10:35:52.099 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [groupId=-1] [size=246] [kvs=6] [checksum=8184885398518078658] [2025/04/04 10:35:52.099 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [checksum="{cksum=8184885398518078658,size=246,kvs=6}"] [2025/04/04 10:35:52.099 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [weight=30] [2025/04/04 10:35:52.099 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [concurrency=15] [2025/04/04 10:35:52.102 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=127] [physicalTableID=127] [indexID=-1] [checksum=8184885398518078658] [totalKvs=6] [totalBytes=246] [2025/04/04 10:35:52.102 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:52.102 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [local="{cksum=8184885398518078658,size=246,kvs=6}"] [2025/04/04 10:35:52.102 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [takeTime=9.293883ms] [] [2025/04/04 10:35:52.102 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [takeTime=9.429048ms] [] [2025/04/04 10:35:52.102 +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=9.591393ms] [] [2025/04/04 10:35:52.103 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:52.141 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/04 10:35:52.142 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/04 10:35:52.209 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:52.209 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=2] [step=post-process] [state=running] [] [2025/04/04 10:35:52.212 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=2] [2025/04/04 10:35:52.240 +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=455.1MiB]"] [takeTime=154.775108ms] [] [2025/04/04 10:35:52.240 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/04 10:35:52.305 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=2] [2025/04/04 10:35:52.311 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:52.311 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=2] [2025/04/04 10:35:52.333 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:52.504 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.993497599\n# Parse_time: 0.000079987\n# Compile_time: 0.000506461\n# Rewrite_time: 0.000107814\n# Optimize_time: 0.000083584\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Mi42bXMsIG9wZW46NjU1bnMsIGNsb3NlOjY0MG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Mi42bXMsIG9wZW46NjU1bnMsIGNsb3NlOjY0MG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse import_into;\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 10:35:52.518 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:129, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:52.518 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:129, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:35:52.523 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:52.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.541 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=71] [neededSchemaVersion=72] ["elapsed time"=2.294167ms] [gotSchemaVersion=72] [phyTblIDs="[127]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:52.544 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=72] [2025/04/04 10:35:52.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=72] ["take time"=9.76854ms] [job="ID:129, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.557 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:52.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.574 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=72] [neededSchemaVersion=73] ["elapsed time"=2.537253ms] [gotSchemaVersion=73] [phyTblIDs="[127]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:52.578 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=73] [2025/04/04 10:35:52.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=73] ["take time"=10.135994ms] [job="ID:129, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.589 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:52.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.596 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 127, Old Table Name: t)"] [2025/04/04 10:35:52.610 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=73] [neededSchemaVersion=74] ["elapsed time"=1.192192ms] [gotSchemaVersion=74] [phyTblIDs="[127]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:52.614 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=74] [2025/04/04 10:35:52.616 +00:00] [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.999971ms] [job="ID:129, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.627 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=129] [tableIDs="[127]"] [comment="drop table: table ID"] [2025/04/04 10:35:52.631 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=129] [jobType="drop table"] [2025/04/04 10:35:52.632 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.650 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=129] [2025/04/04 10:35:52.650 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=74] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 10:35:52.663 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:131, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/04 10:35:52.663 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:131, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:52.669 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:52.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.674 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 130, Table Name: t)"] [2025/04/04 10:35:52.690 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=74] [neededSchemaVersion=75] ["elapsed time"=1.772025ms] [gotSchemaVersion=75] [phyTblIDs="[130]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:52.694 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=75] [2025/04/04 10:35:52.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=75] ["take time"=8.687148ms] [job="ID:131, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:52.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.708 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:52.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:52.720 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=131] [2025/04/04 10:35:52.720 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=75] [cur_db=import_into] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=] [2025/04/04 10:35:52.726 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:52.776 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:35:52.796 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=3] [task-id=3] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:35:52.813 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=3] [2025/04/04 10:35:52.813 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:35:52.915 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:52.917 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:52.918 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [2025/04/04 10:35:52.926 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:52.929 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:52.929 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:35:52.929 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=100.421µs] [2025/04/04 10:35:52.929 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=245.337µs] [] [2025/04/04 10:35:52.929 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:35:52.929 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:35:52.966 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:35:52.988 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/04 10:35:52.988 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:52.997 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:52.997 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:35:52.997 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:52.997 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:52.997 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:52.997 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:52.997 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:52.998 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:52.998 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:52.998 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:53.011 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:53.014 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:53.014 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:35:53.014 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=3] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:53.014 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=3] [disk-quota=347.8GiB] [2025/04/04 10:35:53.014 +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=455.1MiB]"] [2025/04/04 10:35:53.022 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=import] [2025/04/04 10:35:53.022 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=4] [2025/04/04 10:35:53.025 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=3] [mode=Import] [2025/04/04 10:35:53.026 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:35:53.029 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:53.029 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=130] [2025/04/04 10:35:53.047 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=3] [2025/04/04 10:35:53.070 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=130] [key=db.tbl.001.csv:0] [2025/04/04 10:35:53.071 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=130] [key=db.tbl.001.csv:0] [readDur=963.623µs] [encodeDur=185.129µs] [checksum="{cksum=7519321974396982192,size=74,kvs=2}"] [deliverDur=91.171µs] [type=file] [takeTime=1.482222ms] [] [2025/04/04 10:35:53.072 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=130] [2025/04/04 10:35:53.072 +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/6e5b80ea-c1ac-40d0-9374-89bc367febb1.sst] [firstKey=7480000000000000825F728000000000000001] [lastKey=7480000000000000825F728000000000000002] [2025/04/04 10:35:53.075 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=130] [key=db.tbl.002.csv:0] [2025/04/04 10:35:53.076 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=130] [key=db.tbl.002.csv:0] [readDur=783.64µs] [encodeDur=579.619µs] [checksum="{cksum=8353780349895382269,size=74,kvs=2}"] [deliverDur=27.837µs] [type=file] [takeTime=1.581715ms] [] [2025/04/04 10:35:53.077 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=130] [2025/04/04 10:35:53.077 +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/975364b3-82f7-4d08-b7c5-a97d672224bc.sst] [firstKey=7480000000000000825F728000000000000003] [lastKey=7480000000000000825F728000000000000004] [2025/04/04 10:35:53.079 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=130] [key=db.tbl.003.csv:0] [2025/04/04 10:35:53.081 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=130] [key=db.tbl.003.csv:0] [readDur=929.917µs] [encodeDur=224.135µs] [checksum="{cksum=34078042553017573,size=74,kvs=2}"] [deliverDur=31.098µs] [type=file] [takeTime=1.36738ms] [] [2025/04/04 10:35:53.081 +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/ca8fa099-31d7-42e9-9bbf-d8e1c115a660.sst] [firstKey=7480000000000000825F728000000000000005] [lastKey=7480000000000000825F728000000000000006] [2025/04/04 10:35:53.081 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 10:35:53.082 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 10:35:53.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 10:35:53.083 +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.798987ms] [] [2025/04/04 10:35:53.083 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 10:35:53.088 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:53.110 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=222] [2025/04/04 10:35:53.111 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:53.113 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000825f728000000000000001] [endOfAllRanges=7480000000000000825f728000000000000007] [startKeyOfFirstRegion=7480000000000000ff825f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff825f728000000000ff0000070000000000fa] [2025/04/04 10:35:53.125 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=222] [kvs=6] [importedSize=222] [importedCount=6] [2025/04/04 10:35:53.127 +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.28537ms] [] [2025/04/04 10:35:53.127 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:35:53.128 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.219005ms] [] [2025/04/04 10:35:53.128 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 10:35:53.128 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:53.130 +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.533982ms] [] [2025/04/04 10:35:53.130 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 10:35:53.133 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:53.134 +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.658161ms] [] [2025/04/04 10:35:53.134 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:53.135 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.041072ms] [] [2025/04/04 10:35:53.135 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=4] [takeTime=112.834874ms] [] [2025/04/04 10:35:53.135 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=import] [takeTime=112.99337ms] [] [2025/04/04 10:35:53.221 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:53.222 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:53.224 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:53.224 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:53.255 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 10:35:53.257 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:53.257 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:35:53.279 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:35:53.287 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/04 10:35:53.290 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:53.290 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:53.290 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:53.290 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:53.290 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:53.290 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:53.290 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:53.290 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:53.290 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:53.290 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:53.290 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:53.290 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:53.293 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:53.293 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:53.293 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:53.293 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:53.293 +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=455.1MiB]"] [takeTime=278.757701ms] [] [2025/04/04 10:35:53.294 +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=455.1MiB]"] [2025/04/04 10:35:53.302 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=post-process] [2025/04/04 10:35:53.303 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [2025/04/04 10:35:53.303 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [2025/04/04 10:35:53.303 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [2025/04/04 10:35:53.303 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [takeTime=2.557µs] [] [2025/04/04 10:35:53.303 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/04 10:35:53.303 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 10:35:53.303 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [weight=30] [2025/04/04 10:35:53.303 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [concurrency=15] [2025/04/04 10:35:53.305 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=130] [physicalTableID=130] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/04 10:35:53.305 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:53.305 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [local="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 10:35:53.306 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [takeTime=2.8482ms] [] [2025/04/04 10:35:53.306 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [takeTime=2.993003ms] [] [2025/04/04 10:35:53.306 +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=3.144822ms] [] [2025/04/04 10:35:53.313 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:53.321 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:53.321 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=3] [step=post-process] [state=running] [] [2025/04/04 10:35:53.324 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=3] [2025/04/04 10:35:53.352 +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=455.1MiB]"] [takeTime=57.547131ms] [] [2025/04/04 10:35:53.352 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/04 10:35:53.414 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.693321387\n# Parse_time: 0.000083966\n# Compile_time: 0.00048544\n# Rewrite_time: 0.000091288\n# Optimize_time: 0.000258751\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5Mi41bXMsIG9wZW46NjU1bnMsIGNsb3NlOjEuMjHCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY5Mi41bXMsIG9wZW46NjU1bnMsIGNsb3NlOjEuMjHCtXMsIGxvb3BzOjJw//////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 10:35:53.415 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2025/04/04 10:35:53.421 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:53.422 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=3] [2025/04/04 10:35:53.430 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:53.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:53.430 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:53.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:35:53.436 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:53.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.443 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:53.454 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=75] [neededSchemaVersion=76] ["elapsed time"=2.364555ms] [gotSchemaVersion=76] [phyTblIDs="[130]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:53.457 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=76] [2025/04/04 10:35:53.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=76] ["take time"=9.637567ms] [job="ID:132, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:53.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.476 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:53.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.495 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=76] [neededSchemaVersion=77] ["elapsed time"=2.474405ms] [gotSchemaVersion=77] [phyTblIDs="[130]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:53.499 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=77] [2025/04/04 10:35:53.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=77] ["take time"=10.432802ms] [job="ID:132, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:53.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.510 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:53.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.517 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 130, Old Table Name: t)"] [2025/04/04 10:35:53.533 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=77] [neededSchemaVersion=78] ["elapsed time"=1.159955ms] [gotSchemaVersion=78] [phyTblIDs="[130]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:53.536 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=78] [2025/04/04 10:35:53.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=78] ["take time"=8.443194ms] [job="ID:132, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:53.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.548 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=132] [tableIDs="[130]"] [comment="drop table: table ID"] [2025/04/04 10:35:53.552 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=132] [jobType="drop table"] [2025/04/04 10:35:53.554 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:53.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.574 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=132] [2025/04/04 10:35:53.575 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=78] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 10:35:53.589 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:53.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:53.589 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:53.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int, key(b, a));"] [2025/04/04 10:35:53.595 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=134] [conn=2] [job="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:53.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.600 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 133, Table Name: t)"] [2025/04/04 10:35:53.617 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=78] [neededSchemaVersion=79] ["elapsed time"=1.923588ms] [gotSchemaVersion=79] [phyTblIDs="[133]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:53.620 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=79] [2025/04/04 10:35:53.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=79] ["take time"=8.942488ms] [job="ID:134, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:53.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.634 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=134] [conn=2] [job="ID:134, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:53.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:53.646 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=134] [2025/04/04 10:35:53.646 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=79] [cur_db=import_into] [sql="create table t (a bigint primary key, b varchar(100), c int, key(b, a));"] [user=] [2025/04/04 10:35:53.653 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:53.766 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:35:53.787 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=4] [task-id=4] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:35:53.801 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=4] [2025/04/04 10:35:53.802 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:35:53.904 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:53.906 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:53.907 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [2025/04/04 10:35:53.915 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:53.919 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:53.919 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:35:53.919 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=88.447µs] [2025/04/04 10:35:53.919 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=197.392µs] [] [2025/04/04 10:35:53.919 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:35:53.919 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:35:53.957 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:35:53.977 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/04 10:35:53.977 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:53.986 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:53.986 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:35:53.987 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:53.987 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:53.987 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:53.987 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:53.987 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:53.988 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:53.988 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:53.988 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:54.003 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:54.005 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:54.005 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:35:54.005 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=4] [step=import] [data-buf-limit=170.7MiB] [per-index-buf-limit=56.89MiB] [index-buf-block-size=56.89MiB] [2025/04/04 10:35:54.005 +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=455.1MiB]"] [2025/04/04 10:35:54.005 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=4] [disk-quota=347.8GiB] [2025/04/04 10:35:54.011 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=4] [mode=Import] [2025/04/04 10:35:54.014 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=import] [2025/04/04 10:35:54.014 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=6] [2025/04/04 10:35:54.019 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:35:54.022 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:54.022 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/04 10:35:54.041 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=4] [2025/04/04 10:35:54.049 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=db.tbl.001.csv:0] [2025/04/04 10:35:54.051 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=db.tbl.001.csv:0] [readDur=1.267851ms] [encodeDur=242.954µs] [checksum="{cksum=14407722893173523601,size=206,kvs=4}"] [deliverDur=48.891µs] [type=file] [takeTime=1.940435ms] [] [2025/04/04 10:35:54.053 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/04 10:35:54.053 +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/15d00c6f-995c-40d7-bb83-d3cac8e40bdb.sst] [firstKey=7480000000000000855F728000000000000001] [lastKey=7480000000000000855F728000000000000002] [2025/04/04 10:35:54.106 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=db.tbl.002.csv:0] [2025/04/04 10:35:54.108 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=db.tbl.002.csv:0] [readDur=1.06933ms] [encodeDur=600.316µs] [checksum="{cksum=15782324127249246501,size=206,kvs=4}"] [deliverDur=47.593µs] [type=file] [takeTime=2.027213ms] [] [2025/04/04 10:35:54.110 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/04 10:35:54.110 +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/443d9b79-ef9c-4873-b693-3fe2378823d4.sst] [firstKey=7480000000000000855F728000000000000003] [lastKey=7480000000000000855F728000000000000004] [2025/04/04 10:35:54.224 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=db.tbl.003.csv:0] [2025/04/04 10:35:54.226 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=db.tbl.003.csv:0] [readDur=1.052557ms] [encodeDur=307.048µs] [checksum="{cksum=12669308623598711748,size=206,kvs=4}"] [deliverDur=35.252µs] [type=file] [takeTime=1.699753ms] [] [2025/04/04 10:35:54.227 +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/856e87b1-c790-41be-b46e-138265b8257d.sst] [firstKey=7480000000000000855F728000000000000005] [lastKey=7480000000000000855F728000000000000006] [2025/04/04 10:35:54.228 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 10:35:54.228 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 10:35:54.228 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:35:54.230 +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.069578ms] [] [2025/04/04 10:35:54.230 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 10:35:54.234 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:54.256 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=222] [2025/04/04 10:35:54.256 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:54.258 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000855f728000000000000001] [endOfAllRanges=7480000000000000855f728000000000000007] [startKeyOfFirstRegion=7480000000000000ff855f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff855f728000000000ff0000070000000000fa] [2025/04/04 10:35:54.271 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=222] [kvs=6] [importedSize=222] [importedCount=6] [2025/04/04 10:35:54.273 +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.038563ms] [] [2025/04/04 10:35:54.273 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:35:54.274 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.270276ms] [] [2025/04/04 10:35:54.274 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 10:35:54.274 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:54.276 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=3] [size=396] [count=6] [cost=1.397631ms] [file=/tmp/tidb/import-4000/4/2d9462f7-8d8a-52db-8655-8d0214d0d974.sst/3738237b-709c-46d4-a521-fbc4cba8354e.sst] [2025/04/04 10:35:54.276 +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/3738237b-709c-46d4-a521-fbc4cba8354e.sst] [firstKey=7480000000000000855F698000000000000001017465737431000000FC038000000000000001038000000000000001] [lastKey=7480000000000000855F698000000000000001017465737436000000FC038000000000000006038000000000000006] [2025/04/04 10:35:54.278 +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.934186ms] [] [2025/04/04 10:35:54.278 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 10:35:54.283 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:54.304 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2d9462f7-8d8a-52db-8655-8d0214d0d974] ["region ranges"=1] [count=6] [size=396] [2025/04/04 10:35:54.305 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:54.306 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000855f698000000000000001017465737431000000fc038000000000000001038000000000000001] [endOfAllRanges=7480000000000000855f698000000000000001017465737436000000fc03800000000000000603800000000000000600] [startKeyOfFirstRegion=7480000000000000ff855f698000000000ff0000010174657374ff31000000fc038000ff0000000000010380ff0000000000000100fe] [endKeyOfLastRegion=7480000000000000ff855f698000000000ff0000010174657374ff36000000fc038000ff0000000000060380ff0000000000000600ff0000000000000000f7] [2025/04/04 10:35:54.318 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2d9462f7-8d8a-52db-8655-8d0214d0d974] [size=396] [kvs=6] [importedSize=396] [importedCount=6] [2025/04/04 10:35:54.320 +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.309868ms] [] [2025/04/04 10:35:54.320 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:54.321 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.05622ms] [] [2025/04/04 10:35:54.321 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=6] [takeTime=307.008258ms] [] [2025/04/04 10:35:54.321 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=import] [takeTime=307.160028ms] [] [2025/04/04 10:35:54.410 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:54.411 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:54.413 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:54.413 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:54.443 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 10:35:54.444 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:54.444 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:35:54.471 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:35:54.471 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/04 10:35:54.475 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:54.475 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:54.475 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:54.475 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:54.475 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:54.475 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:54.475 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:54.475 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:54.475 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:54.475 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:54.475 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:54.475 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:54.477 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:54.477 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:54.477 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:54.477 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:54.477 +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=455.1MiB]"] [takeTime=472.167985ms] [] [2025/04/04 10:35:54.477 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/04 10:35:54.486 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:35:54.507 +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=455.1MiB]"] [2025/04/04 10:35:54.514 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=post-process] [2025/04/04 10:35:54.514 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [2025/04/04 10:35:54.514 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [2025/04/04 10:35:54.515 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [2025/04/04 10:35:54.515 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [takeTime=1.754µs] [] [2025/04/04 10:35:54.515 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [groupId=1] [size=396] [kvs=6] [checksum=12171121870781005272] [2025/04/04 10:35:54.515 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/04 10:35:54.515 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [checksum="{cksum=12909280944061374064,size=618,kvs=12}"] [2025/04/04 10:35:54.515 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [weight=30] [2025/04/04 10:35:54.515 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [concurrency=15] [2025/04/04 10:35:54.521 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=133] [physicalTableID=133] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/04 10:35:54.522 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=133] [physicalTableID=133] [indexID=1] [checksum=12171121870781005272] [totalKvs=6] [totalBytes=396] [2025/04/04 10:35:54.522 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:54.522 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [local="{cksum=12909280944061374064,size=618,kvs=12}"] [2025/04/04 10:35:54.522 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [takeTime=7.70746ms] [] [2025/04/04 10:35:54.522 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [takeTime=7.852496ms] [] [2025/04/04 10:35:54.522 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=post-process] [takeTime=7.985018ms] [] [2025/04/04 10:35:54.532 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:54.609 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:54.610 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=4] [step=post-process] [state=running] [] [2025/04/04 10:35:54.613 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=4] [2025/04/04 10:35:54.636 +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=455.1MiB]"] [takeTime=129.633612ms] [] [2025/04/04 10:35:54.636 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/04 10:35:54.704 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2025/04/04 10:35:54.706 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.058975391\n# Parse_time: 0.000092625\n# Compile_time: 0.000482472\n# Rewrite_time: 0.000096871\n# Optimize_time: 0.000286881\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMDZzLCBvcGVuOjYzMm5zLCBjbG9zZTo2NjJucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMDZzLCBvcGVuOjYzMm5zLCBjbG9zZTo2NjJucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 10:35:54.710 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:54.710 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=4] [2025/04/04 10:35:54.723 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:135, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:35:54.723 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:135, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:54.729 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:54.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.733 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:54.746 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=79] [neededSchemaVersion=80] ["elapsed time"=2.667744ms] [gotSchemaVersion=80] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:54.749 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=80] [2025/04/04 10:35:54.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=80] ["take time"=9.709906ms] [job="ID:135, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.762 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:54.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.780 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=80] [neededSchemaVersion=81] ["elapsed time"=2.835724ms] [gotSchemaVersion=81] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:54.784 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=81] [2025/04/04 10:35:54.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=81] ["take time"=10.492656ms] [job="ID:135, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.795 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:54.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.802 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 133, Old Table Name: t)"] [2025/04/04 10:35:54.816 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=81] [neededSchemaVersion=82] ["elapsed time"=1.139419ms] [gotSchemaVersion=82] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:54.820 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=82] [2025/04/04 10:35:54.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=82] ["take time"=8.210913ms] [job="ID:135, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.832 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=135] [tableIDs="[133]"] [comment="drop table: table ID"] [2025/04/04 10:35:54.836 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=135] [jobType="drop table"] [2025/04/04 10:35:54.837 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.855 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=135] [2025/04/04 10:35:54.856 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=82] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 10:35:54.873 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:137, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:54.874 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:137, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_increment primary key, b varchar(100), c int);"] [2025/04/04 10:35:54.884 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=137] [conn=2] [job="ID:137, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:54.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.890 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 136, Table Name: t)"] [2025/04/04 10:35:54.909 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=82] [neededSchemaVersion=83] ["elapsed time"=2.554383ms] [gotSchemaVersion=83] [phyTblIDs="[136]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:54.914 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=137] [version=83] [2025/04/04 10:35:54.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=83] ["take time"=11.382409ms] [job="ID:137, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:54.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.929 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=137] [conn=2] [job="ID:137, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:54.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:54.943 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=137] [2025/04/04 10:35:54.943 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=83] [cur_db=import_into] [sql="create table t (a bigint auto_increment primary key, b varchar(100), c int);"] [user=] [2025/04/04 10:35:54.950 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:55.003 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:35:55.026 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=5] [task-id=5] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:35:55.042 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=5] [2025/04/04 10:35:55.042 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:35:55.145 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:55.146 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:55.147 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [2025/04/04 10:35:55.156 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:55.159 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:55.159 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:35:55.159 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=78.409µs] [2025/04/04 10:35:55.159 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=212.532µs] [] [2025/04/04 10:35:55.159 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:35:55.159 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:35:55.197 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:35:55.219 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/04 10:35:55.219 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:55.229 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:55.229 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:35:55.230 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:55.230 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:55.230 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:55.230 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:55.230 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:55.230 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:55.231 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:55.231 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:55.245 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:55.248 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:55.248 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:35:55.248 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=5] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:55.248 +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=455.1MiB]"] [2025/04/04 10:35:55.248 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=5] [disk-quota=347.8GiB] [2025/04/04 10:35:55.252 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=5] [mode=Import] [2025/04/04 10:35:55.256 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=import] [2025/04/04 10:35:55.256 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=8] [2025/04/04 10:35:55.261 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:35:55.265 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:55.265 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=136] [2025/04/04 10:35:55.273 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=5] [2025/04/04 10:35:55.346 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=136] [key=db.tbl.001.csv:0] [2025/04/04 10:35:55.348 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=136] [key=db.tbl.001.csv:0] [readDur=1.1259ms] [encodeDur=419.084µs] [checksum="{cksum=7519321974396982192,size=74,kvs=2}"] [deliverDur=36.206µs] [type=file] [takeTime=1.963825ms] [] [2025/04/04 10:35:55.349 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=136] [2025/04/04 10:35:55.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/5/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/c30bb466-f4aa-430c-b4aa-cde34b698520.sst] [firstKey=7480000000000000885F728000000000000001] [lastKey=7480000000000000885F728000000000000002] [2025/04/04 10:35:55.434 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=136] [key=db.tbl.002.csv:0] [2025/04/04 10:35:55.435 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=136] [key=db.tbl.002.csv:0] [readDur=877.418µs] [encodeDur=126.817µs] [checksum="{cksum=8353780349895382269,size=74,kvs=2}"] [deliverDur=31.705µs] [type=file] [takeTime=1.235645ms] [] [2025/04/04 10:35:55.436 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=136] [2025/04/04 10:35:55.436 +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/c1c7bbbb-ebcf-4bc1-aac5-b673b1dedc3b.sst] [firstKey=7480000000000000885F728000000000000003] [lastKey=7480000000000000885F728000000000000004] [2025/04/04 10:35:55.547 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=136] [key=db.tbl.003.csv:0] [2025/04/04 10:35:55.549 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=136] [key=db.tbl.003.csv:0] [readDur=1.121541ms] [encodeDur=727.63µs] [checksum="{cksum=34078042553017573,size=74,kvs=2}"] [deliverDur=23.075µs] [type=file] [takeTime=2.17282ms] [] [2025/04/04 10:35:55.550 +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/6b3811b1-b781-480c-8a17-8d59c89721da.sst] [firstKey=7480000000000000885F728000000000000005] [lastKey=7480000000000000885F728000000000000006] [2025/04/04 10:35:55.550 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 10:35:55.550 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 10:35:55.550 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:35:55.553 +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.308764ms] [] [2025/04/04 10:35:55.553 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 10:35:55.558 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:55.580 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=222] [2025/04/04 10:35:55.580 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:55.582 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000885f728000000000000001] [endOfAllRanges=7480000000000000885f728000000000000007] [startKeyOfFirstRegion=7480000000000000ff885f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff885f728000000000ff0000070000000000fa] [2025/04/04 10:35:55.594 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=222] [kvs=6] [importedSize=222] [importedCount=6] [2025/04/04 10:35:55.596 +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.16401ms] [] [2025/04/04 10:35:55.596 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:35:55.597 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.342811ms] [] [2025/04/04 10:35:55.598 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 10:35:55.598 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:55.599 +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.595ms] [] [2025/04/04 10:35:55.599 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 10:35:55.603 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:55.603 +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.587505ms] [] [2025/04/04 10:35:55.603 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:55.604 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=921.859µs] [] [2025/04/04 10:35:55.604 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=8] [takeTime=347.909142ms] [] [2025/04/04 10:35:55.604 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=import] [takeTime=348.066328ms] [] [2025/04/04 10:35:55.650 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:55.651 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:55.652 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:55.652 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:55.682 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 10:35:55.683 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:55.683 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:35:55.716 +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 10:35:55.723 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/04 10:35:55.726 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:55.726 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:55.726 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:55.726 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:55.726 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:55.726 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:55.726 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:55.726 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:55.726 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:55.727 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:55.727 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:55.726 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:55.729 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:55.729 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:55.729 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:55.729 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:55.729 +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=455.1MiB]"] [takeTime=481.290879ms] [] [2025/04/04 10:35:55.731 +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=455.1MiB]"] [2025/04/04 10:35:55.739 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=post-process] [2025/04/04 10:35:55.739 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [2025/04/04 10:35:55.739 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [2025/04/04 10:35:55.739 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [2025/04/04 10:35:55.746 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [takeTime=6.878152ms] [] [2025/04/04 10:35:55.746 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/04 10:35:55.746 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 10:35:55.746 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [weight=30] [2025/04/04 10:35:55.746 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [concurrency=15] [2025/04/04 10:35:55.748 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=136] [physicalTableID=136] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/04 10:35:55.748 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:55.749 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [local="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 10:35:55.749 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [takeTime=9.62608ms] [] [2025/04/04 10:35:55.749 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [takeTime=9.916ms] [] [2025/04/04 10:35:55.749 +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=10.079347ms] [] [2025/04/04 10:35:55.757 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:55.851 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:55.851 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=5] [step=post-process] [state=running] [] [2025/04/04 10:35:55.853 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=5] [2025/04/04 10:35:55.875 +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=455.1MiB]"] [takeTime=144.555106ms] [] [2025/04/04 10:35:55.875 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/04 10:35:55.944 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2025/04/04 10:35:55.947 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.003631529\n# Parse_time: 0.000098027\n# Compile_time: 0.000573234\n# Rewrite_time: 0.000145593\n# Optimize_time: 0.000373741\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: 58d360ce67e24b4d18a606f88f2f459d57f87ba3f12a22d674a5660c2ce18713\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('Q/BCMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjFzLCBvcGVuOjc0OG5zLCBjbG9zZTo3NTlucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('XvBJCloKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWil0aW1lOjFzLCBvcGVuOjc0OG5zLCBjbG9zZTo3NTlucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 10:35:55.950 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:55.950 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=5] [2025/04/04 10:35:55.964 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:35:55.964 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:55.970 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=2] [job="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:55.974 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:55.988 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=83] [neededSchemaVersion=84] ["elapsed time"=2.491213ms] [gotSchemaVersion=84] [phyTblIDs="[136]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:55.991 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=84] [2025/04/04 10:35:55.993 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=84] ["take time"=10.060862ms] [job="ID:138, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.004 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=2] [job="ID:138, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.022 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=84] [neededSchemaVersion=85] ["elapsed time"=2.715138ms] [gotSchemaVersion=85] [phyTblIDs="[136]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:56.026 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=85] [2025/04/04 10:35:56.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=85] ["take time"=10.91076ms] [job="ID:138, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.039 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=2] [job="ID:138, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:55.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.046 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 136, Old Table Name: t)"] [2025/04/04 10:35:56.061 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=85] [neededSchemaVersion=86] ["elapsed time"=1.073605ms] [gotSchemaVersion=86] [phyTblIDs="[136]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:56.065 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=86] [2025/04/04 10:35:56.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=86] ["take time"=8.935018ms] [job="ID:138, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.077 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=138] [tableIDs="[136]"] [comment="drop table: table ID"] [2025/04/04 10:35:56.081 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=138] [jobType="drop table"] [2025/04/04 10:35:56.082 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=138] [conn=2] [job="ID:138, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:55.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.102 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=138] [2025/04/04 10:35:56.102 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=86] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 10:35:56.118 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:56.118 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_random primary key, b varchar(100), c int);"] [2025/04/04 10:35:56.123 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.129 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 139, Table Name: t)"] [2025/04/04 10:35:56.145 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=86] [neededSchemaVersion=87] ["elapsed time"=2.024176ms] [gotSchemaVersion=87] [phyTblIDs="[139]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:56.149 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=87] [2025/04/04 10:35:56.151 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=87] ["take time"=9.713484ms] [job="ID:140, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:56.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.164 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:56.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:56.176 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=140] [2025/04/04 10:35:56.176 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=87] [cur_db=import_into] [sql="create table t (a bigint auto_random primary key, b varchar(100), c int);"] [user=] [2025/04/04 10:35:56.183 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:56.235 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:35:56.255 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=6] [task-id=6] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:35:56.271 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=6] [2025/04/04 10:35:56.271 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:35:56.373 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:56.375 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:56.376 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [2025/04/04 10:35:56.384 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:56.387 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:56.387 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:35:56.387 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=84.841µs] [2025/04/04 10:35:56.387 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=198.358µs] [] [2025/04/04 10:35:56.387 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:35:56.387 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:35:56.428 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=6] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:35:56.449 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/04 10:35:56.450 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:56.459 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:56.459 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:35:56.459 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:56.459 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:56.460 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:56.460 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:56.460 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:56.460 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:56.460 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:56.460 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:56.474 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:56.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 10:35:56.477 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:35:56.477 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=6] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:56.477 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=6] [disk-quota=347.8GiB] [2025/04/04 10:35:56.477 +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=455.1MiB]"] [2025/04/04 10:35:56.480 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=6] [mode=Import] [2025/04/04 10:35:56.485 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=import] [2025/04/04 10:35:56.486 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=10] [2025/04/04 10:35:56.490 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:35:56.493 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:56.493 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=139] [2025/04/04 10:35:56.502 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=6] [2025/04/04 10:35:56.576 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=139] [key=db.tbl.001.csv:0] [2025/04/04 10:35:56.578 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=139] [key=db.tbl.001.csv:0] [readDur=1.106045ms] [encodeDur=117.237µs] [checksum="{cksum=7519321974396982192,size=74,kvs=2}"] [deliverDur=35.874µs] [type=file] [takeTime=1.588475ms] [] [2025/04/04 10:35:56.579 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=139] [2025/04/04 10:35:56.579 +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/fd7968fd-9960-4d72-b26b-661a3fa5faa4.sst] [firstKey=74800000000000008B5F728000000000000001] [lastKey=74800000000000008B5F728000000000000002] [2025/04/04 10:35:56.609 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=139] [key=db.tbl.002.csv:0] [2025/04/04 10:35:56.611 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=139] [key=db.tbl.002.csv:0] [readDur=1.087623ms] [encodeDur=185.124µs] [checksum="{cksum=8353780349895382269,size=74,kvs=2}"] [deliverDur=33.37µs] [type=file] [takeTime=1.608186ms] [] [2025/04/04 10:35:56.612 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=139] [2025/04/04 10:35:56.612 +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/49543b0f-57d7-472e-95f2-21e5d0ac88cc.sst] [firstKey=74800000000000008B5F728000000000000003] [lastKey=74800000000000008B5F728000000000000004] [2025/04/04 10:35:56.718 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=139] [key=db.tbl.003.csv:0] [2025/04/04 10:35:56.720 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=139] [key=db.tbl.003.csv:0] [readDur=939.276µs] [encodeDur=263.741µs] [checksum="{cksum=34078042553017573,size=74,kvs=2}"] [deliverDur=26.083µs] [type=file] [takeTime=1.583823ms] [] [2025/04/04 10:35:56.721 +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/b9df72d5-042c-4903-835f-590a09083757.sst] [firstKey=74800000000000008B5F728000000000000005] [lastKey=74800000000000008B5F728000000000000006] [2025/04/04 10:35:56.721 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 10:35:56.721 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 10:35:56.721 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:35:56.723 +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.15405ms] [] [2025/04/04 10:35:56.723 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 10:35:56.728 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:56.750 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=222] [2025/04/04 10:35:56.750 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:56.752 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000008b5f728000000000000001] [endOfAllRanges=74800000000000008b5f728000000000000007] [startKeyOfFirstRegion=7480000000000000ff8b5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff8b5f728000000000ff0000070000000000fa] [2025/04/04 10:35:56.765 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=222] [kvs=6] [importedSize=222] [importedCount=6] [2025/04/04 10:35:56.766 +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.072079ms] [] [2025/04/04 10:35:56.767 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:35:56.768 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.217895ms] [] [2025/04/04 10:35:56.768 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 10:35:56.768 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:56.770 +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.671355ms] [] [2025/04/04 10:35:56.770 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 10:35:56.773 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:56.774 +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.813408ms] [] [2025/04/04 10:35:56.774 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:56.774 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=894.491µs] [] [2025/04/04 10:35:56.775 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=10] [takeTime=289.00288ms] [] [2025/04/04 10:35:56.775 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=import] [takeTime=289.153558ms] [] [2025/04/04 10:35:56.879 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:56.880 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:56.881 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:56.881 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:56.913 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 10:35:56.915 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:56.915 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:35:56.922 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:35:56.922 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/04 10:35:56.925 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:56.925 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:56.925 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:56.925 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:56.925 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:56.925 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:56.925 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:56.925 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:56.925 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:56.925 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:56.925 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:56.925 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:56.928 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:56.928 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:56.928 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:56.928 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:56.928 +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=455.1MiB]"] [takeTime=450.907409ms] [] [2025/04/04 10:35:56.928 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=6] [type=ImportInto] [2025/04/04 10:35:56.961 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=6] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:35:56.982 +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=455.1MiB]"] [2025/04/04 10:35:56.991 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=11] [step=post-process] [2025/04/04 10:35:56.991 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [2025/04/04 10:35:56.991 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [2025/04/04 10:35:56.991 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [2025/04/04 10:35:57.000 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [takeTime=8.816966ms] [] [2025/04/04 10:35:57.000 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/04 10:35:57.000 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 10:35:57.000 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [weight=30] [2025/04/04 10:35:57.000 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [concurrency=15] [2025/04/04 10:35:57.002 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=139] [physicalTableID=139] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/04 10:35:57.002 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:57.003 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [local="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 10:35:57.003 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [takeTime=11.716538ms] [] [2025/04/04 10:35:57.003 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [takeTime=11.852349ms] [] [2025/04/04 10:35:57.003 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=11] [step=post-process] [takeTime=12.288687ms] [] [2025/04/04 10:35:57.013 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:57.078 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:57.078 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=6] [step=post-process] [state=running] [] [2025/04/04 10:35:57.081 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=6] [2025/04/04 10:35:57.111 +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=455.1MiB]"] [takeTime=128.875856ms] [] [2025/04/04 10:35:57.111 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=6] [type=ImportInto] [2025/04/04 10:35:57.173 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=6] [2025/04/04 10:35:57.175 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.998090755\n# Parse_time: 0.000189803\n# Compile_time: 0.000580107\n# Rewrite_time: 0.000140793\n# Optimize_time: 0.000302964\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5N21zLCBvcGVuOjcxMG5zLCBjbG9zZToxLjMzwrVzLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5N21zLCBvcGVuOjcxMG5zLCBjbG9zZToxLjMzwrVzLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 10:35:57.179 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:57.179 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=6] [2025/04/04 10:35:57.193 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:141, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:35:57.193 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:141, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:57.200 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=2] [job="ID:141, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:57.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.203 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:57.221 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=87] [neededSchemaVersion=88] ["elapsed time"=2.631579ms] [gotSchemaVersion=88] [phyTblIDs="[139]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:57.225 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=88] [2025/04/04 10:35:57.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=88] ["take time"=11.346593ms] [job="ID:141, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.240 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=2] [job="ID:141, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:57.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.258 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=88] [neededSchemaVersion=89] ["elapsed time"=2.504325ms] [gotSchemaVersion=89] [phyTblIDs="[139]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:57.262 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=89] [2025/04/04 10:35:57.264 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=89] ["take time"=10.174998ms] [job="ID:141, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.273 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=2] [job="ID:141, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:57.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.283 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 139, Old Table Name: t)"] [2025/04/04 10:35:57.299 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=89] [neededSchemaVersion=90] ["elapsed time"=1.401199ms] [gotSchemaVersion=90] [phyTblIDs="[139]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:57.304 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=90] [2025/04/04 10:35:57.306 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=90] ["take time"=10.115488ms] [job="ID:141, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.316 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=141] [tableIDs="[139]"] [comment="drop table: table ID"] [2025/04/04 10:35:57.321 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=141] [jobType="drop table"] [2025/04/04 10:35:57.321 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=141] [conn=2] [job="ID:141, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.340 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=141] [2025/04/04 10:35:57.340 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=90] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 10:35:57.356 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:143, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int, primary key(b,c));"] [2025/04/04 10:35:57.356 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:143, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:57.362 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=143] [conn=2] [job="ID:143, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:57.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.367 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 142, Table Name: t)"] [2025/04/04 10:35:57.385 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=90] [neededSchemaVersion=91] ["elapsed time"=2.103486ms] [gotSchemaVersion=91] [phyTblIDs="[142]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:57.388 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=143] [version=91] [2025/04/04 10:35:57.390 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=91] ["take time"=8.966131ms] [job="ID:143, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:57.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.402 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=143] [conn=2] [job="ID:143, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:57.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:57.415 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=143] [Pipeline] // dir [2025/04/04 10:35:57.416 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=91] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int, primary key(b,c));"] [user=] [2025/04/04 10:35:57.421 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:57.474 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:35:57.494 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=7] [task-id=7] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:35:57.509 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=7] [2025/04/04 10:35:57.509 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:35:57.612 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:57.613 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:57.615 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [2025/04/04 10:35:57.623 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:57.626 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:57.627 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:35:57.627 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=95.011µs] [2025/04/04 10:35:57.627 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=191.571µs] [] [2025/04/04 10:35:57.627 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:35:57.627 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:35:57.665 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=7] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:35:57.685 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/04 10:35:57.685 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:57.693 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:57.693 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:35:57.694 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:57.694 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:57.694 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:57.694 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:57.694 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:57.694 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:57.695 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:57.695 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:57.707 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:57.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 10:35:57.709 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:35:57.709 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=7] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:57.709 +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=455.1MiB]"] [2025/04/04 10:35:57.709 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=7] [disk-quota=347.8GiB] [2025/04/04 10:35:57.717 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=12] [step=import] [2025/04/04 10:35:57.717 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=12] [2025/04/04 10:35:57.719 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=7] [mode=Import] [2025/04/04 10:35:57.721 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:35:57.725 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:57.725 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=142] [2025/04/04 10:35:57.727 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=142] [key=db.tbl.001.csv:0] [2025/04/04 10:35:57.729 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=142] [key=db.tbl.001.csv:0] [readDur=856.699µs] [encodeDur=503.796µs] [checksum="{cksum=6438872994288898047,size=96,kvs=2}"] [deliverDur=24.068µs] [type=file] [takeTime=1.678123ms] [] [2025/04/04 10:35:57.730 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=142] [2025/04/04 10:35:57.730 +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/dd55ca04-cc34-485c-84f3-25ab765c51e0.sst] [firstKey=74800000000000008E5F72017465737431000000FC03800000000000000B] [lastKey=74800000000000008E5F72017465737432000000FC038000000000000016] [2025/04/04 10:35:57.732 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=142] [key=db.tbl.002.csv:0] [2025/04/04 10:35:57.733 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=142] [key=db.tbl.002.csv:0] [readDur=799.595µs] [encodeDur=195.565µs] [checksum="{cksum=1050029282737908383,size=96,kvs=2}"] [deliverDur=35.315µs] [type=file] [takeTime=1.291995ms] [] [2025/04/04 10:35:57.734 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=142] [2025/04/04 10:35:57.734 +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/45eb2e49-27f9-48bf-9dfb-124a1beedb57.sst] [firstKey=74800000000000008E5F72017465737433000000FC038000000000000021] [lastKey=74800000000000008E5F72017465737434000000FC03800000000000002C] [2025/04/04 10:35:57.748 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=7] [2025/04/04 10:35:57.765 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=142] [key=db.tbl.003.csv:0] [2025/04/04 10:35:57.767 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=142] [key=db.tbl.003.csv:0] [readDur=872.865µs] [encodeDur=189.853µs] [checksum="{cksum=8773259395275999690,size=96,kvs=2}"] [deliverDur=25.634µs] [type=file] [takeTime=1.277264ms] [] [2025/04/04 10:35:57.768 +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/09afe754-6dc8-4710-b8d7-c19d400c35db.sst] [firstKey=74800000000000008E5F72017465737435000000FC038000000000000037] [lastKey=74800000000000008E5F72017465737436000000FC038000000000000042] [2025/04/04 10:35:57.768 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 10:35:57.768 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 10:35:57.768 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:35:57.770 +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.847461ms] [] [2025/04/04 10:35:57.770 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 10:35:57.774 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:57.796 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=288] [2025/04/04 10:35:57.796 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:57.798 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000008e5f72017465737431000000fc03800000000000000b] [endOfAllRanges=74800000000000008e5f72017465737436000000fc03800000000000004200] [startKeyOfFirstRegion=7480000000000000ff8e5f720174657374ff31000000fc038000ff00000000000b0000fd] [endKeyOfLastRegion=7480000000000000ff8e5f720174657374ff36000000fc038000ff0000000000420000fe] [2025/04/04 10:35:57.811 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=288] [kvs=6] [importedSize=288] [importedCount=6] [2025/04/04 10:35:57.832 +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=61.869029ms] [] [2025/04/04 10:35:57.832 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:35:57.833 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.237577ms] [] [2025/04/04 10:35:57.833 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 10:35:57.833 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:57.835 +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.796391ms] [] [2025/04/04 10:35:57.835 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 10:35:57.839 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:57.839 +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.08288ms] [] [2025/04/04 10:35:57.839 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:57.840 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=908.937µs] [] [2025/04/04 10:35:57.841 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=12] [takeTime=123.782781ms] [] [2025/04/04 10:35:57.841 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=12] [step=import] [takeTime=123.924408ms] [] [2025/04/04 10:35:57.918 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:57.919 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:57.921 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:57.921 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:57.952 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 10:35:57.954 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:57.954 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:35:57.982 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:35:57.989 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/04 10:35:57.992 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:57.992 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:57.992 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:57.992 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:57.992 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:57.992 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:57.992 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:57.992 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:57.992 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:57.992 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:57.992 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:57.992 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:57.994 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:57.994 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:57.994 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:57.994 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:57.994 +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=455.1MiB]"] [takeTime=285.19606ms] [] [2025/04/04 10:35:57.996 +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=455.1MiB]"] [2025/04/04 10:35:58.003 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=13] [step=post-process] [2025/04/04 10:35:58.004 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [2025/04/04 10:35:58.004 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [2025/04/04 10:35:58.004 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [2025/04/04 10:35:58.004 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [takeTime=2.225µs] [] [2025/04/04 10:35:58.004 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [groupId=-1] [size=288] [kvs=6] [checksum=3317442229611736234] [2025/04/04 10:35:58.004 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [checksum="{cksum=3317442229611736234,size=288,kvs=6}"] [2025/04/04 10:35:58.004 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [weight=30] [2025/04/04 10:35:58.004 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [concurrency=15] [2025/04/04 10:35:58.006 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=142] [physicalTableID=142] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 10:35:58.006 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=142] [physicalTableID=142] [indexID=-1] [checksum=3317442229611736234] [totalKvs=6] [totalBytes=288] [2025/04/04 10:35:58.006 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:58.006 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [local="{cksum=3317442229611736234,size=288,kvs=6}"] [2025/04/04 10:35:58.006 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [takeTime=2.809639ms] [] [2025/04/04 10:35:58.007 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [takeTime=2.925941ms] [] [2025/04/04 10:35:58.007 +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.04872ms] [] [2025/04/04 10:35:58.017 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:58.116 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:58.117 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=7] [step=post-process] [state=running] [] [2025/04/04 10:35:58.120 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=7] [2025/04/04 10:35:58.138 +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=455.1MiB]"] [takeTime=142.147228ms] [] [2025/04/04 10:35:58.138 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=7] [type=ImportInto] [2025/04/04 10:35:58.211 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=7] [2025/04/04 10:35:58.219 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:58.219 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=7] [2025/04/04 10:35:58.243 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:58.413 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.996627726\n# Parse_time: 0.000107918\n# Compile_time: 0.000465711\n# Rewrite_time: 0.000094419\n# Optimize_time: 0.000408644\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NS44bXMsIG9wZW46NjEybnMsIGNsb3NlOjc3NW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5NS44bXMsIG9wZW46NjEybnMsIGNsb3NlOjc3NW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 10:35:58.429 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:144, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:58.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:58.429 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:144, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:58.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:35:58.435 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:58.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:58.452 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=91] [neededSchemaVersion=92] ["elapsed time"=2.602036ms] [gotSchemaVersion=92] [phyTblIDs="[142]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:58.456 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=92] [2025/04/04 10:35:58.458 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=92] ["take time"=10.022748ms] [job="ID:144, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:58.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:58.469 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:58.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:58.486 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=92] [neededSchemaVersion=93] ["elapsed time"=2.619613ms] [gotSchemaVersion=93] [phyTblIDs="[142]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:58.490 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=93] [2025/04/04 10:35:58.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=93] ["take time"=10.025078ms] [job="ID:144, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:58.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:58.501 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:58.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:58.508 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 142, Old Table Name: t)"] [2025/04/04 10:35:58.522 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=93] [neededSchemaVersion=94] ["elapsed time"=1.093499ms] [gotSchemaVersion=94] [phyTblIDs="[142]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:58.527 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=94] [2025/04/04 10:35:58.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=94] ["take time"=9.177243ms] [job="ID:144, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:58.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:58.539 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=144] [tableIDs="[142]"] [comment="drop table: table ID"] [2025/04/04 10:35:58.544 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=144] [jobType="drop table"] [2025/04/04 10:35:58.545 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:58.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:58.564 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=144] [2025/04/04 10:35:58.564 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=94] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 10:35:58.578 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:58.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:58.578 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:58.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:35:58.583 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=2] [job="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:58.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:58.588 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 145, Table Name: t)"] [2025/04/04 10:35:58.608 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=94] [neededSchemaVersion=95] ["elapsed time"=2.204656ms] [gotSchemaVersion=95] [phyTblIDs="[145]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:58.611 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=95] [2025/04/04 10:35:58.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=95] ["take time"=12.949454ms] [job="ID:146, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:58.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:58.626 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=146] [conn=2] [job="ID:146, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:58.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:58.638 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=146] [2025/04/04 10:35:58.638 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=95] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/04 10:35:58.644 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:58.690 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`c`, `b`, `a`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:35:58.709 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=8] [task-id=8] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:35:58.723 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=8] [2025/04/04 10:35:58.723 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:35:58.826 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:58.827 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:58.828 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=8] [curr-step=init] [next-step=import] [2025/04/04 10:35:58.836 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:58.839 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:58.839 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:35:58.839 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=87.111µs] [2025/04/04 10:35:58.839 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=185.435µs] [] [2025/04/04 10:35:58.839 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=8] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:35:58.839 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:35:58.875 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=8] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:35:58.895 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=8] [step=import] [2025/04/04 10:35:58.895 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:58.903 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:35:58.903 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:35:58.903 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:58.903 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:35:58.904 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:58.904 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:58.904 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:58.904 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:58.904 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:58.904 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:58.916 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:58.918 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:58.918 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:35:58.918 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=8] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:58.918 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=8] [disk-quota=347.8GiB] [2025/04/04 10:35:58.918 +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=455.1MiB]"] [2025/04/04 10:35:58.925 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=import] [2025/04/04 10:35:58.925 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=8] [step=import] [subtask-id=14] [2025/04/04 10:35:58.929 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:35:58.931 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=8] [mode=Import] [2025/04/04 10:35:58.932 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:58.933 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=145] [2025/04/04 10:35:58.945 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=145] [key=db.tbl.001.csv:0] [2025/04/04 10:35:58.948 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=145] [key=db.tbl.001.csv:0] [readDur=1.158559ms] [encodeDur=671.975µs] [checksum="{cksum=13837959720985630831,size=82,kvs=2}"] [deliverDur=185.659µs] [type=file] [takeTime=2.292788ms] [] [2025/04/04 10:35:58.948 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=145] [2025/04/04 10:35:58.948 +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/26341590-863b-4ed2-b0a6-836ae14d305b.sst] [firstKey=7480000000000000915F728000000000000001] [lastKey=7480000000000000915F728000000000000002] [2025/04/04 10:35:58.951 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=8] [Pipeline] } [2025/04/04 10:35:58.961 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=145] [key=db.tbl.002.csv:0] [2025/04/04 10:35:58.963 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=145] [key=db.tbl.002.csv:0] [readDur=886.091µs] [encodeDur=322.512µs] [checksum="{cksum=7610901642014463118,size=82,kvs=2}"] [deliverDur=225.226µs] [type=file] [takeTime=1.665787ms] [] [2025/04/04 10:35:58.963 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=145] [2025/04/04 10:35:58.964 +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/fe40baf0-0c9e-4cf9-ab9e-8afc99e2e8c5.sst] [firstKey=7480000000000000915F728000000000000008] [lastKey=7480000000000000915F728000000000000009] [2025/04/04 10:35:58.986 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=145] [key=db.tbl.003.csv:0] [2025/04/04 10:35:58.988 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=145] [key=db.tbl.003.csv:0] [readDur=854.177µs] [encodeDur=792.232µs] [checksum="{cksum=9673548632033812539,size=82,kvs=2}"] [deliverDur=215.666µs] [type=file] [takeTime=2.054973ms] [] [2025/04/04 10:35:58.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/a3e522bd-ab03-491f-8d39-288d7f28b02c.sst] [firstKey=7480000000000000915F72800000000000000F] [lastKey=7480000000000000915F728000000000000010] [2025/04/04 10:35:58.989 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/04 10:35:58.989 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/04 10:35:58.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 10:35:58.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=1.966147ms] [] [2025/04/04 10:35:58.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 10:35:58.996 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:59.017 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/04 10:35:59.017 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:59.019 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000915f728000000000000001] [endOfAllRanges=7480000000000000915f728000000000000011] [startKeyOfFirstRegion=7480000000000000ff915f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff915f728000000000ff0000110000000000fa] [2025/04/04 10:35:59.033 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/04 10:35:59.035 +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.896118ms] [] [2025/04/04 10:35:59.035 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:35:59.036 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.238037ms] [] [2025/04/04 10:35:59.036 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/04 10:35:59.036 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:59.038 +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.527097ms] [] [2025/04/04 10:35:59.038 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 10:35:59.042 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:59.042 +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.524521ms] [] [2025/04/04 10:35:59.042 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:35:59.043 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=985.214µs] [] [2025/04/04 10:35:59.043 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=8] [step=import] [subtask-id=14] [takeTime=117.39547ms] [] [2025/04/04 10:35:59.043 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=import] [takeTime=117.540569ms] [] [2025/04/04 10:35:59.131 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:59.132 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:59.133 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:59.133 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:59.165 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 10:35:59.167 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:59.167 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:35:59.190 +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 10:35:59.190 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=8] [step=import] [2025/04/04 10:35:59.194 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:59.194 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:59.194 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:59.194 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:59.194 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:59.194 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:59.194 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:59.194 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:59.194 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:59.194 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:59.194 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:59.194 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:59.197 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:59.197 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:59.197 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:59.197 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:59.197 +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=455.1MiB]"] [takeTime=278.811657ms] [] [2025/04/04 10:35:59.197 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=8] [type=ImportInto] [2025/04/04 10:35:59.206 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=8] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:35:59.228 +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=455.1MiB]"] [2025/04/04 10:35:59.235 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=15] [step=post-process] [2025/04/04 10:35:59.235 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [2025/04/04 10:35:59.235 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [2025/04/04 10:35:59.235 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [2025/04/04 10:35:59.241 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [takeTime=5.7213ms] [] [2025/04/04 10:35:59.241 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [groupId=-1] [size=246] [kvs=6] [checksum=3434641841828523226] [2025/04/04 10:35:59.241 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [checksum="{cksum=3434641841828523226,size=246,kvs=6}"] [2025/04/04 10:35:59.241 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [weight=30] [2025/04/04 10:35:59.242 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [concurrency=15] [2025/04/04 10:35:59.243 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=145] [physicalTableID=145] [indexID=-1] [checksum=3434641841828523226] [totalKvs=6] [totalBytes=246] [2025/04/04 10:35:59.244 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:59.244 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [local="{cksum=3434641841828523226,size=246,kvs=6}"] [2025/04/04 10:35:59.244 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [takeTime=8.43491ms] [] [2025/04/04 10:35:59.244 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [takeTime=8.573061ms] [] [2025/04/04 10:35:59.244 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=15] [step=post-process] [takeTime=8.717468ms] [] [2025/04/04 10:35:59.258 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:59.330 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:59.330 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=8] [step=post-process] [state=running] [] [2025/04/04 10:35:59.333 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=8] [2025/04/04 10:35:59.363 +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=455.1MiB]"] [takeTime=135.388818ms] [] [2025/04/04 10:35:59.363 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=8] [type=ImportInto] [2025/04/04 10:35:59.425 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=8] [2025/04/04 10:35:59.431 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:59.431 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=8] [2025/04/04 10:35:59.453 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:59.626 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.987387704\n# Parse_time: 0.000129514\n# Compile_time: 0.000537963\n# Rewrite_time: 0.000119751\n# Optimize_time: 0.000319362\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ni41bXMsIG9wZW46Nzg2bnMsIGNsb3NlOjgzMm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ni41bXMsIG9wZW46Nzg2bnMsIGNsb3NlOjgzMm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`c`,`b`,`a`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 10:35:59.641 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:147, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:59.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:35:59.641 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:147, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:59.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:59.647 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=147] [conn=2] [job="ID:147, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:59.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.663 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=95] [neededSchemaVersion=96] ["elapsed time"=2.726753ms] [gotSchemaVersion=96] [phyTblIDs="[145]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:59.667 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=147] [version=96] [2025/04/04 10:35:59.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=96] ["take time"=10.033835ms] [job="ID:147, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:59.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.686 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=147] [conn=2] [job="ID:147, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:59.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.702 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=96] [neededSchemaVersion=97] ["elapsed time"=2.232016ms] [gotSchemaVersion=97] [phyTblIDs="[145]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:59.706 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=147] [version=97] [2025/04/04 10:35:59.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=97] ["take time"=9.231587ms] [job="ID:147, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:59.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.716 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=147] [conn=2] [job="ID:147, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:59.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.723 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 145, Old Table Name: t)"] [2025/04/04 10:35:59.737 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=97] [neededSchemaVersion=98] ["elapsed time"=1.160676ms] [gotSchemaVersion=98] [phyTblIDs="[145]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:35:59.741 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=147] [version=98] [2025/04/04 10:35:59.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=98] ["take time"=8.235948ms] [job="ID:147, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:59.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.751 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=147] [tableIDs="[145]"] [comment="drop table: table ID"] [2025/04/04 10:35:59.756 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=147] [jobType="drop table"] [2025/04/04 10:35:59.757 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=147] [conn=2] [job="ID:147, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:59.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.774 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=147] [2025/04/04 10:35:59.774 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=98] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 10:35:59.788 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:149, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:59.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int, d varchar(100));"] [2025/04/04 10:35:59.788 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:149, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:59.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:59.794 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=2] [job="ID:149, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:59.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.799 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 148, Table Name: t)"] [2025/04/04 10:35:59.816 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=98] [neededSchemaVersion=99] ["elapsed time"=1.876671ms] [gotSchemaVersion=99] [phyTblIDs="[148]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:59.819 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=99] [2025/04/04 10:35:59.821 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=99] ["take time"=8.679052ms] [job="ID:149, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:59.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.832 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=149] [conn=2] [job="ID:149, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:59.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:59.844 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=149] [2025/04/04 10:35:59.845 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=99] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int, d varchar(100));"] [user=] [2025/04/04 10:35:59.850 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:59.904 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`c`, `d`, `a`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:35:59.923 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=9] [task-id=9] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:35:59.938 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=9] [2025/04/04 10:35:59.938 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:36:00.040 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:00.041 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:00.043 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=9] [curr-step=init] [next-step=import] [2025/04/04 10:36:00.051 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:00.054 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:00.054 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:36:00.054 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=93.457µs] [2025/04/04 10:36:00.054 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=248.232µs] [] [2025/04/04 10:36:00.054 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=9] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:00.054 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:36:00.086 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=9] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:36:00.107 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=9] [step=import] [2025/04/04 10:36:00.107 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:00.115 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:00.115 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:00.116 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:00.116 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:00.116 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:00.116 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:00.116 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:00.116 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:00.117 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:00.117 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:00.129 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:00.131 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:00.131 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:00.131 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=9] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:00.131 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=9] [disk-quota=347.8GiB] [2025/04/04 10:36:00.131 +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=455.1MiB]"] [2025/04/04 10:36:00.139 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [subtaskID=16] [step=import] [2025/04/04 10:36:00.139 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=9] [step=import] [subtask-id=16] [2025/04/04 10:36:00.143 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:00.147 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:00.147 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=9] [mode=Import] [2025/04/04 10:36:00.148 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=148] [2025/04/04 10:36:00.168 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=9] [2025/04/04 10:36:00.186 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=148] [key=db.tbl.001.csv:0] [2025/04/04 10:36:00.188 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=148] [key=db.tbl.001.csv:0] [readDur=854.461µs] [encodeDur=264.12µs] [checksum="{cksum=11510279650924602162,size=82,kvs=2}"] [deliverDur=255.086µs] [type=file] [takeTime=1.63958ms] [] [2025/04/04 10:36:00.188 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=148] [2025/04/04 10:36:00.188 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=987] [file=/tmp/tidb/import-4000/9/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/e072d6c1-094c-4adf-81e5-7f65dbc781a6.sst] [firstKey=7480000000000000945F728000000000000001] [lastKey=7480000000000000945F728000000000000002] [2025/04/04 10:36:00.267 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=148] [key=db.tbl.002.csv:0] [2025/04/04 10:36:00.269 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=148] [key=db.tbl.002.csv:0] [readDur=954.304µs] [encodeDur=759.819µs] [checksum="{cksum=16401860098335995135,size=82,kvs=2}"] [deliverDur=299.946µs] [type=file] [takeTime=2.258862ms] [] [2025/04/04 10:36:00.270 +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/b714a733-c774-43ba-9361-6e600767ebf2.sst] [firstKey=7480000000000000945F728000000000000006] [lastKey=7480000000000000945F728000000000000007] [2025/04/04 10:36:00.270 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=148] [2025/04/04 10:36:00.320 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=148] [key=db.tbl.003.csv:0] [2025/04/04 10:36:00.322 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=148] [key=db.tbl.003.csv:0] [readDur=1.085807ms] [encodeDur=244.506µs] [checksum="{cksum=17104710824714968226,size=82,kvs=2}"] [deliverDur=269.389µs] [type=file] [takeTime=1.836064ms] [] [2025/04/04 10:36:00.322 +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/a3479de2-d9fd-4af0-9e91-78381af6c324.sst] [firstKey=7480000000000000945F72800000000000000B] [lastKey=7480000000000000945F72800000000000000C] [2025/04/04 10:36:00.322 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=9] [step=import] [engine-id=0] [2025/04/04 10:36:00.322 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=9] [step=import] [engine-id=0] [2025/04/04 10:36:00.322 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:00.325 +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.261295ms] [] [2025/04/04 10:36:00.325 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 10:36:00.330 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:00.351 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/04 10:36:00.351 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:00.353 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000945f728000000000000001] [endOfAllRanges=7480000000000000945f72800000000000000d] [startKeyOfFirstRegion=7480000000000000ff945f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff945f728000000000ff00000d0000000000fa] [2025/04/04 10:36:00.367 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/04 10:36:00.368 +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.346106ms] [] [2025/04/04 10:36:00.368 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:00.370 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.473073ms] [] [2025/04/04 10:36:00.370 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=9] [step=import] [engine-id=0] [2025/04/04 10:36:00.370 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:00.372 +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.765168ms] [] [2025/04/04 10:36:00.372 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 10:36:00.376 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:00.376 +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.917745ms] [] [2025/04/04 10:36:00.376 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:00.377 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=896.085µs] [] [2025/04/04 10:36:00.377 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=9] [step=import] [subtask-id=16] [takeTime=238.017242ms] [] [2025/04/04 10:36:00.377 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [subtaskID=16] [step=import] [takeTime=238.167409ms] [] [2025/04/04 10:36:00.451 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:00.453 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:00.455 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=9] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:00.455 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=9] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:00.487 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=9] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 10:36:00.489 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=9] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:00.489 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:36:00.524 +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 10:36:00.531 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=9] [step=import] [2025/04/04 10:36:00.534 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:00.534 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:00.534 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:00.534 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:00.534 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:00.534 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:00.534 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:00.534 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:00.534 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:00.534 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:00.534 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:00.534 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:00.536 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:00.536 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:00.536 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:00.536 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:00.536 +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=455.1MiB]"] [takeTime=404.978072ms] [] [2025/04/04 10:36:00.538 +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=455.1MiB]"] [2025/04/04 10:36:00.545 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [subtaskID=17] [step=post-process] [2025/04/04 10:36:00.546 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [2025/04/04 10:36:00.546 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [2025/04/04 10:36:00.546 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [2025/04/04 10:36:00.551 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [takeTime=5.804655ms] [] [2025/04/04 10:36:00.552 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [groupId=-1] [size=246] [kvs=6] [checksum=10467356601048550255] [2025/04/04 10:36:00.552 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [checksum="{cksum=10467356601048550255,size=246,kvs=6}"] [2025/04/04 10:36:00.552 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [weight=30] [2025/04/04 10:36:00.552 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [concurrency=15] [2025/04/04 10:36:00.553 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=148] [physicalTableID=148] [indexID=-1] [checksum=10467356601048550255] [totalKvs=6] [totalBytes=246] [2025/04/04 10:36:00.554 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:00.554 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [local="{cksum=10467356601048550255,size=246,kvs=6}"] [2025/04/04 10:36:00.554 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [takeTime=8.207221ms] [] [2025/04/04 10:36:00.554 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [takeTime=8.366315ms] [] [2025/04/04 10:36:00.554 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [subtaskID=17] [step=post-process] [takeTime=8.493194ms] [] [2025/04/04 10:36:00.577 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:00.645 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:00.645 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=9] [step=post-process] [state=running] [] [2025/04/04 10:36:00.648 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=9] [2025/04/04 10:36:00.676 +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=455.1MiB]"] [takeTime=137.934202ms] [] [2025/04/04 10:36:00.676 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=9] [type=ImportInto] [2025/04/04 10:36:00.741 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=9] [2025/04/04 10:36:00.747 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:00.747 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=9] [2025/04/04 10:36:00.771 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:00.841 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.995730507\n# Parse_time: 0.0001011\n# Compile_time: 0.00046599\n# Rewrite_time: 0.000089409\n# Optimize_time: 0.000274589\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NC45bXMsIG9wZW46NjQ1bnMsIGNsb3NlOjc0OW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5NC45bXMsIG9wZW46NjQ1bnMsIGNsb3NlOjc0OW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`c`,`d`,`a`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 10:36:00.856 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:00.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:36:00.856 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:00.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:00.868 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:00.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:00.887 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=99] [neededSchemaVersion=100] ["elapsed time"=2.786687ms] [gotSchemaVersion=100] [phyTblIDs="[148]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:00.890 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=100] [2025/04/04 10:36:00.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=100] ["take time"=10.278414ms] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:00.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:00.902 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:00.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:00.920 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=100] [neededSchemaVersion=101] ["elapsed time"=2.605002ms] [gotSchemaVersion=101] [phyTblIDs="[148]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:00.924 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=101] [2025/04/04 10:36:00.925 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=101] ["take time"=10.491143ms] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:00.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:00.935 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:00.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:00.943 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 148, Old Table Name: t)"] [2025/04/04 10:36:00.957 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=101] [neededSchemaVersion=102] ["elapsed time"=1.245363ms] [gotSchemaVersion=102] [phyTblIDs="[148]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:00.961 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=102] [2025/04/04 10:36:00.962 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=102] ["take time"=8.362346ms] [job="ID:150, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:00.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:00.973 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=150] [tableIDs="[148]"] [comment="drop table: table ID"] [2025/04/04 10:36:00.978 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=150] [jobType="drop table"] [2025/04/04 10:36:00.979 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:00.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:00.998 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=150] [2025/04/04 10:36:00.999 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=102] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 10:36:01.013 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:00.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:01.013 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:00.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_increment primary key, b varchar(100), c int, d varchar(100));"] [2025/04/04 10:36:01.019 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=152] [conn=2] [job="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:00.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:01.024 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 151, Table Name: t)"] [2025/04/04 10:36:01.042 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=102] [neededSchemaVersion=103] ["elapsed time"=2.06956ms] [gotSchemaVersion=103] [phyTblIDs="[151]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:01.046 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=152] [version=103] [2025/04/04 10:36: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=103] ["take time"=9.447507ms] [job="ID:152, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:00.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:01.060 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=152] [conn=2] [job="ID:152, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:00.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:01.072 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=152] [2025/04/04 10:36:01.073 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=103] [cur_db=import_into] [sql="create table t (a bigint auto_increment primary key, b varchar(100), c int, d varchar(100));"] [user=] [2025/04/04 10:36:01.079 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:01.100 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=d4cc1697-3f88-4f04-b032-173a8e24be1a] [daemon-id=LogBackup::Advancer] [2025/04/04 10:36:01.100 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/04 10:36:01.100 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:36:01.131 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(@`1`, @`2`, `a`)\",\"set-clause\":\"`c`=@`1`+100, `d`=@`2`, `b`=CONCAT(@`2`, _UTF8MB4'-aa')\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:01.155 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=10] [task-id=10] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:36:01.170 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=10] [2025/04/04 10:36:01.170 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:36:01.273 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:01.275 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:01.276 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=10] [curr-step=init] [next-step=import] [2025/04/04 10:36:01.284 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:01.287 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:01.287 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:36:01.287 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=67.087µs] [2025/04/04 10:36:01.287 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=197.898µs] [] [2025/04/04 10:36:01.287 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=10] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:01.287 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:36:01.326 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=10] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:36:01.346 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=10] [step=import] [2025/04/04 10:36:01.346 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:01.354 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:01.355 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:01.355 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:01.355 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:01.355 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:01.355 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:01.355 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:01.355 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:01.356 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:01.356 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:01.369 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:01.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 10:36:01.371 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:01.371 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=10] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:01.371 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=10] [disk-quota=347.8GiB] [2025/04/04 10:36:01.371 +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=455.1MiB]"] [2025/04/04 10:36:01.379 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [subtaskID=18] [step=import] [2025/04/04 10:36:01.379 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=10] [step=import] [subtask-id=18] [2025/04/04 10:36:01.381 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=10] [mode=Import] [2025/04/04 10:36:01.383 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:01.387 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:01.387 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=151] [2025/04/04 10:36:01.401 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=10] [2025/04/04 10:36:01.467 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=151] [key=db.tbl.001.csv:0] [2025/04/04 10:36:01.469 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=151] [key=db.tbl.001.csv:0] [readDur=923.4µs] [encodeDur=313.243µs] [checksum="{cksum=2180128874604033942,size=96,kvs=2}"] [deliverDur=23.694µs] [type=file] [takeTime=1.556122ms] [] [2025/04/04 10:36:01.470 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=151] [2025/04/04 10:36:01.470 +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/1aad490b-b520-4626-8fe6-9f9d2e64d3af.sst] [firstKey=7480000000000000975F72800000000000000B] [lastKey=7480000000000000975F728000000000000016] [2025/04/04 10:36:01.584 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=151] [key=db.tbl.002.csv:0] [2025/04/04 10:36:01.586 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=151] [key=db.tbl.002.csv:0] [readDur=951.594µs] [encodeDur=578.44µs] [checksum="{cksum=17114733561715978064,size=96,kvs=2}"] [deliverDur=25.491µs] [type=file] [takeTime=1.826ms] [] [2025/04/04 10:36:01.587 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=151] [2025/04/04 10:36:01.587 +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/13b171b2-29d5-4d54-afd4-2c5d04be45b0.sst] [firstKey=7480000000000000975F728000000000000021] [lastKey=7480000000000000975F72800000000000002C] [2025/04/04 10:36:01.616 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=151] [key=db.tbl.003.csv:0] [2025/04/04 10:36:01.617 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=151] [key=db.tbl.003.csv:0] [readDur=865.322µs] [encodeDur=313.697µs] [checksum="{cksum=126932759714365300,size=96,kvs=2}"] [deliverDur=22.769µs] [type=file] [takeTime=1.385123ms] [] [2025/04/04 10:36:01.618 +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/02de190f-2dbd-4e80-a27b-daea4bf86ef7.sst] [firstKey=7480000000000000975F728000000000000037] [lastKey=7480000000000000975F728000000000000042] [2025/04/04 10:36:01.618 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=10] [step=import] [engine-id=0] [2025/04/04 10:36:01.619 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=10] [step=import] [engine-id=0] [2025/04/04 10:36:01.619 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:01.620 +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.863052ms] [] [2025/04/04 10:36:01.621 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 10:36:01.625 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:01.647 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=288] [2025/04/04 10:36:01.647 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:01.649 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000975f72800000000000000b] [endOfAllRanges=7480000000000000975f728000000000000043] [startKeyOfFirstRegion=7480000000000000ff975f728000000000ff00000b0000000000fa] [endKeyOfLastRegion=7480000000000000ff975f728000000000ff0000430000000000fa] [2025/04/04 10:36:01.661 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=288] [kvs=6] [importedSize=288] [importedCount=6] [2025/04/04 10:36:01.663 +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.993991ms] [] [2025/04/04 10:36:01.663 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:01.664 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.250762ms] [] [2025/04/04 10:36:01.664 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=10] [step=import] [engine-id=0] [2025/04/04 10:36:01.664 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:01.666 +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.657688ms] [] [2025/04/04 10:36:01.666 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 10:36:01.669 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:01.669 +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.53998ms] [] [2025/04/04 10:36:01.669 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:01.670 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=930.262µs] [] [2025/04/04 10:36:01.671 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=10] [step=import] [subtask-id=18] [takeTime=291.456477ms] [] [2025/04/04 10:36:01.671 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [subtaskID=18] [step=import] [takeTime=291.889807ms] [] [2025/04/04 10:36:01.777 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:01.779 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:01.780 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=10] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:01.780 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=10] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:01.867 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:36:01.867 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=10] [step=import] [2025/04/04 10:36:01.872 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=10] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 10:36:01.872 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:01.872 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:01.872 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:01.873 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:01.873 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:01.873 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:01.873 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:01.873 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:01.873 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:01.873 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:01.873 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:01.873 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:01.874 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=10] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:01.874 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:36:01.876 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:01.876 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:01.876 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:01.876 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:01.876 +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=455.1MiB]"] [takeTime=504.96146ms] [] [2025/04/04 10:36:01.876 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=10] [type=ImportInto] [2025/04/04 10:36:01.918 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=10] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:36:01.939 +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=455.1MiB]"] [2025/04/04 10:36:01.947 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [subtaskID=19] [step=post-process] [2025/04/04 10:36:01.947 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [2025/04/04 10:36:01.947 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [2025/04/04 10:36:01.947 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [2025/04/04 10:36:01.952 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [takeTime=5.642353ms] [] [2025/04/04 10:36:01.953 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [groupId=-1] [size=288] [kvs=6] [checksum=17437960271832508338] [2025/04/04 10:36:01.953 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [checksum="{cksum=17437960271832508338,size=288,kvs=6}"] [2025/04/04 10:36:01.953 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [weight=30] [2025/04/04 10:36:01.953 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [concurrency=15] [2025/04/04 10:36:01.954 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=151] [physicalTableID=151] [indexID=-1] [checksum=17437960271832508338] [totalKvs=6] [totalBytes=288] [2025/04/04 10:36:01.955 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:01.955 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [local="{cksum=17437960271832508338,size=288,kvs=6}"] [2025/04/04 10:36:01.955 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [takeTime=8.144163ms] [] [2025/04/04 10:36:01.955 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [takeTime=8.316491ms] [] [2025/04/04 10:36:01.955 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [subtaskID=19] [step=post-process] [takeTime=8.460616ms] [] [2025/04/04 10:36:01.969 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:01.977 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:01.977 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=10] [step=post-process] [state=running] [] [2025/04/04 10:36:01.980 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=10] [2025/04/04 10:36:02.001 +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=455.1MiB]"] [takeTime=62.242247ms] [] [2025/04/04 10:36:02.001 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=10] [type=ImportInto] [2025/04/04 10:36:02.072 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.998870135\n# Parse_time: 0.000296385\n# Compile_time: 0.000529914\n# Rewrite_time: 0.000108396\n# Optimize_time: 0.000259773\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Ny43bXMsIG9wZW46NzA2bnMsIGNsb3NlOjY2N25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Ny43bXMsIG9wZW46NzA2bnMsIGNsb3NlOjY2N25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (@`1`,@`2`,`a`) SET `c`=@`1`+100, `d`=@`2`, `b`=CONCAT(@`2`, _UTF8MB4'-aa') FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 10:36:02.072 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=10] [2025/04/04 10:36:02.078 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:02.078 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=10] [2025/04/04 10:36:02.089 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:153, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:02.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:36:02.089 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:153, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:02.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:02.094 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=2] [job="ID:153, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:02.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.101 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:02.112 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=103] [neededSchemaVersion=104] ["elapsed time"=2.650403ms] [gotSchemaVersion=104] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:02.116 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=104] [2025/04/04 10:36:02.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=104] ["take time"=10.312763ms] [job="ID:153, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:02.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.128 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=2] [job="ID:153, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:02.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.145 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=104] [neededSchemaVersion=105] ["elapsed time"=2.70421ms] [gotSchemaVersion=105] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:02.149 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=105] [2025/04/04 10:36:02.151 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=105] ["take time"=10.555587ms] [job="ID:153, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:02.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.160 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=2] [job="ID:153, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:02.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.167 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 151, Old Table Name: t)"] [2025/04/04 10:36:02.182 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=105] [neededSchemaVersion=106] ["elapsed time"=1.118157ms] [gotSchemaVersion=106] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:02.186 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=106] [2025/04/04 10:36:02.188 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=106] ["take time"=8.522651ms] [job="ID:153, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:02.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.198 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=153] [tableIDs="[151]"] [comment="drop table: table ID"] [2025/04/04 10:36:02.202 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=153] [jobType="drop table"] [2025/04/04 10:36:02.203 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=153] [conn=2] [job="ID:153, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:02.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.222 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=153] [2025/04/04 10:36:02.222 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=106] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 10:36:02.236 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:155, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:02.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int, d varchar(100)) SHARD_ROW_ID_BITS 10;"] [2025/04/04 10:36:02.236 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:155, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:02.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:02.243 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:02.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.248 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 154, Table Name: t)"] [2025/04/04 10:36:02.266 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=106] [neededSchemaVersion=107] ["elapsed time"=2.540716ms] [gotSchemaVersion=107] [phyTblIDs="[154]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:02.270 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=107] [2025/04/04 10:36:02.272 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=107] ["take time"=10.18586ms] [job="ID:155, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:02.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.284 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:02.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:02.297 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=155] [2025/04/04 10:36:02.297 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=107] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int, d varchar(100)) SHARD_ROW_ID_BITS 10;"] [user=] [2025/04/04 10:36:02.304 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:02.351 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(@`1`, @`2`, `a`)\",\"set-clause\":\"`c`=@`1`+100, `d`=@`2`, `b`=CONCAT(@`2`, _UTF8MB4'-aa')\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:02.374 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=11] [task-id=11] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:36:02.389 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=11] [2025/04/04 10:36:02.389 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:36:02.491 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:02.492 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:02.494 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=11] [curr-step=init] [next-step=import] [2025/04/04 10:36:02.502 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:02.505 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:02.505 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:36:02.505 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=134.047µs] [2025/04/04 10:36:02.505 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=246.219µs] [] [2025/04/04 10:36:02.505 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=11] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:02.505 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:36:02.545 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=11] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:36:02.566 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=11] [step=import] [2025/04/04 10:36:02.566 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:02.573 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:02.574 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:02.574 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:02.574 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:02.574 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:02.574 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:02.574 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:02.574 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:02.575 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:02.575 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:02.587 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:02.589 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:02.589 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:02.589 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=11] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:02.589 +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=455.1MiB]"] [2025/04/04 10:36:02.589 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=11] [disk-quota=347.8GiB] [2025/04/04 10:36:02.597 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [subtaskID=20] [step=import] [2025/04/04 10:36:02.597 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=11] [step=import] [subtask-id=20] [2025/04/04 10:36:02.600 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=11] [mode=Import] [2025/04/04 10:36:02.601 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:02.605 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:02.605 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=154] [2025/04/04 10:36:02.620 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=11] [2025/04/04 10:36:02.630 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=154] [key=db.tbl.001.csv:0] [2025/04/04 10:36:02.632 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=154] [key=db.tbl.001.csv:0] [readDur=962.492µs] [encodeDur=576.098µs] [checksum="{cksum=9096151903818431098,size=104,kvs=2}"] [deliverDur=28.188µs] [type=file] [takeTime=1.899272ms] [] [2025/04/04 10:36:02.633 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=154] [2025/04/04 10:36:02.633 +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/2f1de43a-2015-4280-96c2-64529459857d.sst] [firstKey=74800000000000009A5F728840000000000001] [lastKey=74800000000000009A5F72F8A0000000000002] [2025/04/04 10:36:02.657 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=154] [key=db.tbl.002.csv:0] [2025/04/04 10:36:02.659 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=154] [key=db.tbl.002.csv:0] [readDur=872.946µs] [encodeDur=611.152µs] [checksum="{cksum=1540599946714846010,size=104,kvs=2}"] [deliverDur=28.681µs] [type=file] [takeTime=1.813855ms] [] [2025/04/04 10:36:02.660 +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/826715e7-b698-41e3-a9cd-1313f73ac300.sst] [firstKey=74800000000000009A5F728780000000000007] [lastKey=74800000000000009A5F72D700000000000006] [2025/04/04 10:36:02.660 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=154] [2025/04/04 10:36:02.709 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=154] [key=db.tbl.003.csv:0] [2025/04/04 10:36:02.710 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=154] [key=db.tbl.003.csv:0] [readDur=875.944µs] [encodeDur=384.465µs] [checksum="{cksum=7135556550049781423,size=104,kvs=2}"] [deliverDur=22.615µs] [type=file] [takeTime=1.547789ms] [] [2025/04/04 10:36:02.711 +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/9b7f47be-7b39-4eef-8bfe-4776664fa604.sst] [firstKey=74800000000000009A5F72A60000000000000B] [lastKey=74800000000000009A5F72DA6000000000000C] [2025/04/04 10:36:02.711 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=11] [step=import] [engine-id=0] [2025/04/04 10:36:02.711 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=11] [step=import] [engine-id=0] [2025/04/04 10:36:02.711 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:02.714 +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.722889ms] [] [2025/04/04 10:36:02.714 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 10:36:02.719 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:02.741 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=312] [2025/04/04 10:36:02.741 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:02.743 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000009a5f728780000000000007] [endOfAllRanges=74800000000000009a5f72f8a0000000000003] [startKeyOfFirstRegion=7480000000000000ff9a5f728780000000ff0000070000000000fa] [endKeyOfLastRegion=7480000000000000ff9a5f72f8a0000000ff0000030000000000fa] [2025/04/04 10:36:02.756 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=312] [kvs=6] [importedSize=312] [importedCount=6] [2025/04/04 10:36:02.758 +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.347033ms] [] [2025/04/04 10:36:02.758 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:02.759 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.24538ms] [] [2025/04/04 10:36:02.759 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=11] [step=import] [engine-id=0] [2025/04/04 10:36:02.759 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:02.761 +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.906073ms] [] [2025/04/04 10:36:02.761 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 10:36:02.765 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:02.765 +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.375844ms] [] [2025/04/04 10:36:02.765 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:02.767 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.029129ms] [] [2025/04/04 10:36:02.767 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=11] [step=import] [subtask-id=20] [takeTime=169.783692ms] [] [2025/04/04 10:36:02.767 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [subtaskID=20] [step=import] [takeTime=169.942519ms] [] [2025/04/04 10:36:02.801 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:02.803 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:02.805 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=11] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:02.805 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=11] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:02.837 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=11] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 10:36:02.839 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=11] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:02.839 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:36:02.878 +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 10:36:02.885 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=11] [step=import] [2025/04/04 10:36:02.888 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:02.888 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:02.888 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:02.888 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:02.888 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:02.888 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:02.888 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:02.888 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:02.888 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:02.888 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:02.888 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:02.888 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:02.891 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:02.891 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:02.891 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:02.891 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:02.891 +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=455.1MiB]"] [takeTime=301.966836ms] [] [2025/04/04 10:36:02.893 +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=455.1MiB]"] [2025/04/04 10:36:02.900 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [subtaskID=21] [step=post-process] [2025/04/04 10:36:02.901 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [2025/04/04 10:36:02.901 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [2025/04/04 10:36:02.901 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [2025/04/04 10:36:02.907 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [takeTime=5.752632ms] [] [2025/04/04 10:36:02.907 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [groupId=-1] [size=312] [kvs=6] [checksum=602317331038109679] [2025/04/04 10:36:02.907 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [checksum="{cksum=602317331038109679,size=312,kvs=6}"] [2025/04/04 10:36:02.907 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [weight=30] [2025/04/04 10:36:02.907 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [concurrency=15] [2025/04/04 10:36:02.909 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=154] [physicalTableID=154] [indexID=-1] [checksum=602317331038109679] [totalKvs=6] [totalBytes=312] [2025/04/04 10:36:02.909 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:02.909 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [local="{cksum=602317331038109679,size=312,kvs=6}"] [2025/04/04 10:36:02.909 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [takeTime=8.356005ms] [] [2025/04/04 10:36:02.909 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [takeTime=8.504349ms] [] [2025/04/04 10:36:02.909 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [subtaskID=21] [step=post-process] [takeTime=8.63308ms] [] [2025/04/04 10:36:02.934 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:02.996 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:02.996 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=11] [step=post-process] [state=running] [] [2025/04/04 10:36:03.000 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=11] [2025/04/04 10:36:03.031 +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=455.1MiB]"] [takeTime=138.432354ms] [] [2025/04/04 10:36:03.031 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=11] [type=ImportInto] [2025/04/04 10:36:03.091 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=11] [2025/04/04 10:36:03.097 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:03.097 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=11] [2025/04/04 10:36:03.120 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:03.291 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.993766795\n# Parse_time: 0.000198914\n# Compile_time: 0.000699058\n# Rewrite_time: 0.000156407\n# Optimize_time: 0.000288117\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('SfBIMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Mi42bXMsIG9wZW46MS4ywrVzLCBjbG9zZTo3NTRucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('ZPBPCmAKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi90aW1lOjk5Mi42bXMsIG9wZW46MS4ywrVzLCBjbG9zZTo3NTRucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (@`1`,@`2`,`a`) SET `c`=@`1`+100, `d`=@`2`, `b`=CONCAT(@`2`, _UTF8MB4'-aa') FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 10:36:03.307 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:156, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:03.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:03.307 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:156, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:03.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:36:03.312 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=156] [conn=2] [job="ID:156, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:03.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:03.329 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=107] [neededSchemaVersion=108] ["elapsed time"=2.642154ms] [gotSchemaVersion=108] [phyTblIDs="[154]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:03.333 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=156] [version=108] [2025/04/04 10:36:03.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=108] ["take time"=9.866827ms] [job="ID:156, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:03.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:03.357 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=156] [conn=2] [job="ID:156, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:03.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:03.375 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=108] [neededSchemaVersion=109] ["elapsed time"=2.609292ms] [gotSchemaVersion=109] [phyTblIDs="[154]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:03.379 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=156] [version=109] [2025/04/04 10:36:03.381 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=109] ["take time"=10.085137ms] [job="ID:156, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:03.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:03.390 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=156] [conn=2] [job="ID:156, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:03.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:03.397 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 154, Old Table Name: t)"] [2025/04/04 10:36:03.412 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=109] [neededSchemaVersion=110] ["elapsed time"=1.212162ms] [gotSchemaVersion=110] [phyTblIDs="[154]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:03.416 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=156] [version=110] [2025/04/04 10:36:03.418 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=110] ["take time"=8.944485ms] [job="ID:156, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:03.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:03.428 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=156] [tableIDs="[154]"] [comment="drop table: table ID"] [2025/04/04 10:36:03.433 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=156] [jobType="drop table"] [2025/04/04 10:36:03.434 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=156] [conn=2] [job="ID:156, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:03.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:03.453 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=156] [2025/04/04 10:36:03.453 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=110] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 10:36:03.468 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:158, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_increment primary key, b int, c varchar(100), d int);"] [2025/04/04 10:36:03.468 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:158, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:03.473 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:157, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:03.479 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 157, Table Name: t)"] [2025/04/04 10:36:03.496 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=110] [neededSchemaVersion=111] ["elapsed time"=1.973315ms] [gotSchemaVersion=111] [phyTblIDs="[157]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:03.499 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=111] [2025/04/04 10:36:03.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=111] ["take time"=9.100405ms] [job="ID:158, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:03.513 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:157, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:03.525 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=158] [2025/04/04 10:36:03.526 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=111] [cur_db=import_into] [sql="create table t (a bigint auto_increment primary key, b int, c varchar(100), d int);"] [user=] [2025/04/04 10:36:03.532 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:03.586 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`b`, `c`, `d`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:03.607 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=12] [task-id=12] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:36:03.622 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=12] [2025/04/04 10:36:03.622 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:36:03.724 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:03.726 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:03.727 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=12] [curr-step=init] [next-step=import] [2025/04/04 10:36:03.736 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:03.738 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:03.738 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:36:03.738 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=101.13µs] [2025/04/04 10:36:03.738 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=243.956µs] [] [2025/04/04 10:36:03.739 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=12] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:03.739 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:36:03.775 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=12] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:36:03.795 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=12] [step=import] [2025/04/04 10:36:03.795 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:03.803 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:03.803 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:03.804 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:03.804 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:03.804 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:03.804 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:03.804 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:03.804 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:03.804 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:03.805 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:03.817 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:03.819 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:03.819 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:03.819 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=12] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:03.819 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=12] [disk-quota=347.8GiB] [2025/04/04 10:36:03.819 +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=455.1MiB]"] [2025/04/04 10:36:03.827 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [subtaskID=22] [step=import] [2025/04/04 10:36:03.827 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=12] [step=import] [subtask-id=22] [2025/04/04 10:36:03.830 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=12] [mode=Import] [2025/04/04 10:36:03.831 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:03.834 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:03.834 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=157] [2025/04/04 10:36:03.857 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=12] [2025/04/04 10:36:03.886 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=157] [key=db.tbl.001.csv:0] [2025/04/04 10:36:03.888 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=157] [key=db.tbl.001.csv:0] [readDur=780.801µs] [encodeDur=584.784µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=542.115µs] [type=file] [takeTime=2.208182ms] [] [2025/04/04 10:36:03.889 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=157] [2025/04/04 10:36:03.889 +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/10234491-4e7c-4088-b14f-4178875b7f87.sst] [firstKey=74800000000000009D5F728000000000000001] [lastKey=74800000000000009D5F728000000000000002] [2025/04/04 10:36:03.913 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=157] [key=db.tbl.002.csv:0] [2025/04/04 10:36:03.915 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=157] [key=db.tbl.002.csv:0] [readDur=1.001447ms] [encodeDur=644.805µs] [checksum="{cksum=12305018038957930638,size=82,kvs=2}"] [deliverDur=24.56µs] [type=file] [takeTime=1.99278ms] [] [2025/04/04 10:36:03.916 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=157] [2025/04/04 10:36:03.916 +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/666cec3c-82a9-4b50-82a1-85002028a4b1.sst] [firstKey=74800000000000009D5F728000000000000006] [lastKey=74800000000000009D5F728000000000000007] [2025/04/04 10:36:03.941 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=157] [key=db.tbl.003.csv:0] [2025/04/04 10:36:03.943 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=157] [key=db.tbl.003.csv:0] [readDur=1.027613ms] [encodeDur=658.404µs] [checksum="{cksum=17907548893808300386,size=82,kvs=2}"] [deliverDur=16.377µs] [type=file] [takeTime=2.047438ms] [] [2025/04/04 10:36:03.944 +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/fb4af3c5-8551-4ea0-b582-eeafd6ddef34.sst] [firstKey=74800000000000009D5F72800000000000000B] [lastKey=74800000000000009D5F72800000000000000C] [2025/04/04 10:36:03.944 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=12] [step=import] [engine-id=0] [2025/04/04 10:36:03.944 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=12] [step=import] [engine-id=0] [2025/04/04 10:36:03.944 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:03.946 +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.126284ms] [] [2025/04/04 10:36:03.947 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 10:36:03.952 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:03.974 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/04 10:36:03.974 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:03.976 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000009d5f728000000000000001] [endOfAllRanges=74800000000000009d5f72800000000000000d] [startKeyOfFirstRegion=7480000000000000ff9d5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff9d5f728000000000ff00000d0000000000fa] [2025/04/04 10:36:03.988 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/04 10:36:03.990 +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.347658ms] [] [2025/04/04 10:36:03.990 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:03.991 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.242562ms] [] [2025/04/04 10:36:03.991 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=12] [step=import] [engine-id=0] [2025/04/04 10:36:03.991 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:03.993 +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.532281ms] [] [2025/04/04 10:36:03.993 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 10:36:03.997 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:03.997 +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.575646ms] [] [2025/04/04 10:36:03.997 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:03.998 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=933.084µs] [] [2025/04/04 10:36:03.998 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=12] [step=import] [subtask-id=22] [takeTime=171.030996ms] [] [2025/04/04 10:36:03.998 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [subtaskID=22] [step=import] [takeTime=171.684717ms] [] [2025/04/04 10:36:04.030 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:04.031 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:04.033 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=12] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:04.033 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=12] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:04.062 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=12] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 10:36:04.064 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=12] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:04.064 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:36:04.099 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:04.105 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=12] [step=import] [2025/04/04 10:36:04.108 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:04.108 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:04.108 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:04.108 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:04.108 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:04.108 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:04.108 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:04.108 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:04.108 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:04.108 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:04.108 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:04.108 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:04.110 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:04.110 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:04.110 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:04.110 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:04.110 +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=455.1MiB]"] [takeTime=291.297424ms] [] [2025/04/04 10:36:04.112 +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=455.1MiB]"] [2025/04/04 10:36:04.119 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [subtaskID=23] [step=post-process] [2025/04/04 10:36:04.119 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [2025/04/04 10:36:04.119 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [2025/04/04 10:36:04.119 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [2025/04/04 10:36:04.125 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [takeTime=6.041337ms] [] [2025/04/04 10:36:04.126 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [groupId=-1] [size=246] [kvs=6] [checksum=5007723872062626566] [2025/04/04 10:36:04.126 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [checksum="{cksum=5007723872062626566,size=246,kvs=6}"] [2025/04/04 10:36:04.126 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [weight=30] [2025/04/04 10:36:04.126 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [concurrency=15] [2025/04/04 10:36:04.127 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=157] [physicalTableID=157] [indexID=-1] [checksum=5007723872062626566] [totalKvs=6] [totalBytes=246] [2025/04/04 10:36:04.128 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:04.128 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [local="{cksum=5007723872062626566,size=246,kvs=6}"] [2025/04/04 10:36:04.128 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [takeTime=8.448553ms] [] [2025/04/04 10:36:04.128 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [takeTime=8.573141ms] [] [2025/04/04 10:36:04.128 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [subtaskID=23] [step=post-process] [takeTime=8.688354ms] [] [2025/04/04 10:36:04.138 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:04.229 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:04.229 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=12] [step=post-process] [state=running] [] [2025/04/04 10:36:04.232 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=12] [2025/04/04 10:36:04.251 +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=455.1MiB]"] [takeTime=139.076036ms] [] [2025/04/04 10:36:04.251 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=12] [type=ImportInto] [2025/04/04 10:36:04.325 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=12] [2025/04/04 10:36:04.331 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:04.331 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=12] [2025/04/04 10:36:04.353 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:04.523 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.996497289\n# Parse_time: 0.000105799\n# Compile_time: 0.000543324\n# Rewrite_time: 0.000140568\n# Optimize_time: 0.000435371\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NS42bXMsIG9wZW46NjYxbnMsIGNsb3NlOjEuMDLCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk5NS42bXMsIG9wZW46NjYxbnMsIGNsb3NlOjEuMDLCtXMsIGxvb3BzOjJw//////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 10:36:04.539 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:04.538 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:36:04.550 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=2] [job="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:157, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:04.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.567 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=111] [neededSchemaVersion=112] ["elapsed time"=2.616104ms] [gotSchemaVersion=112] [phyTblIDs="[157]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:04.571 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=112] [2025/04/04 10:36:04.573 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=112] ["take time"=10.135681ms] [job="ID:159, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.583 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=2] [job="ID:159, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:157, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:04.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.600 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=112] [neededSchemaVersion=113] ["elapsed time"=2.567481ms] [gotSchemaVersion=113] [phyTblIDs="[157]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:04.603 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=113] [2025/04/04 10:36:04.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=113] ["take time"=9.633432ms] [job="ID:159, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.614 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=2] [job="ID:159, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:157, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:04.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.620 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 157, Old Table Name: t)"] [2025/04/04 10:36:04.635 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=113] [neededSchemaVersion=114] ["elapsed time"=1.161278ms] [gotSchemaVersion=114] [phyTblIDs="[157]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:04.639 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=114] [2025/04/04 10:36:04.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=114] ["take time"=9.159533ms] [job="ID:159, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.651 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=159] [tableIDs="[157]"] [comment="drop table: table ID"] [2025/04/04 10:36:04.655 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=159] [jobType="drop table"] [2025/04/04 10:36:04.656 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=159] [conn=2] [job="ID:159, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.674 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=159] [2025/04/04 10:36:04.674 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=114] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 10:36:04.687 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:04.687 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_random primary key, b int, c varchar(100), d int);"] [2025/04/04 10:36:04.693 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:04.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.698 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 160, Table Name: t)"] [2025/04/04 10:36:04.715 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=114] [neededSchemaVersion=115] ["elapsed time"=1.932616ms] [gotSchemaVersion=115] [phyTblIDs="[160]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:04.718 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=115] [2025/04/04 10:36:04.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=115] ["take time"=8.842522ms] [job="ID:161, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:04.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.731 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:04.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:04.743 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=161] [2025/04/04 10:36:04.743 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=115] [cur_db=import_into] [sql="create table t (a bigint auto_random primary key, b int, c varchar(100), d int);"] [user=] [2025/04/04 10:36:04.750 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:04.798 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`b`, `c`, `d`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:04.817 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=13] [task-id=13] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:36:04.831 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=13] [2025/04/04 10:36:04.831 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:36:04.934 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:04.936 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:04.938 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=13] [curr-step=init] [next-step=import] [2025/04/04 10:36:04.946 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:04.949 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:04.949 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:36:04.949 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=61.728µs] [2025/04/04 10:36:04.949 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=150.134µs] [] [2025/04/04 10:36:04.949 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=13] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:04.949 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:36:04.985 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=13] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:36:05.006 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=13] [step=import] [2025/04/04 10:36:05.007 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:05.015 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:05.015 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:05.015 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:05.015 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:05.016 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:05.016 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:05.016 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:05.016 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:05.016 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:05.016 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:05.028 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:05.030 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:05.030 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:05.030 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=13] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:05.030 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=13] [disk-quota=347.8GiB] [2025/04/04 10:36:05.030 +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=455.1MiB]"] [2025/04/04 10:36:05.039 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [subtaskID=24] [step=import] [2025/04/04 10:36:05.039 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=13] [step=import] [subtask-id=24] [2025/04/04 10:36:05.042 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=13] [mode=Import] [2025/04/04 10:36:05.044 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:05.048 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:05.048 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=160] [2025/04/04 10:36:05.065 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=13] [2025/04/04 10:36:05.125 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=160] [key=db.tbl.001.csv:0] [2025/04/04 10:36:05.128 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=160] [key=db.tbl.001.csv:0] [readDur=1.090061ms] [encodeDur=670.39µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=548.069µs] [type=file] [takeTime=2.66327ms] [] [2025/04/04 10:36:05.129 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=160] [2025/04/04 10:36:05.129 +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/c7636596-0137-4f90-aa41-7b88046c3fd0.sst] [firstKey=7480000000000000A05F728400000000000001] [lastKey=7480000000000000A05F728400000000000002] [2025/04/04 10:36:05.207 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=160] [key=db.tbl.002.csv:0] [2025/04/04 10:36:05.209 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=160] [key=db.tbl.002.csv:0] [readDur=905.383µs] [encodeDur=249.06µs] [checksum="{cksum=12305018038957930638,size=82,kvs=2}"] [deliverDur=25.459µs] [type=file] [takeTime=1.434116ms] [] [2025/04/04 10:36:05.209 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=160] [2025/04/04 10:36:05.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/13/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/9c15cc08-c067-4032-a4aa-6e42d229e1b8.sst] [firstKey=7480000000000000A05F728000000000000006] [lastKey=7480000000000000A05F728000000000000007] [2025/04/04 10:36:05.280 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=160] [key=db.tbl.003.csv:0] [2025/04/04 10:36:05.282 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=160] [key=db.tbl.003.csv:0] [readDur=882.336µs] [encodeDur=597.343µs] [checksum="{cksum=17907548893808300386,size=82,kvs=2}"] [deliverDur=43.721µs] [type=file] [takeTime=1.7665ms] [] [2025/04/04 10:36:05.283 +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/bc1ff6ee-88d5-46a9-9cb1-fa8262b7ba0d.sst] [firstKey=7480000000000000A05F728C0000000000000B] [lastKey=7480000000000000A05F728C0000000000000C] [2025/04/04 10:36:05.283 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=13] [step=import] [engine-id=0] [2025/04/04 10:36:05.283 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=13] [step=import] [engine-id=0] [2025/04/04 10:36:05.283 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:05.285 +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.177309ms] [] [2025/04/04 10:36:05.285 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 10:36:05.290 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:05.312 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/04 10:36:05.312 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:05.314 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000a05f728000000000000006] [endOfAllRanges=7480000000000000a05f728c0000000000000d] [startKeyOfFirstRegion=7480000000000000ffa05f728000000000ff0000060000000000fa] [endKeyOfLastRegion=7480000000000000ffa05f728c00000000ff00000d0000000000fa] [2025/04/04 10:36:05.325 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/04 10:36:05.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=41.788023ms] [] [2025/04/04 10:36:05.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 10:36:05.328 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.220561ms] [] [2025/04/04 10:36:05.328 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=13] [step=import] [engine-id=0] [2025/04/04 10:36:05.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 10:36:05.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.758157ms] [] [2025/04/04 10:36:05.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 10:36:05.334 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:05.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.747881ms] [] [2025/04/04 10:36:05.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 10:36:05.335 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=884.056µs] [] [2025/04/04 10:36:05.335 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=13] [step=import] [subtask-id=24] [takeTime=295.926126ms] [] [2025/04/04 10:36:05.335 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [subtaskID=24] [step=import] [takeTime=296.090458ms] [] [2025/04/04 10:36:05.438 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:05.440 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:05.441 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=13] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:05.441 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=13] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:05.471 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=13] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 10:36:05.473 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=13] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:05.473 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:36:05.478 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:36:05.478 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=13] [step=import] [2025/04/04 10:36:05.481 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:05.481 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:05.481 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:05.481 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:05.481 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:05.481 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:05.481 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:05.481 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:05.481 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-14] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:05.481 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:05.481 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:05.481 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:05.483 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:05.483 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:05.483 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:05.483 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:05.483 +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=455.1MiB]"] [takeTime=453.017109ms] [] [2025/04/04 10:36:05.483 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=13] [type=ImportInto] [2025/04/04 10:36:05.505 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=13] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:36:05.525 +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=455.1MiB]"] [2025/04/04 10:36:05.532 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [subtaskID=25] [step=post-process] [2025/04/04 10:36:05.532 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [2025/04/04 10:36:05.532 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [2025/04/04 10:36:05.532 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [2025/04/04 10:36:05.538 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [takeTime=5.71728ms] [] [2025/04/04 10:36:05.538 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [groupId=-1] [size=246] [kvs=6] [checksum=5007723872062626566] [2025/04/04 10:36:05.538 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [checksum="{cksum=5007723872062626566,size=246,kvs=6}"] [2025/04/04 10:36:05.538 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [weight=30] [2025/04/04 10:36:05.538 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [concurrency=15] [2025/04/04 10:36:05.540 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=160] [physicalTableID=160] [indexID=-1] [checksum=5007723872062626566] [totalKvs=6] [totalBytes=246] [2025/04/04 10:36:05.540 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:05.540 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [local="{cksum=5007723872062626566,size=246,kvs=6}"] [2025/04/04 10:36:05.540 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [takeTime=8.174437ms] [] [2025/04/04 10:36:05.540 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [takeTime=8.329858ms] [] [2025/04/04 10:36:05.541 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [subtaskID=25] [step=post-process] [takeTime=8.498241ms] [] [2025/04/04 10:36:05.558 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:05.639 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:05.639 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=13] [step=post-process] [state=running] [] [2025/04/04 10:36:05.642 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=13] [2025/04/04 10:36:05.659 +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=455.1MiB]"] [takeTime=134.701195ms] [] [2025/04/04 10:36:05.659 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=13] [type=ImportInto] [2025/04/04 10:36:05.733 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=13] [2025/04/04 10:36:05.734 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.989950098\n# Parse_time: 0.000121373\n# Compile_time: 0.000533876\n# Rewrite_time: 0.00011614\n# Optimize_time: 0.000300852\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OW1zLCBvcGVuOjc0NG5zLCBjbG9zZTo2NDBucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjk4OW1zLCBvcGVuOjc0NG5zLCBjbG9zZTo2NDBucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`b`,`c`,`d`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 10:36:05.740 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:05.740 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=13] [2025/04/04 10:36:05.749 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:162, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:05.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:05.749 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:162, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:05.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:36:05.755 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=162] [conn=2] [job="ID:162, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:05.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:05.761 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:05.774 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=115] [neededSchemaVersion=116] ["elapsed time"=2.962756ms] [gotSchemaVersion=116] [phyTblIDs="[160]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:05.777 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=162] [version=116] [2025/04/04 10:36:05.779 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=116] ["take time"=10.482225ms] [job="ID:162, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:05.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:05.789 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=162] [conn=2] [job="ID:162, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:05.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:05.807 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=116] [neededSchemaVersion=117] ["elapsed time"=3.440405ms] [gotSchemaVersion=117] [phyTblIDs="[160]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:05.810 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=162] [version=117] [2025/04/04 10:36:05.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=117] ["take time"=10.685394ms] [job="ID:162, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:05.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:05.821 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=162] [conn=2] [job="ID:162, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:05.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:05.827 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 160, Old Table Name: t)"] [2025/04/04 10:36:05.842 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=117] [neededSchemaVersion=118] ["elapsed time"=1.105834ms] [gotSchemaVersion=118] [phyTblIDs="[160]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:05.845 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=162] [version=118] [2025/04/04 10:36:05.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=118] ["take time"=8.212401ms] [job="ID:162, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:05.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:05.858 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=162] [tableIDs="[160]"] [comment="drop table: table ID"] [2025/04/04 10:36:05.862 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=162] [jobType="drop table"] [2025/04/04 10:36:05.863 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=162] [conn=2] [job="ID:162, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:05.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:05.882 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=162] [2025/04/04 10:36:05.882 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=118] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 10:36:05.896 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:169, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:05.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:05.896 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:169, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:05.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int) partition by hash(a) partitions 5;"] [2025/04/04 10:36:05.901 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=2] [job="ID:169, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:163, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:05.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:05.907 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 163, Table Name: t)"] [2025/04/04 10:36:05.925 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=118] [neededSchemaVersion=119] ["elapsed time"=2.391915ms] [gotSchemaVersion=119] [phyTblIDs="[163,164,165,166,167,168]"] [actionTypes="[3,3,3,3,3,3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:05.928 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=169] [version=119] [2025/04/04 10:36:05.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=119] ["take time"=9.31189ms] [job="ID:169, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:05.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:05.943 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=169] [conn=2] [job="ID:169, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:163, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:05.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:05.955 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=169] [2025/04/04 10:36:05.955 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=119] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int) partition by hash(a) partitions 5;"] [user=] [2025/04/04 10:36:05.962 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:06.013 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`c`, `b`, `a`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:06.036 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=14] [task-id=14] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:36:06.050 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=14] [2025/04/04 10:36:06.050 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:36:06.152 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:06.154 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:06.157 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=14] [curr-step=init] [next-step=import] [2025/04/04 10:36:06.166 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:06.169 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:06.169 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:36:06.169 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=68.115µs] [2025/04/04 10:36:06.169 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=158.329µs] [] [2025/04/04 10:36:06.169 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=14] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:06.169 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:36:06.207 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=14] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:36:06.227 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=14] [step=import] [2025/04/04 10:36:06.228 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:06.236 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:06.236 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:06.236 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:06.236 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:06.236 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:06.236 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:06.237 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:06.237 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:06.237 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:06.237 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:06.251 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:06.253 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:06.253 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:06.253 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=14] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:06.253 +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=455.1MiB]"] [2025/04/04 10:36:06.253 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=14] [disk-quota=347.8GiB] [2025/04/04 10:36:06.258 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=14] [mode=Import] [2025/04/04 10:36:06.261 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [subtaskID=26] [step=import] [2025/04/04 10:36:06.261 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=14] [step=import] [subtask-id=26] [2025/04/04 10:36:06.265 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:06.268 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:06.269 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=163] [2025/04/04 10:36:06.278 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=14] [2025/04/04 10:36:06.342 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=163] [key=db.tbl.001.csv:0] [2025/04/04 10:36:06.345 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=163] [key=db.tbl.001.csv:0] [readDur=985.556µs] [encodeDur=635.553µs] [checksum="{cksum=16213359102171664855,size=82,kvs=2}"] [deliverDur=573.169µs] [type=file] [takeTime=2.477413ms] [] [2025/04/04 10:36:06.346 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=163] [2025/04/04 10:36:06.346 +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/01bad782-349a-419f-9354-adaab95b095e.sst] [firstKey=7480000000000000A55F728000000000000001] [lastKey=7480000000000000A65F728000000000000002] [2025/04/04 10:36:06.394 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=163] [key=db.tbl.002.csv:0] [2025/04/04 10:36:06.396 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=163] [key=db.tbl.002.csv:0] [readDur=811.131µs] [encodeDur=262.307µs] [checksum="{cksum=14751810491585428438,size=82,kvs=2}"] [deliverDur=24.009µs] [type=file] [takeTime=1.333705ms] [] [2025/04/04 10:36:06.397 +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/1bd029c7-019c-4602-9879-2180a8396a3a.sst] [firstKey=7480000000000000A75F728000000000000008] [lastKey=7480000000000000A85F728000000000000009] [2025/04/04 10:36:06.397 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=163] [2025/04/04 10:36:06.445 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=163] [key=db.tbl.003.csv:0] [2025/04/04 10:36:06.447 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=163] [key=db.tbl.003.csv:0] [readDur=957.765µs] [encodeDur=616.333µs] [checksum="{cksum=11041058475576731475,size=82,kvs=2}"] [deliverDur=30.752µs] [type=file] [takeTime=1.842243ms] [] [2025/04/04 10:36:06.448 +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/1ded933a-4c92-4914-902d-a3f40f9d5631.sst] [firstKey=7480000000000000A45F72800000000000000F] [lastKey=7480000000000000A55F728000000000000010] [2025/04/04 10:36:06.448 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=14] [step=import] [engine-id=0] [2025/04/04 10:36:06.448 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=14] [step=import] [engine-id=0] [2025/04/04 10:36:06.448 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:06.451 +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.636291ms] [] [2025/04/04 10:36:06.451 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 10:36:06.456 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:06.478 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/04 10:36:06.478 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:06.480 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000a45f72800000000000000f] [endOfAllRanges=7480000000000000a85f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ffa45f728000000000ff00000f0000000000fa] [endKeyOfLastRegion=7480000000000000ffa85f728000000000ff00000a0000000000fa] [2025/04/04 10:36:06.492 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/04 10:36:06.494 +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.265138ms] [] [2025/04/04 10:36:06.494 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:06.496 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.477825ms] [] [2025/04/04 10:36:06.496 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=14] [step=import] [engine-id=0] [2025/04/04 10:36:06.496 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:06.497 +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.652999ms] [] [2025/04/04 10:36:06.497 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 10:36:06.501 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:06.501 +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.718797ms] [] [2025/04/04 10:36:06.501 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:06.502 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=898.785µs] [] [2025/04/04 10:36:06.502 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=14] [step=import] [subtask-id=26] [takeTime=241.71437ms] [] [2025/04/04 10:36:06.503 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [subtaskID=26] [step=import] [takeTime=242.210039ms] [] [2025/04/04 10:36:06.557 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:06.559 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:06.561 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=14] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:06.561 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=14] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:06.593 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=14] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 10:36:06.595 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=14] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:06.595 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:36:06.632 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:06.639 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=14] [step=import] [2025/04/04 10:36:06.642 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:06.642 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:06.642 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:06.642 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:06.642 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:06.642 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:06.642 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:06.642 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:06.642 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-15] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:06.642 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:06.642 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:06.642 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:06.644 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:06.644 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:06.644 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:06.644 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:06.644 +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=455.1MiB]"] [takeTime=391.333296ms] [] [2025/04/04 10:36:06.646 +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=455.1MiB]"] [2025/04/04 10:36:06.654 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [subtaskID=27] [step=post-process] [2025/04/04 10:36:06.654 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [2025/04/04 10:36:06.654 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [2025/04/04 10:36:06.654 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [2025/04/04 10:36:06.661 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [takeTime=6.568985ms] [] [2025/04/04 10:36:06.661 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [groupId=-1] [size=246] [kvs=6] [checksum=13006432450665811282] [2025/04/04 10:36:06.661 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [checksum="{cksum=13006432450665811282,size=246,kvs=6}"] [2025/04/04 10:36:06.661 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [weight=30] [2025/04/04 10:36:06.661 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [concurrency=15] [2025/04/04 10:36:06.663 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=166] [indexID=-1] [checksum=2371675647220738361] [totalKvs=1] [totalBytes=41] [2025/04/04 10:36:06.663 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=165] [indexID=-1] [checksum=11108301263936872822] [totalKvs=2] [totalBytes=82] [2025/04/04 10:36:06.663 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=163] [indexID=-1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 10:36:06.664 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=164] [indexID=-1] [checksum=14049448901168824011] [totalKvs=1] [totalBytes=41] [2025/04/04 10:36:06.664 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=167] [indexID=-1] [checksum=1988465643996300784] [totalKvs=1] [totalBytes=41] [2025/04/04 10:36:06.664 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=168] [indexID=-1] [checksum=15501538953154248230] [totalKvs=1] [totalBytes=41] [2025/04/04 10:36:06.664 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:06.665 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [local="{cksum=13006432450665811282,size=246,kvs=6}"] [2025/04/04 10:36:06.665 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [takeTime=10.236359ms] [] [2025/04/04 10:36:06.665 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [takeTime=10.379071ms] [] [2025/04/04 10:36:06.666 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [subtaskID=27] [step=post-process] [takeTime=11.773519ms] [] [2025/04/04 10:36:06.677 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:06.758 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:06.758 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=14] [step=post-process] [state=running] [] [2025/04/04 10:36:06.761 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=14] [2025/04/04 10:36:06.794 +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=455.1MiB]"] [takeTime=147.66792ms] [] [2025/04/04 10:36:06.794 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=14] [type=ImportInto] [2025/04/04 10:36:06.852 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=14] [2025/04/04 10:36:06.859 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:06.859 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=14] [2025/04/04 10:36:06.882 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:06.957 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.000942085\n# Parse_time: 0.000104576\n# Compile_time: 0.000460966\n# Rewrite_time: 0.000087914\n# Optimize_time: 0.000385323\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('Q/BCMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjFzLCBvcGVuOjY4MW5zLCBjbG9zZTo2OTJucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('XvBJCloKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWil0aW1lOjFzLCBvcGVuOjY4MW5zLCBjbG9zZTo2OTJucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`c`,`b`,`a`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 10:36:06.979 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:170, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:06.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:06.979 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:170, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:06.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:36:06.985 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:163, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:06.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:07.006 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=119] [neededSchemaVersion=120] ["elapsed time"=3.462862ms] [gotSchemaVersion=120] [phyTblIDs="[163,164,165,166,167,168]"] [actionTypes="[4,4,4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:07.010 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=120] [2025/04/04 10:36:07.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=120] ["take time"=11.200216ms] [job="ID:170, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:06.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:07.024 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:163, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:06.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:07.044 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=120] [neededSchemaVersion=121] ["elapsed time"=3.954447ms] [gotSchemaVersion=121] [phyTblIDs="[163,164,165,166,167,168]"] [actionTypes="[4,4,4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:07.049 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=121] [2025/04/04 10:36:07.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=121] ["take time"=12.859594ms] [job="ID:170, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:06.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:07.061 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:163, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:06.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:07.071 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 163, Old Table Name: t)"] [2025/04/04 10:36:07.088 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=121] [neededSchemaVersion=122] ["elapsed time"=1.339474ms] [gotSchemaVersion=122] [phyTblIDs="[163,164,165,166,167,168]"] [actionTypes="[4,4,4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:07.092 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=122] [2025/04/04 10:36:07.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=122] ["take time"=9.482368ms] [job="ID:170, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:06.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:07.104 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=170] [tableIDs="[164,165,166,167,168]"] [comment="drop table: partition table IDs"] [2025/04/04 10:36:07.110 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=170] [tableIDs="[163]"] [comment="drop table: table ID"] [2025/04/04 10:36:07.115 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=170] [jobType="drop table"] [2025/04/04 10:36:07.116 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:06.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:07.136 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=170] [2025/04/04 10:36:07.137 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=122] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 10:36:07.152 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:07.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:07.152 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:07.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int, index idx(c) global) partition by hash(a) partitions 5;"] [2025/04/04 10:36:07.158 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=177] [conn=2] [job="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:07.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:07.165 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 171, Table Name: t)"] [2025/04/04 10:36:07.184 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=122] [neededSchemaVersion=123] ["elapsed time"=2.853109ms] [gotSchemaVersion=123] [phyTblIDs="[171,172,173,174,175,176]"] [actionTypes="[3,3,3,3,3,3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:07.188 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=177] [version=123] [2025/04/04 10:36:07.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=123] ["take time"=10.311582ms] [job="ID:177, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:07.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:07.202 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=177] [conn=2] [job="ID:177, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:07.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:07.215 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=177] [2025/04/04 10:36:07.216 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=123] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int, index idx(c) global) partition by hash(a) partitions 5;"] [user=] [2025/04/04 10:36:07.222 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:07.279 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`c`, `b`, `a`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:07.304 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=15] [task-id=15] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:36:07.320 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=15] [2025/04/04 10:36:07.320 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:36:07.424 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:07.425 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:07.427 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=15] [curr-step=init] [next-step=import] [2025/04/04 10:36:07.437 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:07.440 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:07.440 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:36:07.440 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=107.528µs] [2025/04/04 10:36:07.440 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=206.923µs] [] [2025/04/04 10:36:07.440 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=15] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:07.440 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:36:07.478 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=15] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:36:07.499 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=15] [step=import] [2025/04/04 10:36:07.500 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:07.508 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:07.508 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:07.509 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:07.509 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:07.510 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:07.510 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:07.510 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:07.510 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:07.510 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:07.511 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:07.523 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:07.525 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:07.525 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:07.526 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=15] [step=import] [data-buf-limit=170.7MiB] [per-index-buf-limit=56.89MiB] [index-buf-block-size=56.89MiB] [2025/04/04 10:36:07.526 +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=455.1MiB]"] [2025/04/04 10:36:07.526 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=15] [disk-quota=347.8GiB] [2025/04/04 10:36:07.531 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=15] [mode=Import] [2025/04/04 10:36:07.533 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [subtaskID=28] [step=import] [2025/04/04 10:36:07.534 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=15] [step=import] [subtask-id=28] [2025/04/04 10:36:07.538 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:07.542 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:07.542 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=171] [2025/04/04 10:36:07.562 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=15] [2025/04/04 10:36:07.627 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=171] [key=db.tbl.001.csv:0] [2025/04/04 10:36:07.629 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=171] [key=db.tbl.001.csv:0] [readDur=902.798µs] [encodeDur=330.023µs] [checksum="{cksum=1662318414680892248,size=176,kvs=4}"] [deliverDur=46.339µs] [type=file] [takeTime=1.806824ms] [] [2025/04/04 10:36:07.630 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=171] [2025/04/04 10:36:07.630 +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/18e4d8d1-6089-480f-a8bc-c14d0f59ec99.sst] [firstKey=7480000000000000AD5F728000000000000001] [lastKey=7480000000000000AE5F728000000000000002] [2025/04/04 10:36:07.707 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=171] [key=db.tbl.002.csv:0] [2025/04/04 10:36:07.709 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=171] [key=db.tbl.002.csv:0] [readDur=1.181944ms] [encodeDur=341.677µs] [checksum="{cksum=4412110495057608976,size=176,kvs=4}"] [deliverDur=46.924µs] [type=file] [takeTime=1.884278ms] [] [2025/04/04 10:36:07.711 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=171] [2025/04/04 10:36:07.711 +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/4c9d5abc-38a4-4eb6-b05b-f79ca4357221.sst] [firstKey=7480000000000000AF5F728000000000000008] [lastKey=7480000000000000B05F728000000000000009] [2025/04/04 10:36:07.741 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=171] [key=db.tbl.003.csv:0] [2025/04/04 10:36:07.744 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=171] [key=db.tbl.003.csv:0] [readDur=1.210717ms] [encodeDur=771.811µs] [checksum="{cksum=7701721142981934355,size=176,kvs=4}"] [deliverDur=45.918µs] [type=file] [takeTime=2.261705ms] [] [2025/04/04 10:36:07.745 +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/5f69094c-d43d-4925-89bd-84befadee39a.sst] [firstKey=7480000000000000AC5F72800000000000000F] [lastKey=7480000000000000AD5F728000000000000010] [2025/04/04 10:36:07.745 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=15] [step=import] [engine-id=0] [2025/04/04 10:36:07.745 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=15] [step=import] [engine-id=0] [2025/04/04 10:36:07.746 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:07.748 +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.535593ms] [] [2025/04/04 10:36:07.748 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 10:36:07.753 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:07.775 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/04 10:36:07.776 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:07.778 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000ac5f72800000000000000f] [endOfAllRanges=7480000000000000b05f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ffac5f728000000000ff00000f0000000000fa] [endKeyOfLastRegion=7480000000000000ffb05f728000000000ff00000a0000000000fa] [2025/04/04 10:36:07.790 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/04 10:36:07.792 +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.03862ms] [] [2025/04/04 10:36:07.792 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:07.795 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=2.093676ms] [] [2025/04/04 10:36:07.795 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=15] [step=import] [engine-id=0] [2025/04/04 10:36:07.795 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:07.796 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=3] [size=282] [count=6] [cost=1.489322ms] [file=/tmp/tidb/import-4000/15/2d9462f7-8d8a-52db-8655-8d0214d0d974.sst/4e2f6c95-0db6-4fff-b323-fd928c626b68.sst] [2025/04/04 10:36:07.796 +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/4e2f6c95-0db6-4fff-b323-fd928c626b68.sst] [firstKey=7480000000000000AB5F698000000000000001038000000000000001038000000000000001] [lastKey=7480000000000000AB5F698000000000000001038000000000000006038000000000000010] [2025/04/04 10:36:07.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=4.545469ms] [] [2025/04/04 10:36:07.799 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 10:36:07.804 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:07.826 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2d9462f7-8d8a-52db-8655-8d0214d0d974] ["region ranges"=1] [count=6] [size=282] [2025/04/04 10:36:07.826 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:07.828 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000ab5f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=7480000000000000ab5f69800000000000000103800000000000000603800000000000001000] [startKeyOfFirstRegion=7480000000000000ffab5f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ffab5f698000000000ff0000010380000000ff0000000603800000ff0000000010000000fd] [2025/04/04 10:36:07.841 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2d9462f7-8d8a-52db-8655-8d0214d0d974] [size=282] [kvs=6] [importedSize=282] [importedCount=6] [2025/04/04 10:36:07.843 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=44.096986ms] [] [2025/04/04 10:36:07.844 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:07.845 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.611525ms] [] [2025/04/04 10:36:07.845 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=15] [step=import] [subtask-id=28] [takeTime=311.752422ms] [] [2025/04/04 10:36:07.846 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [subtaskID=28] [step=import] [takeTime=312.290625ms] [] [2025/04/04 10:36:07.928 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:07.930 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:07.931 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=15] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:07.931 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=15] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:07.965 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=15] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 10:36:07.968 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=15] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:07.968 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:36:08.000 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:08.007 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=15] [step=import] [2025/04/04 10:36:08.012 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:08.012 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:08.012 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:08.012 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:08.012 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:08.012 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:08.012 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:08.012 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:08.012 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-16] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:08.012 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:08.013 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:08.013 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:08.015 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:08.015 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:08.015 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:08.016 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:08.016 +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=455.1MiB]"] [takeTime=489.922407ms] [] [2025/04/04 10:36:08.018 +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=455.1MiB]"] [2025/04/04 10:36:08.027 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [subtaskID=29] [step=post-process] [2025/04/04 10:36:08.027 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [2025/04/04 10:36:08.027 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [2025/04/04 10:36:08.027 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [2025/04/04 10:36:08.034 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [takeTime=6.396675ms] [] [2025/04/04 10:36:08.034 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [groupId=-1] [size=246] [kvs=6] [checksum=15435699723023344983] [2025/04/04 10:36:08.034 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [groupId=1] [size=282] [kvs=6] [checksum=10880652011295013388] [2025/04/04 10:36:08.034 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [checksum="{cksum=4668341958182575963,size=528,kvs=12}"] [2025/04/04 10:36:08.034 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [weight=30] [2025/04/04 10:36:08.034 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [concurrency=15] [2025/04/04 10:36:08.040 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=172] [indexID=-1] [checksum=4237504610754446731] [totalKvs=1] [totalBytes=41] [2025/04/04 10:36:08.040 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=171] [indexID=-1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 10:36:08.040 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=172] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 10:36:08.041 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=173] [indexID=-1] [checksum=11108301263936872822] [totalKvs=2] [totalBytes=82] [2025/04/04 10:36:08.041 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=174] [indexID=-1] [checksum=15627185901153243769] [totalKvs=1] [totalBytes=41] [2025/04/04 10:36:08.041 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=173] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 10:36:08.041 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=171] [indexID=1] [checksum=10880652011295013388] [totalKvs=6] [totalBytes=282] [2025/04/04 10:36:08.041 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=174] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 10:36:08.042 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=175] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 10:36:08.042 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=175] [indexID=-1] [checksum=16406466517589687984] [totalKvs=1] [totalBytes=41] [2025/04/04 10:36:08.042 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=176] [indexID=-1] [checksum=5593806493376572771] [totalKvs=1] [totalBytes=41] [2025/04/04 10:36:08.042 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=176] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 10:36:08.042 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:08.042 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [local="{cksum=4668341958182575963,size=528,kvs=12}"] [2025/04/04 10:36:08.042 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [takeTime=15.08148ms] [] [2025/04/04 10:36:08.042 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [takeTime=15.244654ms] [] [2025/04/04 10:36:08.043 +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.367393ms] [] [2025/04/04 10:36:08.058 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:08.127 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:08.127 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=15] [step=post-process] [state=running] [] [2025/04/04 10:36:08.130 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=15] [2025/04/04 10:36:08.162 +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=455.1MiB]"] [takeTime=144.214447ms] [] [2025/04/04 10:36:08.162 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=15] [type=ImportInto] [2025/04/04 10:36:08.221 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.004814509\n# Parse_time: 0.000108432\n# Compile_time: 0.000521083\n# Rewrite_time: 0.000103944\n# Optimize_time: 0.000373949\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('Q/BCMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjFzLCBvcGVuOjcwN25zLCBjbG9zZTo2NjBucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('XvBJCloKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWil0aW1lOjFzLCBvcGVuOjcwN25zLCBjbG9zZTo2NjBucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`c`,`b`,`a`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 10:36:08.222 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=15] --- PASS: TestImportInto/TestBasicImportInto (17.56s) === NAME TestImportInto === RUN TestImportInto/TestCancelJob [2025/04/04 10:36:08.228 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=123] [cur_db=import_into] [sql="drop database if exists test_cancel_job"] [user=] [2025/04/04 10:36:08.229 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:08.229 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=15] [2025/04/04 10:36:08.241 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:179, Type:create schema, State:queueing, SchemaState:none, SchemaID:178, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:08.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:08.241 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:179, Type:create schema, State:queueing, SchemaState:none, SchemaID:178, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:08.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database test_cancel_job"] [2025/04/04 10:36:08.247 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=179] [conn=2] [job="ID:179, Type:create schema, State:queueing, SchemaState:none, SchemaID:178, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:08.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:08.255 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:08.261 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=123] [neededSchemaVersion=124] ["elapsed time"=773.345µs] [gotSchemaVersion=124] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:36:08.265 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=179] [version=124] [2025/04/04 10:36:08.267 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=124] ["take time"=8.240211ms] [job="ID:179, Type:create schema, State:done, SchemaState:public, SchemaID:178, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:08.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:08.278 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=179] [conn=2] [job="ID:179, Type:create schema, State:synced, SchemaState:public, SchemaID:178, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:08.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:08.288 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=179] [2025/04/04 10:36:08.289 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=124] [cur_db=import_into] [sql="create database test_cancel_job"] [user=] [2025/04/04 10:36:08.302 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:181, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:180, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:08.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/04 10:36:08.302 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:181, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:180, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:08.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:08.307 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:180, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:08.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:08.312 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 180, Table Name: t1)"] [2025/04/04 10:36:08.326 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=124] [neededSchemaVersion=125] ["elapsed time"=1.648804ms] [gotSchemaVersion=125] [phyTblIDs="[180]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:08.330 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=125] [2025/04/04 10:36:08.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=125] ["take time"=9.668281ms] [job="ID:181, Type:create table, State:done, SchemaState:public, SchemaID:178, TableID:180, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:08.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:08.343 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:create table, State:synced, SchemaState:public, SchemaID:178, TableID:180, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:08.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:08.356 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=181] [2025/04/04 10:36:08.356 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=125] [cur_db=test_cancel_job] [sql="CREATE TABLE t1 (i INT PRIMARY KEY);"] [user=] [2025/04/04 10:36:08.370 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:08.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:08.370 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:08.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t2 (i INT PRIMARY KEY);"] [2025/04/04 10:36:08.376 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=2] [job="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:08.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:08.381 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 182, Table Name: t2)"] [2025/04/04 10:36:08.395 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=125] [neededSchemaVersion=126] ["elapsed time"=1.53936ms] [gotSchemaVersion=126] [phyTblIDs="[182]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:08.398 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=126] [2025/04/04 10:36:08.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=126] ["take time"=8.631611ms] [job="ID:183, Type:create table, State:done, SchemaState:public, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:08.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:08.411 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=183] [conn=2] [job="ID:183, Type:create table, State:synced, SchemaState:public, SchemaID:178, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:08.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:08.421 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=183] [2025/04/04 10:36:08.422 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] [cur_db=test_cancel_job] [sql="CREATE TABLE t2 (i INT PRIMARY KEY);"] [user=] [2025/04/04 10:36:08.516 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] [cur_db=test_cancel_job] [sql="DROP USER IF EXISTS 'test_cancel_job1'@'localhost';"] [user=] [2025/04/04 10:36:08.560 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] ["secure text"="create user test_cancel_job1@localhost"] [user=] [2025/04/04 10:36:08.611 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] ["secure text"="GRANT SELECT,UPDATE,INSERT,DELETE,ALTER on test_cancel_job.* to 'test_cancel_job1'@'localhost'"] [user=] [2025/04/04 10:36:08.670 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] [cur_db=test_cancel_job] [sql="DROP USER IF EXISTS 'test_cancel_job2'@'localhost';"] [user=] [2025/04/04 10:36:08.708 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] ["secure text"="create user test_cancel_job2@localhost"] [user=] [2025/04/04 10:36:08.751 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] ["secure text"="GRANT SELECT,UPDATE,INSERT,DELETE,ALTER on test_cancel_job.* to 'test_cancel_job2'@'localhost'"] [user=] [2025/04/04 10:36:08.753 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:36:08.753 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=126] [error="[executor:8170]Job ID 9999999999 doesn't exist"] [errorVerbose="[executor:8170]Job ID 9999999999 doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.GetJob\n\tpkg/executor/importer/job.go:151\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).checkPrivilegeAndStatus.func1\n\tpkg/executor/import_into.go:375\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).checkPrivilegeAndStatus\n\tpkg/executor/import_into.go:372\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).Next\n\tpkg/executor/import_into.go:358\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestCancelJob\n\ttests/realtikvtest/importintotest/job_test.go:402\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test_cancel_job\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 10:36:08.760 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:08.806 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test_cancel_job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/04 10:36:08.828 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=16] [task-id=16] [data-size=3B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:08.841 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=16] [2025/04/04 10:36:08.841 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:08.943 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:08.944 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:08.945 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=16] [curr-step=init] [next-step=import] [2025/04/04 10:36:08.953 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:08.954 +00:00] [INFO] [import_into.go:362] ["import into action start"] [jobID=16] [action="\"cancel\""] [2025/04/04 10:36:08.955 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/04 10:36:08.955 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/04 10:36:08.956 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=52.07µs] [2025/04/04 10:36:08.956 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=142.383µs] [] [2025/04/04 10:36:08.956 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=16] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:08.956 +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=36] [subtasks=1] [2025/04/04 10:36:09.044 +00:00] [INFO] [scheduler.go:152] ["task state/step changed by user or other scheduler"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [old-state=running] [new-state=cancelling] [old-step=import] [new-step=init] [2025/04/04 10:36:09.046 +00:00] [INFO] [scheduler.go:269] ["on cancelling state"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=cancelling] [step=init] [2025/04/04 10:36:09.149 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=16] [step=init] [state=reverting] [error="cancelled by user"] [errorVerbose="cancelled by user\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onCancelling\n\tpkg/disttask/framework/scheduler/scheduler.go:272\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:199\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:09.150 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=16] [step=init] [mode=Normal] [2025/04/04 10:36:09.243 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=16] [2025/04/04 10:36:09.249 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:09.249 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=16] [2025/04/04 10:36:09.269 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:09.278 +00:00] [INFO] [import_into.go:365] ["import into action completed"] [jobID=16] [action="\"cancel\""] [takeTime=323.314923ms] [] [2025/04/04 10:36:09.278 +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.325800015\n# Parse_time: 0.000049896\n# Compile_time: 0.000302668\n# Rewrite_time: 0.000002003\n# Optimize_time: 0.000675852\n# Wait_TS: 0\n# DB: test_cancel_job\n# Is_internal: false\n# Digest: 385c1fb0f1877fcd1132bb40d62e02e866f0e27765127b1859c6f3db4b0f4443\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test_cancel_job;\ncancel import job 16;"] [2025/04/04 10:36:09.793 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:36:09.793 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=126] [error="[executor:8171]The current job status cannot perform the operation. CANCEL"] [session="{\n \"currDBName\": \"test_cancel_job\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": {\n \"Username\": \"test_cancel_job1\",\n \"Hostname\": \"localhost\",\n \"CurrentUser\": false,\n \"AuthUsername\": \"test_cancel_job1\",\n \"AuthHostname\": \"localhost\",\n \"AuthPlugin\": \"\"\n }\n}"] [2025/04/04 10:36:09.797 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:36:09.797 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=126] [error="[planner:1227]Access denied; you need (at least one of) the SUPER privilege(s) for this operation"] [errorVerbose="[planner:1227]Access denied; you need (at least one of) the SUPER privilege(s) for this operation\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.GetJob\n\tpkg/executor/importer/job.go:159\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).checkPrivilegeAndStatus.func1\n\tpkg/executor/import_into.go:375\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).checkPrivilegeAndStatus\n\tpkg/executor/import_into.go:372\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).Next\n\tpkg/executor/import_into.go:358\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestCancelJob\n\ttests/realtikvtest/importintotest/job_test.go:450\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test_cancel_job\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": {\n \"Username\": \"test_cancel_job2\",\n \"Hostname\": \"localhost\",\n \"CurrentUser\": false,\n \"AuthUsername\": \"test_cancel_job2\",\n \"AuthHostname\": \"localhost\",\n \"AuthPlugin\": \"\"\n }\n}"] [2025/04/04 10:36:09.800 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:36:09.800 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=126] [error="[executor:8171]The current job status cannot perform the operation. CANCEL"] [session="{\n \"currDBName\": \"test_cancel_job\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": {\n \"Username\": \"root\",\n \"Hostname\": \"localhost\",\n \"CurrentUser\": false,\n \"AuthUsername\": \"root\",\n \"AuthHostname\": \"%\",\n \"AuthPlugin\": \"\"\n }\n}"] [2025/04/04 10:36:09.807 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:09.854 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test_cancel_job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/04 10:36:09.873 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=17] [task-id=17] [data-size=3B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:09.886 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=17] [2025/04/04 10:36:09.886 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:09.988 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:09.989 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:09.990 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=17] [curr-step=init] [next-step=import] [2025/04/04 10:36:09.998 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:10.000 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 10:36:10.000 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/04 10:36:10.000 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=50.454µs] [2025/04/04 10:36:10.000 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=160.191µs] [] [2025/04/04 10:36:10.000 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=17] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:10.000 +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=36] [subtasks=1] [2025/04/04 10:36:10.036 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=17] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:10.057 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=17] [step=import] [2025/04/04 10:36:10.058 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:10.130 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:10.130 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:10.131 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:10.131 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:10.131 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:10.131 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:10.131 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:10.131 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:10.132 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:10.132 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:10.136 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=17] [mode=Import] [2025/04/04 10:36:10.156 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:10.158 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=17] [2025/04/04 10:36:10.158 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:10.158 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=373.5GB] [2025/04/04 10:36:10.159 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=17] [disk-quota=347.8GiB] [2025/04/04 10:36:10.159 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=17] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:10.159 +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=36, Mem=16GiB]"] [2025/04/04 10:36:10.168 +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 10:36:10.168 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=17] [step=import] [subtask-id=30] [2025/04/04 10:36:10.172 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [2025/04/04 10:36:10.176 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [2025/04/04 10:36:10.176 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=182] [2025/04/04 10:36:10.250 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=182] [key=t.csv:0] [2025/04/04 10:36:10.252 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=182] [key=t.csv:0] [readDur=1.217166ms] [encodeDur=319.765µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=24.766µs] [type=file] [takeTime=1.889051ms] [] [2025/04/04 10:36:10.253 +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/895bd308-f665-4316-a5a8-b17bb0731125.sst] [firstKey=7480000000000000B65F728000000000000001] [lastKey=7480000000000000B65F728000000000000002] [2025/04/04 10:36:10.253 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=17] [step=import] [engine-id=0] [2025/04/04 10:36:10.253 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=17] [step=import] [engine-id=0] [2025/04/04 10:36:10.253 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [2025/04/04 10:36:10.256 +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.338034ms] [] [2025/04/04 10:36:10.256 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [retryCnt=0] [2025/04/04 10:36:10.261 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:10.283 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=53400eb2-f75b-5777-a5ee-cfa50fd4a756] ["region ranges"=1] [count=2] [size=50] [2025/04/04 10:36:10.283 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:10.285 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b65f728000000000000001] [endOfAllRanges=7480000000000000b65f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffb65f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffb65f728000000000ff0000030000000000fa] [2025/04/04 10:36:10.297 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/04 10:36:10.299 +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.923363ms] [] [2025/04/04 10:36:10.299 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [2025/04/04 10:36:10.300 +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.112952ms] [] [2025/04/04 10:36:10.300 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=17] [step=import] [engine-id=0] [2025/04/04 10:36:10.300 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [2025/04/04 10:36:10.302 +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.651152ms] [] [2025/04/04 10:36:10.302 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [retryCnt=0] [2025/04/04 10:36:10.306 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3b791ee0-18d2-5a77-83dc-792402f82bf3] [2025/04/04 10:36:10.306 +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.823261ms] [] [2025/04/04 10:36:10.306 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [2025/04/04 10:36:10.307 +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.507µs] [] [2025/04/04 10:36:10.307 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=17] [step=import] [subtask-id=30] [takeTime=138.864095ms] [] [2025/04/04 10:36:10.307 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [subtaskID=30] [step=import] [takeTime=139.013348ms] [] [2025/04/04 10:36:10.397 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:10.398 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:10.399 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=17] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:10.399 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=17] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:10.430 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=17] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:36:10.431 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=17] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:10.431 +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=36] [subtasks=1] [2025/04/04 10:36:10.453 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:36:10.454 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=17] [step=import] [2025/04/04 10:36:10.456 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:10.456 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:10.456 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:10.456 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:10.456 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:10.456 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:10.456 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:10.456 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:10.456 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:10.456 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:10.457 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:10.456 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-17] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:10.459 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:10.459 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:10.459 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:10.459 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:10.459 +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=36, Mem=16GiB]"] [takeTime=300.116983ms] [] [2025/04/04 10:36:10.459 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=17] [type=ImportInto] [2025/04/04 10:36:10.466 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=17] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:10.489 +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=36, Mem=16GiB]"] [2025/04/04 10:36:10.497 +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 10:36:10.497 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [2025/04/04 10:36:10.500 +00:00] [INFO] [import_into.go:362] ["import into action start"] [jobID=17] [action="\"cancel\""] [2025/04/04 10:36:10.588 +00:00] [INFO] [scheduler.go:152] ["task state/step changed by user or other scheduler"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [old-state=running] [new-state=cancelling] [old-step=post-process] [new-step=post-process] [2025/04/04 10:36:10.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 10:36:10.602 +00:00] [INFO] [manager.go:235] [onCanceledTasks] [server-id=:4000] [task-id=17] [2025/04/04 10:36:10.693 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=17] [step=post-process] [state=reverting] [error="cancelled by user"] [errorVerbose="cancelled by user\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onCancelling\n\tpkg/disttask/framework/scheduler/scheduler.go:272\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:199\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:10.694 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=17] [step=post-process] [mode=Normal] [2025/04/04 10:36:10.702 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=17] [2025/04/04 10:36:10.788 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=17] [2025/04/04 10:36:10.795 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:10.795 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=17] [2025/04/04 10:36:10.815 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:10.824 +00:00] [INFO] [import_into.go:365] ["import into action completed"] [jobID=17] [action="\"cancel\""] [takeTime=324.015069ms] [] [2025/04/04 10:36:10.824 +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.326726996\n# Parse_time: 0.000277848\n# Compile_time: 0.000312342\n# Rewrite_time: 0.000001612\n# Optimize_time: 0.00004129\n# Wait_TS: 0\n# DB: test_cancel_job\n# Is_internal: false\n# Digest: 385c1fb0f1877fcd1132bb40d62e02e866f0e27765127b1859c6f3db4b0f4443\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\ncancel import job 17;"] [2025/04/04 10:36:11.006 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [2025/04/04 10:36:11.006 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [2025/04/04 10:36:11.007 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [takeTime=2.435µs] [] [2025/04/04 10:36:11.007 +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 10:36:11.007 +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 10:36:11.007 +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 10:36:11.007 +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 10:36:11.007 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:11.007 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:11.008 +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 10:36:11.010 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=182] [physicalTableID=182] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/04 10:36:11.010 +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 10:36:11.010 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [takeTime=3.723711ms] [] [2025/04/04 10:36:11.010 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [takeTime=513.096432ms] [] [2025/04/04 10:36:11.010 +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.203588ms] [] [2025/04/04 10:36:11.013 +00:00] [WARN] [txn.go:692] ["wait tso failed"] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/tikv/pd/client/clients/tso.(*Request).waitCtx\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:86\ngithub.com/tikv/pd/client/clients/tso.(*Request).Wait\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:73\ngithub.com/tikv/client-go/v2/util.interceptedTsFuture.Wait\n\texternal/com_github_tikv_client_go_v2/util/pd_interceptor.go:81\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:239\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtForUpdateTS\n\tpkg/sessiontxn/isolation/base.go:201\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtForUpdateTS\n\tpkg/sessiontxn/isolation/optimistic.go:119\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtForUpdateTS\n\tpkg/session/txnmanager.go:106\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).updateForUpdateTS\n\tpkg/executor/builder.go:2832\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildUpdate\n\tpkg/executor/builder.go:2735\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:259\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession.func1\n\tpkg/disttask/framework/storage/task_table.go:205\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession\n\tpkg/disttask/framework/storage/task_table.go:204\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).FinishSubtask\n\tpkg/disttask/framework/storage/subtask_state.go:51\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:681\ngithub.com/pingcap/tidb/pkg/disttask/framework/handle.RunWithRetry\n\tpkg/disttask/framework/handle/handle.go:224\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:679\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:475\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtForUpdateTS\n\tpkg/sessiontxn/isolation/base.go:201\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtForUpdateTS\n\tpkg/sessiontxn/isolation/optimistic.go:119\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtForUpdateTS\n\tpkg/session/txnmanager.go:106\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).updateForUpdateTS\n\tpkg/executor/builder.go:2832\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildUpdate\n\tpkg/executor/builder.go:2735\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:259\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession.func1\n\tpkg/disttask/framework/storage/task_table.go:205\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession\n\tpkg/disttask/framework/storage/task_table.go:204\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).FinishSubtask\n\tpkg/disttask/framework/storage/subtask_state.go:51\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:681\ngithub.com/pingcap/tidb/pkg/disttask/framework/handle.RunWithRetry\n\tpkg/disttask/framework/handle/handle.go:224\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:679\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:475\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:11.015 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:36:11.015 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=126] [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 10:36:11.016 +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: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 10:36:11.016 +00:00] [ERROR] [task_executor.go:685] ["failed to finish subtask"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [subtaskID=31] [takes=5.678718ms] [error="context canceled"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:685\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:475\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:36:11.016 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [error="context canceled"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:36:11.028 +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=36, Mem=16GiB]"] [takeTime=539.210755ms] [] [2025/04/04 10:36:11.028 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=17] [type=ImportInto] [2025/04/04 10:36:11.865 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:185, Type:truncate table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:11.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:11.865 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:185, Type:truncate table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:11.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t2"] [2025/04/04 10:36:11.871 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=185] [conn=2] [job="ID:185, Type:truncate table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:11.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:11.878 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 184, Table Name: t2, Old Table ID: 182, Old Table Name: t2)"] [2025/04/04 10:36:11.891 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=126] [neededSchemaVersion=127] ["elapsed time"=1.556255ms] [gotSchemaVersion=127] [phyTblIDs="[182,184]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:36:11.895 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=185] [version=127] [2025/04/04 10:36:11.896 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=127] ["take time"=8.80436ms] [job="ID:185, Type:truncate table, State:done, SchemaState:public, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:11.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:11.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 10:36:11.911 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=185] [jobType="truncate table"] [2025/04/04 10:36:11.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 10:36:11.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:11.928 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=185] [2025/04/04 10:36:11.928 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=127] [cur_db=test_cancel_job] [sql="truncate table t2"] [user=root@%] [2025/04/04 10:36:11.934 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:11.990 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test_cancel_job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/04 10:36:12.010 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=18] [task-id=18] [data-size=3B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:12.024 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=18] [2025/04/04 10:36:12.024 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:12.126 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:12.127 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:12.128 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=18] [curr-step=init] [next-step=import] [2025/04/04 10:36:12.130 +00:00] [INFO] [import_into.go:362] ["import into action start"] [jobID=18] [action="\"cancel\""] [2025/04/04 10:36:12.644 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:12.646 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 10:36:12.647 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/04 10:36:12.647 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=64.007µs] [2025/04/04 10:36:12.647 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=174.921µs] [] [2025/04/04 10:36:12.647 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=18] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:12.647 +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=36] [subtasks=1] [2025/04/04 10:36:12.662 +00:00] [INFO] [scheduler.go:152] ["task state/step changed by user or other scheduler"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [old-state=running] [new-state=cancelling] [old-step=import] [new-step=init] [2025/04/04 10:36:12.663 +00:00] [INFO] [scheduler.go:269] ["on cancelling state"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=cancelling] [step=init] [2025/04/04 10:36:12.731 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=18] [step=init] [state=reverting] [error="cancelled by user"] [errorVerbose="cancelled by user\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onCancelling\n\tpkg/disttask/framework/scheduler/scheduler.go:272\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:199\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:12.732 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=18] [step=init] [mode=Normal] [2025/04/04 10:36:12.754 +00:00] [INFO] [import_into.go:365] ["import into action completed"] [jobID=18] [action="\"cancel\""] [takeTime=623.421199ms] [] [2025/04/04 10:36:12.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.62594492\n# Parse_time: 0.000276403\n# Compile_time: 0.000292631\n# Rewrite_time: 0.000001909\n# Optimize_time: 0.000046244\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.54s) === NAME TestImportInto === RUN TestImportInto/TestChecksumNotMatch [2025/04/04 10:36:12.767 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=127] [cur_db=test_cancel_job] [sql="drop database if exists load_data"] [user=root@%] [2025/04/04 10:36:12.779 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:187, Type:create schema, State:queueing, SchemaState:none, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:12.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 10:36:12.779 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:187, Type:create schema, State:queueing, SchemaState:none, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:12.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:12.784 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:create schema, State:queueing, SchemaState:none, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:12.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:12.797 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=127] [neededSchemaVersion=128] ["elapsed time"=671.705µs] [gotSchemaVersion=128] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:36:12.801 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=128] [2025/04/04 10:36:12.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=128] ["take time"=7.760496ms] [job="ID:187, Type:create schema, State:done, SchemaState:public, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:12.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:12.813 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:create schema, State:synced, SchemaState:public, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:12.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:12.823 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=187] [2025/04/04 10:36:12.823 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=128] [cur_db=test_cancel_job] [sql="create database load_data"] [user=root@%] [2025/04/04 10:36:12.825 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=128] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 10:36:12.826 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=18] [2025/04/04 10:36:12.832 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:12.832 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=18] [2025/04/04 10:36:12.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 10:36:12.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:12.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 10:36:12.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/04 10:36:12.844 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=189] [conn=2] [job="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:12.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:12.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 10:36:12.850 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:12.865 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=128] [neededSchemaVersion=129] ["elapsed time"=1.731313ms] [gotSchemaVersion=129] [phyTblIDs="[188]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:12.869 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=189] [version=129] [2025/04/04 10:36:12.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.833334ms] [job="ID:189, Type:create table, State:done, SchemaState:public, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:12.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:12.881 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=189] [conn=2] [job="ID:189, Type:create table, State:synced, SchemaState:public, SchemaID:186, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:12.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:12.892 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=189] [2025/04/04 10:36:12.892 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=129] [cur_db=load_data] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=root@%] [2025/04/04 10:36:12.898 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:12.944 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:12.964 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=19] [task-id=19] [data-size=64B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:36:12.978 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=19] [2025/04/04 10:36:12.978 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:36:13.081 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:13.083 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:13.084 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=19] [curr-step=init] [next-step=import] [2025/04/04 10:36:13.092 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:13.094 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:13.094 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 10:36:13.094 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=61.623µs] [2025/04/04 10:36:13.095 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=178.922µs] [] [2025/04/04 10:36:13.095 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=19] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/04 10:36:13.095 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=2] [2025/04/04 10:36:13.100 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:36:13.136 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=19] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:36:13.155 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=19] [step=import] [2025/04/04 10:36:13.156 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:13.164 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:13.164 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:13.164 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:13.164 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:13.165 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:13.165 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:13.165 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:13.165 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:13.165 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:13.165 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:13.177 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:13.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 10:36:13.179 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:13.179 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=19] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:13.179 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=19] [disk-quota=347.8GiB] [2025/04/04 10:36:13.179 +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=455.1MiB]"] [2025/04/04 10:36:13.187 +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 10:36:13.187 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=19] [step=import] [subtask-id=32] [2025/04/04 10:36:13.190 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=19] [mode=Import] [2025/04/04 10:36:13.190 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:13.194 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:13.194 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=188] [2025/04/04 10:36:13.209 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=19] [2025/04/04 10:36:13.266 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=188] [key=duplicate-pk-01.csv:0] [2025/04/04 10:36:13.268 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=188] [key=duplicate-pk-01.csv:0] [readDur=1.020311ms] [encodeDur=336.404µs] [checksum="{cksum=9995179725697843932,size=111,kvs=3}"] [deliverDur=37.261µs] [type=file] [takeTime=1.761609ms] [] [2025/04/04 10:36:13.268 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000BC5F728000000000000002] [2025/04/04 10:36:13.269 +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/ccf6acee-8adf-4c72-906c-01f6af233b37.sst] [firstKey=7480000000000000BC5F728000000000000001] [lastKey=7480000000000000BC5F728000000000000002] [2025/04/04 10:36:13.269 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=19] [step=import] [engine-id=0] [2025/04/04 10:36:13.269 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=19] [step=import] [engine-id=0] [2025/04/04 10:36:13.269 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:13.271 +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.111963ms] [] [2025/04/04 10:36:13.271 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 10:36:13.275 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:13.299 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=3] [size=74] [2025/04/04 10:36:13.299 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:13.302 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000bc5f728000000000000001] [endOfAllRanges=7480000000000000bc5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffbc5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffbc5f728000000000ff0000030000000000fa] [2025/04/04 10:36:13.313 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/04 10:36:13.315 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=43.063487ms] [] [2025/04/04 10:36:13.315 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:13.316 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.017104ms] [] [2025/04/04 10:36:13.316 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=19] [step=import] [engine-id=0] [2025/04/04 10:36:13.316 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:13.317 +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.448312ms] [] [2025/04/04 10:36:13.317 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 10:36:13.321 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:13.321 +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.598108ms] [] [2025/04/04 10:36:13.321 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:13.322 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=955.861µs] [] [2025/04/04 10:36:13.322 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=19] [step=import] [subtask-id=32] [takeTime=135.050275ms] [] [2025/04/04 10:36:13.322 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=32] [step=import] [takeTime=135.220248ms] [] [2025/04/04 10:36:13.344 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=33] [step=import] [2025/04/04 10:36:13.344 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=19] [step=import] [subtask-id=33] [2025/04/04 10:36:13.348 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 10:36:13.351 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 10:36:13.351 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=188] [2025/04/04 10:36:13.399 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=188] [key=duplicate-pk-02.csv:0] [2025/04/04 10:36:13.401 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=188] [key=duplicate-pk-02.csv:0] [readDur=1.030039ms] [encodeDur=837.02µs] [checksum="{cksum=10482263666873131380,size=111,kvs=3}"] [deliverDur=13.989µs] [type=file] [takeTime=2.155934ms] [] [2025/04/04 10:36:13.401 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000BC5F728000000000000004] [2025/04/04 10:36:13.402 +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/c2f85d55-4b39-4099-8824-707a6dd051f2.sst] [firstKey=7480000000000000BC5F728000000000000004] [lastKey=7480000000000000BC5F728000000000000006] [2025/04/04 10:36:13.402 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=19] [step=import] [engine-id=1] [2025/04/04 10:36:13.402 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=19] [step=import] [engine-id=1] [2025/04/04 10:36:13.402 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 10:36:13.404 +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.830101ms] [] [2025/04/04 10:36:13.404 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [retryCnt=0] [2025/04/04 10:36:13.409 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:13.431 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] ["region ranges"=1] [count=3] [size=74] [2025/04/04 10:36:13.431 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:13.432 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000bc5f728000000000000004] [endOfAllRanges=7480000000000000bc5f728000000000000007] [startKeyOfFirstRegion=7480000000000000ffbc5f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ffbc5f728000000000ff0000070000000000fa] [2025/04/04 10:36:13.444 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/04 10:36:13.446 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [retryCnt=0] [takeTime=41.477597ms] [] [2025/04/04 10:36:13.446 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 10:36:13.447 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=1.181538ms] [] [2025/04/04 10:36:13.447 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=19] [step=import] [engine-id=1] [2025/04/04 10:36:13.447 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 10:36:13.449 +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.47104ms] [] [2025/04/04 10:36:13.449 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [retryCnt=0] [2025/04/04 10:36:13.453 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 10:36:13.453 +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=4.430832ms] [] [2025/04/04 10:36:13.453 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 10:36:13.454 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [takeTime=893.2µs] [] [2025/04/04 10:36:13.454 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=19] [step=import] [subtask-id=33] [takeTime=110.054868ms] [] [2025/04/04 10:36:13.454 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=33] [step=import] [takeTime=110.179298ms] [] [2025/04/04 10:36:13.486 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:13.487 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:13.488 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=19] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:13.488 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=19] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:13.518 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=19] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 10:36:13.519 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=19] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:13.519 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:36:13.542 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:13.549 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=19] [step=import] [2025/04/04 10:36:13.553 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:13.553 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:13.553 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:13.553 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:13.553 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:13.553 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:13.553 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:13.553 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:13.553 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:13.553 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-18] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:13.553 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:13.553 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:13.555 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:13.556 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:13.556 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:13.556 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:13.556 +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=455.1MiB]"] [takeTime=376.122919ms] [] [2025/04/04 10:36:13.557 +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=455.1MiB]"] [2025/04/04 10:36:13.565 +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 10:36:13.565 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [2025/04/04 10:36:13.565 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [2025/04/04 10:36:13.565 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [2025/04/04 10:36:13.565 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [takeTime=3.885µs] [] [2025/04/04 10:36:13.566 +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 10:36:13.566 +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 10:36:13.566 +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 10:36:13.566 +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 10:36:13.568 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=188] [physicalTableID=188] [indexID=-1] [checksum=13563575747806423567] [totalKvs=4] [totalBytes=148] [2025/04/04 10:36:13.568 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:13.568 +00:00] [ERROR] [subtask_executor.go:103] ["post process failed"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [takeTime=2.716345ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func1\n\tpkg/disttask/importinto/subtask_executor.go:103\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:36:13.568 +00:00] [ERROR] [task_executor.go:544] ["run subtask failed"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [takeTime=3.017795ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:544\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:36:13.569 +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.253412ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:13.569 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:13.576 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:36:13.583 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:13.589 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\\\"}\"]"] [2025/04/04 10:36:13.606 +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=455.1MiB]"] [takeTime=49.022044ms] [] [2025/04/04 10:36:13.606 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=19] [type=ImportInto] [2025/04/04 10:36:13.685 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=19] [step=post-process] [state=reverting] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [2025/04/04 10:36:13.686 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=19] [step=post-process] [mode=Normal] [2025/04/04 10:36:13.691 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=19] [2025/04/04 10:36:13.780 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=19] [2025/04/04 10:36:13.786 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:13.786 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=19] [2025/04/04 10:36:13.808 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [Pipeline] // dir [2025/04/04 10:36:13.878 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=19] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestChecksumNotMatch\n\ttests/realtikvtest/importintotest/import_into_test.go:756\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 10:36:13.878 +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.9857102\n# Parse_time: 0.000136224\n# Compile_time: 0.000539057\n# Rewrite_time: 0.000158835\n# Optimize_time: 0.000041457\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('SPBHMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjk4NC44bXMsIG9wZW46NTgxbnMsIGNsb3NlOjgxMm5zLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjgBQAFSA04vQVoudGltZTo5ODQuOG1zLCBvcGVuOjU4MW5zLCBjbG9zZTo4MTJucywgbG9vcHM6MXD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1, __max_engine_size=_UTF8MB4'1';"] [2025/04/04 10:36:13.893 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:191, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:13.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:13.894 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:191, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:13.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t;"] [2025/04/04 10:36:13.899 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=191] [conn=2] [job="ID:191, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:13.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:13.906 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 190, Table Name: t, Old Table ID: 188, Old Table Name: t)"] [2025/04/04 10:36:13.921 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=129] [neededSchemaVersion=130] ["elapsed time"=1.768129ms] [gotSchemaVersion=130] [phyTblIDs="[188,190]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:36:13.924 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=191] [version=130] [2025/04/04 10:36:13.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=130] ["take time"=9.038812ms] [job="ID:191, Type:truncate table, State:done, SchemaState:public, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:13.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:13.939 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=191] [tableIDs="[188]"] [comment="truncate table: table ID"] [2025/04/04 10:36:13.943 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=191] [jobType="truncate table"] [2025/04/04 10:36:13.944 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=191] [conn=2] [job="ID:191, Type:truncate table, State:synced, SchemaState:public, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:13.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:13.960 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=191] [2025/04/04 10:36:13.961 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=130] [cur_db=load_data] [sql="truncate table t;"] [user=root@%] [2025/04/04 10:36:13.966 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:14.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 10:36:14.037 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=20] [task-id=20] [data-size=64B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:36:14.050 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=20] [2025/04/04 10:36:14.051 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:36:14.153 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:14.154 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:14.156 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=20] [curr-step=init] [next-step=import] [2025/04/04 10:36:14.164 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:14.167 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:14.167 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 10:36:14.167 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=80.133µs] [2025/04/04 10:36:14.167 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=208.532µs] [] [2025/04/04 10:36:14.168 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=20] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/04 10:36:14.168 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=2] [2025/04/04 10:36:14.206 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=20] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:36:14.225 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=20] [step=import] [2025/04/04 10:36:14.225 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:14.233 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:14.233 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:14.234 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:14.234 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:14.234 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:14.234 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:14.234 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:14.234 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:14.235 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:14.235 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:14.246 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:14.248 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:14.248 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:14.248 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=20] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:14.248 +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=455.1MiB]"] [2025/04/04 10:36:14.248 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=20] [disk-quota=347.8GiB] [2025/04/04 10:36:14.255 +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 10:36:14.256 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=20] [step=import] [subtask-id=35] [2025/04/04 10:36:14.259 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=20] [mode=Import] [2025/04/04 10:36:14.259 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:14.263 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:14.263 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=190] [2025/04/04 10:36:14.278 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=20] [2025/04/04 10:36:14.288 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=190] [key=duplicate-pk-01.csv:0] [2025/04/04 10:36:14.290 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=190] [key=duplicate-pk-01.csv:0] [readDur=836.076µs] [encodeDur=393.544µs] [checksum="{cksum=10356916929083451793,size=111,kvs=3}"] [deliverDur=191.414µs] [type=file] [takeTime=1.698627ms] [] [2025/04/04 10:36:14.290 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000BE5F728000000000000002] [2025/04/04 10:36:14.291 +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/9d67c6e5-8197-44b3-8cd4-e65575413a7f.sst] [firstKey=7480000000000000BE5F728000000000000001] [lastKey=7480000000000000BE5F728000000000000002] [2025/04/04 10:36:14.291 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=20] [step=import] [engine-id=0] [2025/04/04 10:36:14.291 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=20] [step=import] [engine-id=0] [2025/04/04 10:36:14.291 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:14.293 +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.83385ms] [] [2025/04/04 10:36:14.293 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 10:36:14.297 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:14.319 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=3] [size=74] [2025/04/04 10:36:14.319 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:14.320 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000be5f728000000000000001] [endOfAllRanges=7480000000000000be5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffbe5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffbe5f728000000000ff0000030000000000fa] [2025/04/04 10:36:14.330 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/04 10:36:14.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=38.939294ms] [] [2025/04/04 10:36:14.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 10:36:14.333 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=960.567µs] [] [2025/04/04 10:36:14.333 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=20] [step=import] [engine-id=0] [2025/04/04 10:36:14.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 10:36:14.335 +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.415848ms] [] [2025/04/04 10:36:14.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 10:36:14.339 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:14.339 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [takeTime=4.385862ms] [] [2025/04/04 10:36:14.339 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:14.340 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=862.963µs] [] [2025/04/04 10:36:14.340 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=20] [step=import] [subtask-id=35] [takeTime=84.655799ms] [] [2025/04/04 10:36:14.340 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=35] [step=import] [takeTime=84.799039ms] [] [2025/04/04 10:36:14.368 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=36] [step=import] [2025/04/04 10:36:14.368 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=20] [step=import] [subtask-id=36] [2025/04/04 10:36:14.372 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 10:36:14.375 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 10:36:14.375 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=190] [2025/04/04 10:36:14.403 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=190] [key=duplicate-pk-02.csv:0] [2025/04/04 10:36:14.405 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=190] [key=duplicate-pk-02.csv:0] [readDur=910.213µs] [encodeDur=519.322µs] [checksum="{cksum=10697545922510015033,size=111,kvs=3}"] [deliverDur=29.45µs] [type=file] [takeTime=1.653307ms] [] [2025/04/04 10:36:14.405 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000BE5F728000000000000004] [2025/04/04 10:36:14.406 +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/86c5fbc5-b970-4467-ad2a-1be533b8d8bb.sst] [firstKey=7480000000000000BE5F728000000000000004] [lastKey=7480000000000000BE5F728000000000000006] [2025/04/04 10:36:14.406 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=20] [step=import] [engine-id=1] [2025/04/04 10:36:14.406 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=20] [step=import] [engine-id=1] [2025/04/04 10:36:14.406 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 10:36:14.408 +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.600868ms] [] [2025/04/04 10:36:14.408 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [retryCnt=0] [2025/04/04 10:36:14.412 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:14.434 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] ["region ranges"=1] [count=3] [size=74] [2025/04/04 10:36:14.434 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:14.436 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000be5f728000000000000004] [endOfAllRanges=7480000000000000be5f728000000000000007] [startKeyOfFirstRegion=7480000000000000ffbe5f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ffbe5f728000000000ff0000070000000000fa] [2025/04/04 10:36:14.445 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/04 10:36:14.447 +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.633014ms] [] [2025/04/04 10:36:14.447 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 10:36:14.448 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=1.009026ms] [] [2025/04/04 10:36:14.448 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=20] [step=import] [engine-id=1] [2025/04/04 10:36:14.448 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 10:36:14.450 +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.267827ms] [] [2025/04/04 10:36:14.450 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [retryCnt=0] [2025/04/04 10:36:14.453 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 10:36:14.453 +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.495142ms] [] [2025/04/04 10:36:14.453 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 10:36:14.454 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [takeTime=866.097µs] [] [2025/04/04 10:36:14.454 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=20] [step=import] [subtask-id=36] [takeTime=86.318704ms] [] [2025/04/04 10:36:14.454 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=36] [step=import] [takeTime=86.450514ms] [] [2025/04/04 10:36:14.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 10:36:14.558 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:14.559 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=20] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:14.559 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=20] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:14.587 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=20] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 10:36:14.589 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=20] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:14.589 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:36:14.593 +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 10:36:14.593 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=20] [step=import] [2025/04/04 10:36:14.597 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:14.597 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:14.597 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:14.597 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:14.597 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:14.597 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:14.597 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:14.597 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:14.597 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-19] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:14.597 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:14.597 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:14.597 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:14.599 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:14.599 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:14.599 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:14.599 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:14.599 +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=455.1MiB]"] [takeTime=351.169274ms] [] [2025/04/04 10:36:14.599 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=20] [type=ImportInto] [2025/04/04 10:36:14.624 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=20] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:36:14.644 +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=455.1MiB]"] [2025/04/04 10:36:14.652 +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 10:36:14.652 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [2025/04/04 10:36:14.652 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [2025/04/04 10:36:14.652 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [2025/04/04 10:36:14.652 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [takeTime=1.654µs] [] [2025/04/04 10:36:14.652 +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 10:36:14.652 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [takeTime=115.743µs] [] [2025/04/04 10:36:14.652 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [takeTime=234.458µs] [] [2025/04/04 10:36:14.652 +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=362.9µs] [] [2025/04/04 10:36:14.757 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:14.757 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=20] [step=post-process] [state=running] [] [2025/04/04 10:36:14.760 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=20] [2025/04/04 10:36:14.785 +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=455.1MiB]"] [takeTime=141.451584ms] [] [2025/04/04 10:36:14.785 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=20] [type=ImportInto] [2025/04/04 10:36:14.852 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=20] [2025/04/04 10:36:14.858 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:14.858 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=20] [2025/04/04 10:36:14.878 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:14.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.990631126\n# Parse_time: 0.000139771\n# Compile_time: 0.00057682\n# Rewrite_time: 0.000187631\n# Optimize_time: 0.000262122\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OS43bXMsIG9wZW46Njk3bnMsIGNsb3NlOjY0OW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OS43bXMsIG9wZW46Njk3bnMsIGNsb3NlOjY0OW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1, checksum_table=_UTF8MB4'off', __max_engine_size=_UTF8MB4'1';"] [2025/04/04 10:36:14.966 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:193, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:14.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t;"] [2025/04/04 10:36:14.966 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:193, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:14.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:14.971 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=193] [conn=2] [job="ID:193, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:190, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:14.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:14.978 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 192, Table Name: t, Old Table ID: 190, Old Table Name: t)"] [2025/04/04 10:36:14.994 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=130] [neededSchemaVersion=131] ["elapsed time"=1.798947ms] [gotSchemaVersion=131] [phyTblIDs="[190,192]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:36:14.998 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=193] [version=131] [2025/04/04 10:36:14.999 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=131] ["take time"=8.887254ms] [job="ID:193, Type:truncate table, State:done, SchemaState:public, SchemaID:186, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:14.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:15.010 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=193] [tableIDs="[190]"] [comment="truncate table: table ID"] [2025/04/04 10:36:15.014 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=193] [jobType="truncate table"] [2025/04/04 10:36:15.015 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=193] [conn=2] [job="ID:193, Type:truncate table, State:synced, SchemaState:public, SchemaID:186, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:14.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:15.032 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=193] [2025/04/04 10:36:15.033 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=131] [cur_db=load_data] [sql="truncate table t;"] [user=root@%] [2025/04/04 10:36:15.038 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:15.081 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"checksum_table\":\"optional\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:15.100 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=21] [task-id=21] [data-size=64B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:36:15.113 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=21] [2025/04/04 10:36:15.113 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:36:15.215 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:15.216 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:15.218 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=21] [curr-step=init] [next-step=import] [2025/04/04 10:36:15.225 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:15.227 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:15.227 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 10:36:15.227 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=44.483µs] [2025/04/04 10:36:15.227 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=127.246µs] [] [2025/04/04 10:36:15.227 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=21] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/04 10:36:15.227 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=2] [2025/04/04 10:36:15.265 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=21] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:36:15.284 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=21] [step=import] [2025/04/04 10:36:15.284 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:15.291 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:15.291 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:15.292 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:15.292 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:15.292 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:15.292 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:15.292 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:15.292 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:15.293 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:15.293 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:15.304 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:15.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 10:36:15.306 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:15.306 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=21] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:15.306 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=21] [disk-quota=347.8GiB] [2025/04/04 10:36:15.306 +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=455.1MiB]"] [2025/04/04 10:36:15.313 +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 10:36:15.313 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=21] [step=import] [subtask-id=38] [2025/04/04 10:36:15.317 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:15.320 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:15.320 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=192] [2025/04/04 10:36:15.321 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=21] [mode=Import] [2025/04/04 10:36:15.339 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=21] [2025/04/04 10:36:15.366 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=192] [key=duplicate-pk-01.csv:0] [2025/04/04 10:36:15.368 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=192] [key=duplicate-pk-01.csv:0] [readDur=953.537µs] [encodeDur=522.519µs] [checksum="{cksum=5586236619367349866,size=111,kvs=3}"] [deliverDur=340.614µs] [type=file] [takeTime=2.08161ms] [] [2025/04/04 10:36:15.368 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000C05F728000000000000002] [2025/04/04 10:36:15.369 +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/d90acbac-4dd1-4188-86f6-51d28fc3f647.sst] [firstKey=7480000000000000C05F728000000000000001] [lastKey=7480000000000000C05F728000000000000002] [2025/04/04 10:36:15.369 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=21] [step=import] [engine-id=0] [2025/04/04 10:36:15.369 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=21] [step=import] [engine-id=0] [2025/04/04 10:36:15.369 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:15.371 +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.831945ms] [] [2025/04/04 10:36:15.371 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 10:36:15.375 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:15.397 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=3] [size=74] [2025/04/04 10:36:15.397 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:15.398 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000c05f728000000000000001] [endOfAllRanges=7480000000000000c05f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffc05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffc05f728000000000ff0000030000000000fa] [2025/04/04 10:36:15.413 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/04 10:36:15.414 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=43.391261ms] [] [2025/04/04 10:36:15.414 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:15.415 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.063378ms] [] [2025/04/04 10:36:15.415 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=21] [step=import] [engine-id=0] [2025/04/04 10:36:15.415 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:15.417 +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.53261ms] [] [2025/04/04 10:36:15.417 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 10:36:15.421 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:15.421 +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.594551ms] [] [2025/04/04 10:36:15.421 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:15.422 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=875.656µs] [] [2025/04/04 10:36:15.422 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=21] [step=import] [subtask-id=38] [takeTime=108.911764ms] [] [2025/04/04 10:36:15.422 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=38] [step=import] [takeTime=109.052299ms] [] [2025/04/04 10:36:15.444 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=39] [step=import] [2025/04/04 10:36:15.444 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=21] [step=import] [subtask-id=39] [2025/04/04 10:36:15.447 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 10:36:15.450 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 10:36:15.451 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=192] [2025/04/04 10:36:15.506 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=192] [key=duplicate-pk-02.csv:0] [2025/04/04 10:36:15.507 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=192] [key=duplicate-pk-02.csv:0] [readDur=912.236µs] [encodeDur=263.73µs] [checksum="{cksum=6217277421343186370,size=111,kvs=3}"] [deliverDur=24.555µs] [type=file] [takeTime=1.447018ms] [] [2025/04/04 10:36:15.508 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000C05F728000000000000004] [2025/04/04 10:36:15.508 +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/06bf09f4-f3a2-4368-88e4-16490d854433.sst] [firstKey=7480000000000000C05F728000000000000004] [lastKey=7480000000000000C05F728000000000000006] [2025/04/04 10:36:15.508 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=21] [step=import] [engine-id=1] [2025/04/04 10:36:15.509 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=21] [step=import] [engine-id=1] [2025/04/04 10:36:15.509 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 10:36:15.511 +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.010147ms] [] [2025/04/04 10:36:15.511 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [retryCnt=0] [2025/04/04 10:36:15.515 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:15.538 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] ["region ranges"=1] [count=3] [size=74] [2025/04/04 10:36:15.538 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:15.540 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000c05f728000000000000004] [endOfAllRanges=7480000000000000c05f728000000000000007] [startKeyOfFirstRegion=7480000000000000ffc05f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ffc05f728000000000ff0000070000000000fa] [2025/04/04 10:36:15.550 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/04 10:36:15.552 +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.936683ms] [] [2025/04/04 10:36:15.552 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 10:36:15.553 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=1.0325ms] [] [2025/04/04 10:36:15.553 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=21] [step=import] [engine-id=1] [2025/04/04 10:36:15.553 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 10:36:15.555 +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.655451ms] [] [2025/04/04 10:36:15.555 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [retryCnt=0] [2025/04/04 10:36:15.558 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 10:36:15.558 +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.652135ms] [] [2025/04/04 10:36:15.558 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 10:36:15.559 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [takeTime=901.964µs] [] [2025/04/04 10:36:15.559 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=21] [step=import] [subtask-id=39] [takeTime=115.725961ms] [] [2025/04/04 10:36:15.560 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=39] [step=import] [takeTime=115.872733ms] [] [2025/04/04 10:36:15.620 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:15.621 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:15.623 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=21] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:15.623 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=21] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:15.651 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=21] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 10:36:15.653 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=21] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:15.653 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:36:15.687 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:15.693 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=21] [step=import] [2025/04/04 10:36:15.697 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:15.697 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:15.697 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:15.697 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:15.697 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:15.697 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:15.697 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:15.697 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:15.697 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-20] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:15.697 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:15.697 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:15.697 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:15.699 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:15.699 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:15.699 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:15.699 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:15.699 +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=455.1MiB]"] [takeTime=393.078186ms] [] [2025/04/04 10:36:15.700 +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=455.1MiB]"] [2025/04/04 10:36:15.707 +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 10:36:15.708 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [2025/04/04 10:36:15.708 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [2025/04/04 10:36:15.708 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [2025/04/04 10:36:15.708 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [takeTime=1.784µs] [] [2025/04/04 10:36:15.708 +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 10:36:15.708 +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 10:36:15.708 +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 10:36:15.708 +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 10:36:15.710 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=192] [physicalTableID=192] [indexID=-1] [checksum=13563575747806423567] [totalKvs=4] [totalBytes=148] [2025/04/04 10:36:15.710 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:15.710 +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 10:36:15.710 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [takeTime=2.564088ms] [] [2025/04/04 10:36:15.710 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [takeTime=2.693382ms] [] [2025/04/04 10:36:15.710 +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.834337ms] [] [2025/04/04 10:36:15.718 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:15.720 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:15.720 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=21] [step=post-process] [state=running] [] [2025/04/04 10:36:15.722 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=21] [2025/04/04 10:36:15.737 +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=455.1MiB]"] [takeTime=36.31054ms] [] [2025/04/04 10:36:15.737 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=21] [type=ImportInto] [2025/04/04 10:36:15.816 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=21] [2025/04/04 10:36:15.822 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:15.822 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=21] [2025/04/04 10:36:15.845 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:16.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.985391459\n# Parse_time: 0.000143108\n# Compile_time: 0.000590112\n# Rewrite_time: 0.000200336\n# Optimize_time: 0.000238499\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NC40bXMsIG9wZW46NjI4bnMsIGNsb3NlOjkyM25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4NC40bXMsIG9wZW46NjI4bnMsIGNsb3NlOjkyM25zLCBsb29wczoycP////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.26s) === NAME TestImportInto === RUN TestImportInto/TestColumnsAndUserVars [2025/04/04 10:36:16.034 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:194, Type:drop schema, State:queueing, SchemaState:public, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:15.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:16.034 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:194, Type:drop schema, State:queueing, SchemaState:public, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:15.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_data;"] [2025/04/04 10:36:16.039 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=194] [conn=2] [job="ID:194, Type:drop schema, State:queueing, SchemaState:public, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:15.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:16.056 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=131] [neededSchemaVersion=132] ["elapsed time"=1.817461ms] [gotSchemaVersion=132] [phyTblIDs="[192]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:16.059 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=194] [version=132] [2025/04/04 10:36:16.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=132] ["take time"=8.684351ms] [job="ID:194, Type:drop schema, State:running, SchemaState:write only, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:15.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:16.071 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=194] [conn=2] [job="ID:194, Type:drop schema, State:running, SchemaState:write only, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:15.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:16.083 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=132] [neededSchemaVersion=133] ["elapsed time"=135.021µs] [gotSchemaVersion=133] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:16.086 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=194] [version=133] [2025/04/04 10:36:16.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=133] ["take time"=6.990351ms] [job="ID:194, Type:drop schema, State:running, SchemaState:delete only, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:15.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:16.096 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=194] [conn=2] [job="ID:194, Type:drop schema, State:running, SchemaState:delete only, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:15.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:16.101 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:36:16.110 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=133] [neededSchemaVersion=134] ["elapsed time"=140.648µs] [gotSchemaVersion=134] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:16.114 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=194] [version=134] [2025/04/04 10:36:16.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=134] ["take time"=6.666486ms] [job="ID:194, Type:drop schema, State:done, SchemaState:none, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:15.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:16.123 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=194] [tableIDs="[192]"] [comment="drop schema: table IDs"] [2025/04/04 10:36:16.128 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=194] [jobType="drop schema"] [2025/04/04 10:36:16.129 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=194] [conn=2] [job="ID:194, Type:drop schema, State:synced, SchemaState:none, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:15.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:16.144 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=194] [2025/04/04 10:36:16.144 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=134] [cur_db=] [sql="DROP DATABASE IF EXISTS load_data;"] [user=root@%] [2025/04/04 10:36:16.156 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:196, Type:create schema, State:queueing, SchemaState:none, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:16.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:16.156 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:196, Type:create schema, State:queueing, SchemaState:none, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:16.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_data;"] [2025/04/04 10:36:16.161 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=196] [conn=2] [job="ID:196, Type:create schema, State:queueing, SchemaState:none, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:16.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:16.174 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=134] [neededSchemaVersion=135] ["elapsed time"=640.685µs] [gotSchemaVersion=135] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:36:16.177 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=196] [version=135] [2025/04/04 10:36:16.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=135] ["take time"=7.145148ms] [job="ID:196, Type:create schema, State:done, SchemaState:public, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:16.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:16.189 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=196] [conn=2] [job="ID:196, Type:create schema, State:synced, SchemaState:public, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:16.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:16.198 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=196] [2025/04/04 10:36:16.198 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=135] [cur_db=] [sql="CREATE DATABASE load_data;"] [user=root@%] [2025/04/04 10:36:16.210 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:198, Type:create table, State:queueing, SchemaState:none, SchemaID:195, TableID:197, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:16.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:16.211 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:198, Type:create table, State:queueing, SchemaState:none, SchemaID:195, TableID:197, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:16.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_data.cols_and_vars (a INT, b INT, c int);"] [2025/04/04 10:36:16.216 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=198] [conn=2] [job="ID:198, Type:create table, State:queueing, SchemaState:none, SchemaID:195, TableID:197, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:16.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:16.220 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 197, Table Name: cols_and_vars)"] [2025/04/04 10:36:16.234 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=135] [neededSchemaVersion=136] ["elapsed time"=1.677716ms] [gotSchemaVersion=136] [phyTblIDs="[197]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:16.238 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=198] [version=136] [2025/04/04 10:36:16.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=136] ["take time"=8.225215ms] [job="ID:198, Type:create table, State:done, SchemaState:public, SchemaID:195, TableID:197, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:16.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:16.250 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=198] [conn=2] [job="ID:198, Type:create table, State:synced, SchemaState:public, SchemaID:195, TableID:197, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:16.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:16.261 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=198] [2025/04/04 10:36:16.261 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=136] [cur_db=] [sql="CREATE TABLE load_data.cols_and_vars (a INT, b INT, c int);"] [user=root@%] [2025/04/04 10:36:16.268 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:16.317 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(@`V1`, @`v2`, @`v3`)\",\"set-clause\":\"`a`=@`V1`, `b`=@`V2`*10, `c`=123\",\"file-location\":\"gs://test-load/cols_and_vars-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"2\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:16.337 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=22] [task-id=22] [data-size=81B] [thread-cnt=2] [global-sort=false] [2025/04/04 10:36:16.351 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=22] [2025/04/04 10:36:16.351 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=2] [2025/04/04 10:36:16.453 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:16.454 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:16.455 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=22] [curr-step=init] [next-step=import] [2025/04/04 10:36:16.465 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:16.468 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=cols_and_vars] [2025/04/04 10:36:16.468 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=cols_and_vars] [before=536870912000] [after=81] [2025/04/04 10:36:16.468 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=cols_and_vars] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=81] [cost=71.585µs] [2025/04/04 10:36:16.468 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=cols_and_vars] [takeTime=168.689µs] [] [2025/04/04 10:36:16.468 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=22] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:16.468 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=2] [subtasks=1] [2025/04/04 10:36:16.506 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=22] [type=ImportInto] [concurrency=2] [remaining-slots=70] [2025/04/04 10:36:16.527 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=22] [step=import] [2025/04/04 10:36:16.528 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:16.535 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:16.535 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:16.535 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:16.536 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:16.536 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:16.536 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:16.536 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:16.536 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:16.537 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:16.537 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:16.549 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:16.550 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:16.551 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=cols_and_vars] [quota=373.5GB] [2025/04/04 10:36:16.551 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=22] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:16.551 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=cols_and_vars] [import-id=22] [disk-quota=347.8GiB] [2025/04/04 10:36:16.551 +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=910.2MiB]"] [2025/04/04 10:36:16.559 +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 10:36:16.559 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=22] [step=import] [subtask-id=41] [2025/04/04 10:36:16.561 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=22] [mode=Import] [2025/04/04 10:36:16.562 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [2025/04/04 10:36:16.566 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [2025/04/04 10:36:16.566 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=197] [2025/04/04 10:36:16.566 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=197] [2025/04/04 10:36:16.579 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=22] [2025/04/04 10:36:16.606 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=197] [key=cols_and_vars-2.tsv:0] [2025/04/04 10:36:16.606 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=197] [key=cols_and_vars-1.tsv:0] [2025/04/04 10:36:16.608 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=197] [key=cols_and_vars-2.tsv:0] [readDur=849.444µs] [encodeDur=455.583µs] [checksum="{cksum=15251348621166951835,size=152,kvs=4}"] [deliverDur=201.646µs] [type=file] [takeTime=1.726012ms] [] [2025/04/04 10:36:16.608 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=197] [key=cols_and_vars-1.tsv:0] [readDur=945.078µs] [encodeDur=380.959µs] [checksum="{cksum=1567370847529678985,size=189,kvs=5}"] [deliverDur=205.862µs] [type=file] [takeTime=1.72205ms] [] [2025/04/04 10:36:16.609 +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/ab687a68-edd3-47a9-af53-3fe204e74c6f.sst] [firstKey=7480000000000000C55F728000000000000010] [lastKey=7480000000000000C55F728000000000000013] [2025/04/04 10:36:16.609 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=22] [step=import] [engine-id=0] [2025/04/04 10:36:16.609 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=22] [step=import] [engine-id=0] [2025/04/04 10:36:16.609 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [2025/04/04 10:36:16.609 +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/c8ab2bd3-777e-4b34-9308-957427743868.sst] [firstKey=7480000000000000C55F728000000000000001] [lastKey=7480000000000000C55F728000000000000005] [2025/04/04 10:36:16.612 +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.990231ms] [] [2025/04/04 10:36:16.612 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [retryCnt=0] [2025/04/04 10:36:16.616 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:16.638 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=af694e56-0929-5815-9e99-dfe7bdad9797] ["region ranges"=1] [count=9] [size=341] [2025/04/04 10:36:16.638 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:16.640 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000c55f728000000000000001] [endOfAllRanges=7480000000000000c55f728000000000000014] [startKeyOfFirstRegion=7480000000000000ffc55f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffc55f728000000000ff0000140000000000fa] [2025/04/04 10:36:16.652 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=af694e56-0929-5815-9e99-dfe7bdad9797] [size=341] [kvs=9] [importedSize=341] [importedCount=9] [2025/04/04 10:36:16.654 +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=41.737392ms] [] [2025/04/04 10:36:16.654 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [2025/04/04 10:36:16.655 +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.290384ms] [] [2025/04/04 10:36:16.655 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=22] [step=import] [engine-id=0] [2025/04/04 10:36:16.655 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [2025/04/04 10:36:16.657 +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.588739ms] [] [2025/04/04 10:36:16.657 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [retryCnt=0] [2025/04/04 10:36:16.660 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [2025/04/04 10:36:16.661 +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.625273ms] [] [2025/04/04 10:36:16.661 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [2025/04/04 10:36:16.662 +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=905.298µs] [] [2025/04/04 10:36:16.662 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=22] [step=import] [subtask-id=41] [takeTime=102.705825ms] [] [2025/04/04 10:36:16.662 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [subtaskID=41] [step=import] [takeTime=102.837616ms] [] [2025/04/04 10:36:16.759 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:16.760 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:16.761 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=22] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:16.761 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=22] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:16.791 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=22] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/04 10:36:16.793 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=22] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:16.793 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=2] [subtasks=1] [2025/04/04 10:36:16.813 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:36:16.813 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=22] [step=import] [2025/04/04 10:36:16.816 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:16.816 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:16.816 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:16.816 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:16.816 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:16.816 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:16.816 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:16.816 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:16.816 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-21] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:16.816 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:16.816 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:16.816 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:16.818 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:16.818 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:16.818 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:16.818 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:16.818 +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=910.2MiB]"] [takeTime=267.560089ms] [] [2025/04/04 10:36:16.818 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=22] [type=ImportInto] [2025/04/04 10:36:16.830 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=22] [type=ImportInto] [concurrency=2] [remaining-slots=70] [2025/04/04 10:36:16.849 +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=910.2MiB]"] [2025/04/04 10:36:16.856 +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 10:36:16.856 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [2025/04/04 10:36:16.856 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [2025/04/04 10:36:16.856 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [2025/04/04 10:36:16.861 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [takeTime=5.347648ms] [] [2025/04/04 10:36:16.861 +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 10:36:16.861 +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 10:36:16.862 +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 10:36:16.862 +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 10:36:16.863 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=197] [physicalTableID=197] [indexID=-1] [checksum=14296615166471800082] [totalKvs=9] [totalBytes=341] [2025/04/04 10:36:16.864 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:16.864 +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 10:36:16.864 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [takeTime=7.70775ms] [] [2025/04/04 10:36:16.864 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [takeTime=7.847984ms] [] [2025/04/04 10:36:16.864 +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=7.9667ms] [] [2025/04/04 10:36:16.883 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:16.958 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:16.958 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=22] [step=post-process] [state=running] [] [2025/04/04 10:36:16.961 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=22] [2025/04/04 10:36:16.979 +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=910.2MiB]"] [takeTime=129.579674ms] [] [2025/04/04 10:36:16.979 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=22] [type=ImportInto] [2025/04/04 10:36:17.054 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=22] [2025/04/04 10:36:17.059 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:17.059 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=22] [2025/04/04 10:36:17.083 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:17.255 +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.993398949\n# Parse_time: 0.000220882\n# Compile_time: 0.000571946\n# Rewrite_time: 0.000161613\n# Optimize_time: 0.000271228\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Mi4zbXMsIG9wZW46NzQzbnMsIGNsb3NlOjc1M25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Mi4zbXMsIG9wZW46NzQzbnMsIGNsb3NlOjc1M25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `load_data`.`cols_and_vars` (@`V1`,@`v2`,@`v3`) SET `a`=@`V1`, `b`=@`V2`*10, `c`=123 FROM 'gs://test-load/cols_and_vars-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=2;"] --- PASS: TestImportInto/TestColumnsAndUserVars (1.25s) === NAME TestImportInto === RUN TestImportInto/TestDeliverBytesRows [2025/04/04 10:36:17.284 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:199, Type:drop schema, State:queueing, SchemaState:public, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:17.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:17.284 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:199, Type:drop schema, State:queueing, SchemaState:public, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:17.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 10:36:17.289 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=199] [conn=2] [job="ID:199, Type:drop schema, State:queueing, SchemaState:public, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:17.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:17.306 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=136] [neededSchemaVersion=137] ["elapsed time"=1.801984ms] [gotSchemaVersion=137] [phyTblIDs="[197]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:17.309 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=199] [version=137] [2025/04/04 10:36:17.311 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=137] ["take time"=9.156633ms] [job="ID:199, Type:drop schema, State:running, SchemaState:write only, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:17.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:17.321 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=199] [conn=2] [job="ID:199, Type:drop schema, State:running, SchemaState:write only, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:17.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:17.334 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=137] [neededSchemaVersion=138] ["elapsed time"=140.476µs] [gotSchemaVersion=138] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:17.337 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=199] [version=138] [2025/04/04 10:36:17.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=138] ["take time"=7.133823ms] [job="ID:199, Type:drop schema, State:running, SchemaState:delete only, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:17.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:17.348 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=199] [conn=2] [job="ID:199, Type:drop schema, State:running, SchemaState:delete only, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:17.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:17.353 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:36:17.364 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=138] [neededSchemaVersion=139] ["elapsed time"=133.898µs] [gotSchemaVersion=139] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:17.367 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=199] [version=139] [2025/04/04 10:36:17.369 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=139] ["take time"=7.637424ms] [job="ID:199, Type:drop schema, State:done, SchemaState:none, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:17.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:17.378 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=199] [tableIDs="[197]"] [comment="drop schema: table IDs"] [2025/04/04 10:36:17.382 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=199] [jobType="drop schema"] [2025/04/04 10:36:17.383 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=199] [conn=2] [job="ID:199, Type:drop schema, State:synced, SchemaState:none, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:17.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:17.399 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=199] [2025/04/04 10:36:17.399 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=139] [cur_db=] [sql="drop database if exists load_data"] [user=root@%] [2025/04/04 10:36:17.410 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:201, Type:create schema, State:queueing, SchemaState:none, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:17.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:17.410 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:201, Type:create schema, State:queueing, SchemaState:none, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:17.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 10:36:17.416 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=201] [conn=2] [job="ID:201, Type:create schema, State:queueing, SchemaState:none, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:17.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:17.429 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=139] [neededSchemaVersion=140] ["elapsed time"=697.256µs] [gotSchemaVersion=140] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:36:17.433 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=201] [version=140] [2025/04/04 10:36:17.435 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=140] ["take time"=8.172372ms] [job="ID:201, Type:create schema, State:done, SchemaState:public, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:17.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:17.446 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=201] [conn=2] [job="ID:201, Type:create schema, State:synced, SchemaState:public, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:17.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:17.457 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=201] [2025/04/04 10:36:17.457 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=140] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/04 10:36:17.459 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=140] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 10:36:17.471 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:203, Type:create table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:17.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:17.471 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:203, Type:create table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:17.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:36:17.476 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=203] [conn=2] [job="ID:203, Type:create table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:17.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:17.481 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 202, Table Name: t)"] [2025/04/04 10:36:17.496 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=140] [neededSchemaVersion=141] ["elapsed time"=1.699679ms] [gotSchemaVersion=141] [phyTblIDs="[202]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:17.499 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=203] [version=141] [2025/04/04 10:36: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=141] ["take time"=8.484515ms] [job="ID:203, Type:create table, State:done, SchemaState:public, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:17.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:17.512 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=203] [conn=2] [job="ID:203, Type:create table, State:synced, SchemaState:public, SchemaID:200, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:17.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:17.522 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=203] [2025/04/04 10:36:17.523 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=141] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/04 10:36:17.529 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:17.576 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/min-deliver-bytes-rows.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:36:17.594 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=23] [task-id=23] [data-size=98B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:17.607 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=23] [2025/04/04 10:36:17.607 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:17.709 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:17.710 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:17.711 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=23] [curr-step=init] [next-step=import] [2025/04/04 10:36:17.719 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:17.722 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:17.722 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=98] [2025/04/04 10:36:17.722 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=98] [cost=60.485µs] [2025/04/04 10:36:17.723 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=198.118µs] [] [2025/04/04 10:36:17.723 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=23] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:17.723 +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=36] [subtasks=1] [2025/04/04 10:36:17.763 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=23] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:17.782 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=23] [step=import] [2025/04/04 10:36:17.782 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:17.790 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:17.790 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:17.790 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:17.790 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:17.790 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:17.790 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:17.790 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:17.791 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:17.791 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:17.791 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:17.802 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:17.804 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:17.804 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:17.804 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=23] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:17.804 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=23] [disk-quota=347.8GiB] [2025/04/04 10:36:17.804 +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=36, Mem=16GiB]"] [2025/04/04 10:36:17.811 +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 10:36:17.811 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=23] [step=import] [subtask-id=43] [2025/04/04 10:36:17.815 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=23] [mode=Import] [2025/04/04 10:36:17.815 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:17.818 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:17.818 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=202] [2025/04/04 10:36:17.833 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=23] [2025/04/04 10:36:17.855 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=202] [key=min-deliver-bytes-rows.csv:0] [2025/04/04 10:36:17.857 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=202] [key=min-deliver-bytes-rows.csv:0] [readDur=982.283µs] [encodeDur=439.398µs] [checksum="{cksum=17348221547970957058,size=369,kvs=9}"] [deliverDur=317.599µs] [type=file] [takeTime=2.018047ms] [] [2025/04/04 10:36:17.858 +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/5c1d1fac-52bd-498e-8aaf-d97656d03c76.sst] [firstKey=7480000000000000CA5F728000000000000001] [lastKey=7480000000000000CA5F728000000000000009] [2025/04/04 10:36:17.858 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=23] [step=import] [engine-id=0] [2025/04/04 10:36:17.858 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=23] [step=import] [engine-id=0] [2025/04/04 10:36:17.858 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:17.861 +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.566741ms] [] [2025/04/04 10:36:17.861 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 10:36:17.865 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:17.887 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=9] [size=369] [2025/04/04 10:36:17.887 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:17.889 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000ca5f728000000000000001] [endOfAllRanges=7480000000000000ca5f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ffca5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffca5f728000000000ff00000a0000000000fa] [2025/04/04 10:36:17.923 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=369] [kvs=9] [importedSize=369] [importedCount=9] [2025/04/04 10:36:17.925 +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=63.945872ms] [] [2025/04/04 10:36:17.925 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:17.926 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=995.889µs] [] [2025/04/04 10:36:17.926 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=23] [step=import] [engine-id=0] [2025/04/04 10:36:17.926 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:17.927 +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.325809ms] [] [2025/04/04 10:36:17.927 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 10:36:17.931 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:17.931 +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.835751ms] [] [2025/04/04 10:36:17.931 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:17.932 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=850.573µs] [] [2025/04/04 10:36:17.932 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=23] [step=import] [subtask-id=43] [takeTime=120.92049ms] [] [2025/04/04 10:36:17.933 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [subtaskID=43] [step=import] [takeTime=121.29917ms] [] [2025/04/04 10:36:18.015 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:18.016 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:18.018 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=23] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:18.018 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=23] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:18.049 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=23] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/04 10:36:18.050 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=23] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:18.050 +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=36] [subtasks=1] [2025/04/04 10:36:18.079 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:18.087 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=23] [step=import] [2025/04/04 10:36:18.091 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:18.091 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:18.091 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:18.091 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:18.091 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:18.091 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:18.091 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:18.091 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:18.091 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:18.091 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-22] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:18.091 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:18.091 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:18.093 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:18.093 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:18.093 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:18.093 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:18.093 +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=36, Mem=16GiB]"] [takeTime=289.040192ms] [] [2025/04/04 10:36:18.095 +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=36, Mem=16GiB]"] [2025/04/04 10:36:18.102 +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 10:36:18.102 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [2025/04/04 10:36:18.102 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [2025/04/04 10:36:18.102 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [2025/04/04 10:36:18.108 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [takeTime=6.195242ms] [] [2025/04/04 10:36:18.108 +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 10:36:18.109 +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 10:36:18.109 +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 10:36:18.109 +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 10:36:18.111 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=202] [physicalTableID=202] [indexID=-1] [checksum=17348221547970957058] [totalKvs=9] [totalBytes=369] [2025/04/04 10:36:18.111 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:18.111 +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 10:36:18.111 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [takeTime=8.976075ms] [] [2025/04/04 10:36:18.111 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [takeTime=9.123669ms] [] [2025/04/04 10:36:18.111 +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=9.262035ms] [] [2025/04/04 10:36:18.120 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:18.214 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:18.214 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=23] [step=post-process] [state=running] [] [2025/04/04 10:36:18.216 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=23] [2025/04/04 10:36:18.231 +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=36, Mem=16GiB]"] [takeTime=135.925058ms] [] [2025/04/04 10:36:18.231 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=23] [type=ImportInto] [2025/04/04 10:36:18.309 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=23] [2025/04/04 10:36:18.315 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:18.315 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=23] [2025/04/04 10:36:18.337 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:18.511 +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.987472883\n# Parse_time: 0.000073022\n# Compile_time: 0.000505178\n# Rewrite_time: 0.000133583\n# Optimize_time: 0.000849477\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ni43bXMsIG9wZW46NjY3bnMsIGNsb3NlOjY1NW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ni43bXMsIG9wZW46NjY3bnMsIGNsb3NlOjY1NW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/min-deliver-bytes-rows.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 10:36:18.527 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:205, Type:truncate table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:18.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:18.527 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:205, Type:truncate table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:18.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:36:18.532 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=205] [conn=2] [job="ID:205, Type:truncate table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:18.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:18.541 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 204, Table Name: t, Old Table ID: 202, Old Table Name: t)"] [2025/04/04 10:36:18.559 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=141] [neededSchemaVersion=142] ["elapsed time"=2.054651ms] [gotSchemaVersion=142] [phyTblIDs="[202,204]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:36:18.562 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=205] [version=142] [2025/04/04 10:36:18.564 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=142] ["take time"=9.643709ms] [job="ID:205, Type:truncate table, State:done, SchemaState:public, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:18.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:18.575 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=205] [tableIDs="[202]"] [comment="truncate table: table ID"] [2025/04/04 10:36:18.580 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=205] [jobType="truncate table"] [2025/04/04 10:36:18.581 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=205] [conn=2] [job="ID:205, Type:truncate table, State:synced, SchemaState:public, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:18.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:18.601 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=205] [2025/04/04 10:36:18.601 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=142] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/04 10:36:18.608 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:18.653 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/min-deliver-bytes-rows.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:36:18.672 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=24] [task-id=24] [data-size=98B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:18.686 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=24] [2025/04/04 10:36:18.686 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:18.788 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:18.790 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:18.791 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=24] [curr-step=init] [next-step=import] [2025/04/04 10:36:18.799 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:18.802 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:18.802 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=98] [2025/04/04 10:36:18.802 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=98] [cost=38.872µs] [2025/04/04 10:36:18.802 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=128.488µs] [] [2025/04/04 10:36:18.802 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=24] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:18.802 +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=36] [subtasks=1] [2025/04/04 10:36:18.835 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=24] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:18.854 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=24] [step=import] [2025/04/04 10:36:18.854 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:18.863 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:18.863 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:18.864 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:18.864 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:18.864 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:18.864 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:18.864 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:18.864 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:18.865 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:18.865 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:18.879 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:18.881 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:18.881 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:18.881 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=24] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:18.881 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=24] [disk-quota=347.8GiB] [2025/04/04 10:36:18.881 +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=36, Mem=16GiB]"] [2025/04/04 10:36:18.889 +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 10:36:18.889 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=24] [step=import] [subtask-id=45] [2025/04/04 10:36:18.893 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:18.895 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=24] [mode=Import] [2025/04/04 10:36:19.015 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:19.016 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=204] [2025/04/04 10:36:19.031 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=24] [2025/04/04 10:36:19.032 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=204] [key=min-deliver-bytes-rows.csv:0] [2025/04/04 10:36:19.034 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=204] [key=min-deliver-bytes-rows.csv:0] [readDur=1.16628ms] [encodeDur=451.306µs] [checksum="{cksum=12886775366575955058,size=369,kvs=9}"] [deliverDur=267.411µs] [type=file] [takeTime=2.04781ms] [] [2025/04/04 10:36:19.035 +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/1bd131e9-993e-4fa3-8577-bedbbc816933.sst] [firstKey=7480000000000000CC5F728000000000000001] [lastKey=7480000000000000CC5F728000000000000009] [2025/04/04 10:36:19.035 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=24] [step=import] [engine-id=0] [2025/04/04 10:36:19.035 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=24] [step=import] [engine-id=0] [2025/04/04 10:36:19.035 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:19.038 +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.854411ms] [] [2025/04/04 10:36:19.038 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 10:36:19.043 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:19.066 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=9] [size=369] [2025/04/04 10:36:19.066 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:19.068 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000cc5f728000000000000001] [endOfAllRanges=7480000000000000cc5f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ffcc5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffcc5f728000000000ff00000a0000000000fa] [2025/04/04 10:36:19.079 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=369] [kvs=9] [importedSize=369] [importedCount=9] [2025/04/04 10:36:19.080 +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.011858ms] [] [2025/04/04 10:36:19.080 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:19.081 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.070738ms] [] [2025/04/04 10:36:19.082 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=24] [step=import] [engine-id=0] [2025/04/04 10:36:19.082 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:19.083 +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.478586ms] [] [2025/04/04 10:36:19.083 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 10:36:19.087 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:19.087 +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.523818ms] [] [2025/04/04 10:36:19.087 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:19.088 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=845.659µs] [] [2025/04/04 10:36:19.088 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=24] [step=import] [subtask-id=45] [takeTime=198.544172ms] [] [2025/04/04 10:36:19.088 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [subtaskID=45] [step=import] [takeTime=198.719178ms] [] [2025/04/04 10:36:19.193 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:19.195 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:19.196 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=24] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:19.196 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=24] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:19.224 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=24] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/04 10:36:19.226 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=24] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:19.226 +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=36] [subtasks=1] [2025/04/04 10:36:19.234 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:36:19.234 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=24] [step=import] [2025/04/04 10:36:19.238 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:19.238 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:19.238 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:19.238 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:19.238 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:19.238 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:19.238 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:19.238 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:19.238 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:19.238 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:19.238 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:19.238 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-23] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:19.240 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:19.241 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:19.241 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:19.241 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:19.241 +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=36, Mem=16GiB]"] [takeTime=359.528707ms] [] [2025/04/04 10:36:19.241 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=24] [type=ImportInto] [2025/04/04 10:36:19.256 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=24] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:19.277 +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=36, Mem=16GiB]"] [2025/04/04 10:36:19.285 +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 10:36:19.285 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] None of the test reports contained any result [2025/04/04 10:36:19.285 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [2025/04/04 10:36:19.285 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [2025/04/04 10:36:19.292 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [takeTime=6.72312ms] [] [2025/04/04 10:36:19.292 +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] [Checks API] No suitable checks publisher found. [2025/04/04 10:36:19.292 +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 10:36:19.292 +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 10:36:19.292 +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 10:36:19.294 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=204] [physicalTableID=204] [indexID=-1] [checksum=12886775366575955058] [totalKvs=9] [totalBytes=369] [2025/04/04 10:36:19.294 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:19.294 +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 10:36:19.294 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [takeTime=9.458202ms] [] [2025/04/04 10:36:19.294 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [takeTime=9.605865ms] [] [2025/04/04 10:36:19.294 +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=9.730169ms] [] [2025/04/04 10:36:19.314 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:19.393 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:19.393 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=24] [step=post-process] [state=running] [] [2025/04/04 10:36:19.396 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=24] [2025/04/04 10:36:19.412 +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=36, Mem=16GiB]"] [takeTime=135.254995ms] [] [2025/04/04 10:36:19.412 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=24] [type=ImportInto] [2025/04/04 10:36:19.489 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=24] [2025/04/04 10:36:19.494 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:19.494 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=24] [2025/04/04 10:36:19.515 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:19.590 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.988398181\n# Parse_time: 0.000078435\n# Compile_time: 0.000660977\n# Rewrite_time: 0.000214344\n# Optimize_time: 0.000250886\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ny4zbXMsIG9wZW46Njk5bnMsIGNsb3NlOjEuMDTCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk4Ny4zbXMsIG9wZW46Njk5bnMsIGNsb3NlOjEuMDTCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/min-deliver-bytes-rows.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestDeliverBytesRows (2.32s) === NAME TestImportInto === RUN TestImportInto/TestDetachedLoadParquet [2025/04/04 10:36:19.596 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=142] [cur_db=load_data] [sql="DROP DATABASE IF EXISTS load_csv;"] [user=root@%] [2025/04/04 10:36:19.608 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:207, Type:create schema, State:queueing, SchemaState:none, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:19.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:19.608 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:207, Type:create schema, State:queueing, SchemaState:none, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:19.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/04 10:36:19.614 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=207] [conn=2] [job="ID:207, Type:create schema, State:queueing, SchemaState:none, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:19.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:19.628 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=142] [neededSchemaVersion=143] ["elapsed time"=782.833µs] [gotSchemaVersion=143] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:36:19.632 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=207] [version=143] [2025/04/04 10:36:19.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=143] ["take time"=8.105732ms] [job="ID:207, Type:create schema, State:done, SchemaState:public, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:19.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:19.644 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=207] [conn=2] [job="ID:207, Type:create schema, State:synced, SchemaState:public, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:19.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:19.655 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=207] [2025/04/04 10:36:19.655 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=143] [cur_db=load_data] [sql="CREATE DATABASE load_csv;"] [user=root@%] [2025/04/04 10:36:19.671 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:209, Type:create table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:19.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:19.671 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:209, Type:create table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:19.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id INT, val1 INT, val2 VARCHAR(20), d1 DECIMAL(10, 0), d2 DECIMAL(10, 2), d3 DECIMAL(8, 8),d4 DECIMAL(20, 0), d5 DECIMAL(36, 0), d6 DECIMAL(28, 8));"] [2025/04/04 10:36:19.677 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=209] [conn=2] [job="ID:209, Type:create table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:19.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:19.683 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 208, Table Name: t)"] [2025/04/04 10:36:19.705 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=143] [neededSchemaVersion=144] ["elapsed time"=2.790027ms] [gotSchemaVersion=144] [phyTblIDs="[208]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:19.709 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=209] [version=144] [2025/04/04 10:36:19.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=144] ["take time"=10.960587ms] [job="ID:209, Type:create table, State:done, SchemaState:public, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:19.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:19.725 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=209] [conn=2] [job="ID:209, Type:create table, State:synced, SchemaState:public, SchemaID:206, TableID:208, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:19.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:19.740 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=209] [2025/04/04 10:36:19.740 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=144] [cur_db=load_csv] [sql="CREATE TABLE t (id INT, val1 INT, val2 VARCHAR(20), d1 DECIMAL(10, 0), d2 DECIMAL(10, 2), d3 DECIMAL(8, 8),d4 DECIMAL(20, 0), d5 DECIMAL(36, 0), d6 DECIMAL(28, 8));"] [user=root@%] [2025/04/04 10:36:19.791 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestDetachedLoadParquet155482523/001/test.parquet\",\"format\":\"parquet\"}"] [dist-task-enabled=true] [2025/04/04 10:36:19.791 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:19.791 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=2686] [2025/04/04 10:36:19.792 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=2686] [cost=565.224µs] [2025/04/04 10:36:19.792 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=700.305µs] [] [2025/04/04 10:36:19.818 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=25] [task-id=25] [data-size=2.623KiB] [thread-cnt=8] [global-sort=false] [2025/04/04 10:36:19.834 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=25] [2025/04/04 10:36:19.834 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:36:19.937 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:19.939 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:19.942 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=25] [curr-step=init] [next-step=import] [2025/04/04 10:36:19.951 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=25] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:19.951 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 10:36:19.999 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=25] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:36:20.024 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=25] [step=import] [2025/04/04 10:36:20.033 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:20.033 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:20.033 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:20.033 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:20.034 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:20.034 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:20.034 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:20.034 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:20.035 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:20.035 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:20.045 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=25] [mode=Import] [2025/04/04 10:36:20.047 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:20.049 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:20.049 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:20.049 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=25] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:20.049 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=25] [disk-quota=347.8GiB] [2025/04/04 10:36:20.049 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:36:20.061 +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 10:36:20.061 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=25] [step=import] [subtask-id=47] [2025/04/04 10:36:20.066 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:36:20.067 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=25] [2025/04/04 10:36:20.070 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:36:20.070 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=208] [2025/04/04 10:36:20.105 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=208] [key=test.parquet:0] [2025/04/04 10:36:20.108 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=208] [key=test.parquet:0] [readDur=1.624441ms] [encodeDur=574.549µs] [checksum="{cksum=13966026291112241924,size=726,kvs=6}"] [deliverDur=249.108µs] [type=file] [takeTime=2.821185ms] [] [2025/04/04 10:36:20.109 +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/99f069d4-c643-46a4-b7e5-5dc0e9711d99.sst] [firstKey=7480000000000000D05F728000000000000001] [lastKey=7480000000000000D05F728000000000000006] [2025/04/04 10:36:20.109 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=25] [step=import] [engine-id=0] [2025/04/04 10:36:20.109 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=25] [step=import] [engine-id=0] [2025/04/04 10:36:20.109 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:36:20.111 +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.941639ms] [] [2025/04/04 10:36:20.111 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/04 10:36:20.117 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:20.138 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=6] [size=726] [2025/04/04 10:36:20.139 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:20.140 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d05f728000000000000001] [endOfAllRanges=7480000000000000d05f728000000000000007] [startKeyOfFirstRegion=7480000000000000ffd05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffd05f728000000000ff0000070000000000fa] [2025/04/04 10:36:20.153 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=726] [kvs=6] [importedSize=726] [importedCount=6] [2025/04/04 10:36:20.155 +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.353109ms] [] [2025/04/04 10:36:20.155 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:36:20.156 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.158489ms] [] [2025/04/04 10:36:20.156 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=25] [step=import] [engine-id=0] [2025/04/04 10:36:20.156 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:36:20.157 +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.518953ms] [] [2025/04/04 10:36:20.158 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/04 10:36:20.161 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:36:20.161 +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.778305ms] [] [2025/04/04 10:36:20.161 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:36:20.162 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=979.851µs] [] [2025/04/04 10:36:20.163 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=25] [step=import] [subtask-id=47] [takeTime=101.130715ms] [] [2025/04/04 10:36:20.163 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [subtaskID=47] [step=import] [takeTime=101.61196ms] [] [2025/04/04 10:36:20.242 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:20.244 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:20.247 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=25] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:20.247 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=25] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:20.280 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=25] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 10:36:20.283 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=25] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:20.283 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:36:20.311 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:20.318 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=25] [step=import] [2025/04/04 10:36:20.322 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:20.322 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:20.322 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:20.322 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:20.322 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:20.322 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:20.322 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:20.322 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:20.322 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-24] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:20.322 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:20.322 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:20.322 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:20.324 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:20.324 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:20.324 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:20.325 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:20.325 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=275.164931ms] [] [2025/04/04 10:36:20.327 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:36:20.334 +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 10:36:20.335 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [2025/04/04 10:36:20.335 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [2025/04/04 10:36:20.335 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [2025/04/04 10:36:20.341 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [takeTime=6.122314ms] [] [2025/04/04 10:36:20.341 +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 10:36:20.341 +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 10:36:20.341 +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 10:36:20.341 +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 10:36:20.343 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=208] [physicalTableID=208] [indexID=-1] [checksum=13966026291112241924] [totalKvs=6] [totalBytes=726] [2025/04/04 10:36:20.343 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:20.343 +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 10:36:20.343 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [takeTime=8.668855ms] [] [2025/04/04 10:36:20.343 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [takeTime=8.816177ms] [] [2025/04/04 10:36:20.343 +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.936941ms] [] [2025/04/04 10:36:20.353 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:20.441 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:20.441 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=25] [step=post-process] [state=running] [] [2025/04/04 10:36:20.445 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=25] [2025/04/04 10:36:20.467 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=139.828818ms] [] [2025/04/04 10:36:20.467 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=25] [type=ImportInto] [2025/04/04 10:36:20.536 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=25] [2025/04/04 10:36:20.542 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:20.542 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=25] [2025/04/04 10:36:20.568 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:20.735 +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.99408683\n# Parse_time: 0.000089794\n# Compile_time: 0.000637967\n# Rewrite_time: 0.000215633\n# Optimize_time: 0.000308894\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5My4xbXMsIG9wZW46NjIybnMsIGNsb3NlOjc5M25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5My4xbXMsIG9wZW46NjIybnMsIGNsb3NlOjc5M25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nuse load_csv;\nIMPORT INTO `load_csv`.`t` FROM '/tmp/TestImportIntoTestDetachedLoadParquet155482523/001/test.parquet' FORMAT 'parquet';"] [2025/04/04 10:36:20.752 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:211, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:20.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE t;"] [2025/04/04 10:36:20.752 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:211, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:20.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:20.757 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=211] [conn=2] [job="ID:211, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:20.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:20.766 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 210, Table Name: t, Old Table ID: 208, Old Table Name: t)"] [2025/04/04 10:36:20.788 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=144] [neededSchemaVersion=145] ["elapsed time"=2.694629ms] [gotSchemaVersion=145] [phyTblIDs="[208,210]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:36:20.791 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=211] [version=145] [2025/04/04 10:36:20.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=145] ["take time"=10.040895ms] [job="ID:211, Type:truncate table, State:done, SchemaState:public, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:20.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:20.804 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=211] [tableIDs="[208]"] [comment="truncate table: table ID"] [2025/04/04 10:36:20.809 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=211] [jobType="truncate table"] [2025/04/04 10:36:20.810 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=211] [conn=2] [job="ID:211, Type:truncate table, State:synced, SchemaState:public, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:20.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:20.829 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=211] [2025/04/04 10:36:20.829 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=145] [cur_db=load_csv] [sql="TRUNCATE TABLE t;"] [user=root@%] [2025/04/04 10:36:20.835 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:20.884 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load-parquet/p?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"parquet\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/04 10:36:20.907 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=26] [task-id=26] [data-size=2.623KiB] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:20.924 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=26] [2025/04/04 10:36:20.924 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:21.026 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:21.028 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:21.031 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=26] [curr-step=init] [next-step=import] [2025/04/04 10:36:21.039 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:21.042 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:21.042 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=2686] [2025/04/04 10:36:21.045 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=2686] [cost=3.40478ms] [2025/04/04 10:36:21.045 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=3.506014ms] [] [2025/04/04 10:36:21.045 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=26] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:21.045 +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=36] [subtasks=1] [2025/04/04 10:36:21.086 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=26] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:21.108 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=26] [step=import] [2025/04/04 10:36:21.108 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:21.116 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:21.117 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:21.117 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:21.117 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:21.117 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:21.117 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:21.117 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:21.117 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:21.118 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:21.118 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:21.130 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:21.131 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:21.131 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:21.132 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=26] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:21.132 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=26] [disk-quota=347.8GiB] [2025/04/04 10:36:21.132 +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=36, Mem=16GiB]"] [2025/04/04 10:36:21.133 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=26] [mode=Import] [2025/04/04 10:36:21.147 +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 10:36:21.147 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=26] [step=import] [subtask-id=49] [2025/04/04 10:36:21.151 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=26] [2025/04/04 10:36:21.151 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:36:21.155 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:36:21.155 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=210] [2025/04/04 10:36:21.169 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=210] [key=p:0] [2025/04/04 10:36:21.172 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=210] [key=p:0] [readDur=1.559958ms] [encodeDur=706.113µs] [checksum="{cksum=13966026291112241924,size=726,kvs=6}"] [deliverDur=283.366µs] [type=file] [takeTime=2.889249ms] [] [2025/04/04 10:36:21.173 +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/97a16fc8-64e8-4944-85e4-a8ce547f3d3b.sst] [firstKey=7480000000000000D25F728000000000000001] [lastKey=7480000000000000D25F728000000000000006] [2025/04/04 10:36:21.173 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=26] [step=import] [engine-id=0] [2025/04/04 10:36:21.173 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=26] [step=import] [engine-id=0] [2025/04/04 10:36:21.173 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:36:21.175 +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.940961ms] [] [2025/04/04 10:36:21.175 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/04 10:36:21.179 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:21.201 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=6] [size=726] [2025/04/04 10:36:21.202 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:21.203 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d25f728000000000000001] [endOfAllRanges=7480000000000000d25f728000000000000007] [startKeyOfFirstRegion=7480000000000000ffd25f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffd25f728000000000ff0000070000000000fa] [2025/04/04 10:36:21.215 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=726] [kvs=6] [importedSize=726] [importedCount=6] [2025/04/04 10:36:21.217 +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.745868ms] [] [2025/04/04 10:36:21.217 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:36:21.218 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.154245ms] [] [2025/04/04 10:36:21.218 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=26] [step=import] [engine-id=0] [2025/04/04 10:36:21.218 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:36:21.220 +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.416633ms] [] [2025/04/04 10:36:21.220 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/04 10:36:21.223 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:36:21.224 +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.617104ms] [] [2025/04/04 10:36:21.224 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:36:21.225 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=1.015455ms] [] [2025/04/04 10:36:21.225 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=26] [step=import] [subtask-id=49] [takeTime=77.798089ms] [] [2025/04/04 10:36:21.225 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [subtaskID=49] [step=import] [takeTime=77.967275ms] [] [2025/04/04 10:36:21.331 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:21.333 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:21.335 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=26] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:21.335 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=26] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:21.366 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=26] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 10:36:21.368 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=26] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:21.368 +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=36] [subtasks=1] [2025/04/04 10:36:21.371 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:36:21.371 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=26] [step=import] [2025/04/04 10:36:21.374 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:21.374 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:21.374 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:21.374 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:21.374 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:21.374 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:21.374 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:21.374 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:21.374 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:21.374 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-25] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:21.374 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:21.374 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:21.376 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:21.376 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:21.376 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:21.376 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:21.376 +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=36, Mem=16GiB]"] [takeTime=244.569138ms] [] [2025/04/04 10:36:21.376 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=26] [type=ImportInto] [2025/04/04 10:36:21.406 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=26] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:21.427 +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=36, Mem=16GiB]"] [2025/04/04 10:36:21.435 +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 10:36:21.435 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [2025/04/04 10:36:21.435 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [2025/04/04 10:36:21.435 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [2025/04/04 10:36:21.441 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [takeTime=5.987588ms] [] [2025/04/04 10:36:21.441 +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 10:36:21.441 +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 10:36:21.441 +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 10:36:21.441 +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 10:36:21.443 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=210] [physicalTableID=210] [indexID=-1] [checksum=13966026291112241924] [totalKvs=6] [totalBytes=726] [2025/04/04 10:36:21.443 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:21.443 +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 10:36:21.443 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [takeTime=8.475941ms] [] [2025/04/04 10:36:21.443 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [takeTime=8.603882ms] [] [2025/04/04 10:36:21.443 +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.744882ms] [] [2025/04/04 10:36:21.458 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:21.531 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:21.531 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=26] [step=post-process] [state=running] [] [2025/04/04 10:36:21.535 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=26] [2025/04/04 10:36:21.564 +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=36, Mem=16GiB]"] [takeTime=136.626344ms] [] [2025/04/04 10:36:21.564 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=26] [type=ImportInto] [2025/04/04 10:36:21.626 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=26] [2025/04/04 10:36:21.634 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:21.634 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=26] [2025/04/04 10:36:21.662 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:21.933 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:213, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:21.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:21.933 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:213, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:21.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE t;"] [2025/04/04 10:36:21.937 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=213] [conn=2] [job="ID:213, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:210, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:21.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:21.946 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 212, Table Name: t, Old Table ID: 210, Old Table Name: t)"] [2025/04/04 10:36:21.967 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=145] [neededSchemaVersion=146] ["elapsed time"=2.659085ms] [gotSchemaVersion=146] [phyTblIDs="[210,212]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:36:21.971 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=213] [version=146] [2025/04/04 10:36:21.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=146] ["take time"=9.555491ms] [job="ID:213, Type:truncate table, State:done, SchemaState:public, SchemaID:206, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:21.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:21.983 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=213] [tableIDs="[210]"] [comment="truncate table: table ID"] [2025/04/04 10:36:21.988 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=213] [jobType="truncate table"] [2025/04/04 10:36:21.989 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=213] [conn=2] [job="ID:213, Type:truncate table, State:synced, SchemaState:public, SchemaID:206, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:21.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:22.008 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=213] [2025/04/04 10:36:22.009 +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.42s) === NAME TestImportInto === RUN TestImportInto/TestDiskQuota [2025/04/04 10:36:22.011 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=146] [cur_db=load_csv] [sql="DROP DATABASE IF EXISTS load_test_disk_quota;"] [user=root@%] [2025/04/04 10:36:22.022 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:215, Type:create schema, State:queueing, SchemaState:none, SchemaID:214, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:21.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:22.022 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:215, Type:create schema, State:queueing, SchemaState:none, SchemaID:214, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:21.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_test_disk_quota;"] [2025/04/04 10:36:22.027 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=215] [conn=2] [job="ID:215, Type:create schema, State:queueing, SchemaState:none, SchemaID:214, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:21.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:22.041 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=146] [neededSchemaVersion=147] ["elapsed time"=636.203µs] [gotSchemaVersion=147] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:36:22.044 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=215] [version=147] [2025/04/04 10:36:22.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=147] ["take time"=7.570414ms] [job="ID:215, Type:create schema, State:done, SchemaState:public, SchemaID:214, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:21.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:22.056 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=215] [conn=2] [job="ID:215, Type:create schema, State:synced, SchemaState:public, SchemaID:214, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:21.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:22.065 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=215] [2025/04/04 10:36:22.066 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=147] [cur_db=load_csv] [sql="CREATE DATABASE load_test_disk_quota;"] [user=root@%] [2025/04/04 10:36:22.079 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:217, Type:create table, State:queueing, SchemaState:none, SchemaID:214, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:22.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_test_disk_quota.t(a int, b int)"] [2025/04/04 10:36:22.079 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:217, Type:create table, State:queueing, SchemaState:none, SchemaID:214, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:22.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:22.084 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=217] [conn=2] [job="ID:217, Type:create table, State:queueing, SchemaState:none, SchemaID:214, TableID:216, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:22.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:22.088 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 216, Table Name: t)"] [2025/04/04 10:36:22.101 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=147] [neededSchemaVersion=148] ["elapsed time"=1.67243ms] [gotSchemaVersion=148] [phyTblIDs="[216]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:22.104 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=217] [version=148] [2025/04/04 10:36:22.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=148] ["take time"=6.535985ms] [job="ID:217, Type:create table, State:done, SchemaState:public, SchemaID:214, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:22.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:22.118 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=217] [conn=2] [job="ID:217, Type:create table, State:synced, SchemaState:public, SchemaID:214, TableID:216, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:22.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:22.129 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=217] [2025/04/04 10:36:22.129 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=148] [cur_db=load_csv] [sql="CREATE TABLE load_test_disk_quota.t(a int, b int)"] [user=root@%] [2025/04/04 10:36:22.169 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:22.215 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/diskquota-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"disk_quota\":\"1b\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:22.232 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=27] [task-id=27] [data-size=95.49KiB] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:22.245 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=27] [2025/04/04 10:36:22.245 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:22.348 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:22.349 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:22.350 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=27] [curr-step=init] [next-step=import] [2025/04/04 10:36:22.358 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:22.361 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:22.361 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97780] [2025/04/04 10:36:22.361 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=97780] [cost=47.909µs] [2025/04/04 10:36:22.361 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=143.065µs] [] [2025/04/04 10:36:22.361 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=27] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:22.361 +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=36] [subtasks=1] [2025/04/04 10:36:22.397 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=27] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:22.417 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=27] [step=import] [2025/04/04 10:36:22.417 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:22.425 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:22.425 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:22.426 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:22.426 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:22.426 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:22.426 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:22.426 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:22.426 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:22.427 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:22.427 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:22.439 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:22.441 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:22.441 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=27] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:22.441 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=27] [disk-quota=1B] [2025/04/04 10:36:22.441 +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=36, Mem=16GiB]"] [2025/04/04 10:36:22.449 +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 10:36:22.450 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=27] [step=import] [subtask-id=51] [2025/04/04 10:36:22.453 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/04 10:36:22.453 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=27] [mode=Import] [2025/04/04 10:36:22.456 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 10:36:22.456 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=216] [2025/04/04 10:36:22.469 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=216] [key=diskquota-test.csv:0] [2025/04/04 10:36:22.471 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=27] [2025/04/04 10:36:22.536 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=0] [memSize=40402] [quota=1] [largeEnginesCount=1] [inProgressLargeEnginesCount=0] [2025/04/04 10:36:22.542 +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/e5226a31-4a33-48e3-a20f-de833b62709e.sst] [firstKey=7480000000000000D85F728000000000000001] [lastKey=7480000000000000D85F728000000000000B00] [2025/04/04 10:36:22.544 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 10:36:22.548 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:22.570 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=2816] [size=98304] [2025/04/04 10:36:22.571 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:22.572 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d85f728000000000000001] [endOfAllRanges=7480000000000000d85f728000000000000b01] [startKeyOfFirstRegion=7480000000000000ffd85f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffd85f728000000000ff000b010000000000fa] [2025/04/04 10:36:22.592 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=98304] [kvs=2816] [importedSize=98304] [importedCount=2816] [2025/04/04 10:36:22.594 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=49.598941ms] [] [2025/04/04 10:36:22.599 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=860] [memSize=49152] [quota=1] [largeEnginesCount=2] [inProgressLargeEnginesCount=0] [2025/04/04 10:36:22.601 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/04 10:36:22.604 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 10:36:22.604 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [takeTime=3.442195ms] [] [2025/04/04 10:36:22.609 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 10:36:22.613 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/04 10:36:22.613 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=3.4128ms] [] [2025/04/04 10:36:22.619 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=0] [memSize=98309] [quota=1] [largeEnginesCount=1] [inProgressLargeEnginesCount=0] [2025/04/04 10:36:22.629 +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/549de82e-150c-4af8-b83f-103e60231c0c.sst] [firstKey=7480000000000000D85F728000000000000B01] [lastKey=7480000000000000D85F7280000000000015F9] [2025/04/04 10:36:22.631 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 10:36:22.635 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:22.657 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=2809] [size=98315] [2025/04/04 10:36:22.657 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:22.659 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d85f728000000000000b01] [endOfAllRanges=7480000000000000d85f7280000000000015fa] [startKeyOfFirstRegion=7480000000000000ffd85f728000000000ff000b010000000000fa] [endKeyOfLastRegion=7480000000000000ffd85f728000000000ff0015fa0000000000fa] [2025/04/04 10:36:22.680 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=98315] [kvs=2809] [importedSize=196619] [importedCount=5625] [2025/04/04 10:36:22.682 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=51.144972ms] [] [2025/04/04 10:36:22.688 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=860] [memSize=147467] [quota=1] [largeEnginesCount=2] [inProgressLargeEnginesCount=0] [2025/04/04 10:36:22.695 +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/e9e8beb9-ab03-449e-a1cc-ad9843ec05e5.sst] [firstKey=7480000000000000D85F7280000000000015FA] [lastKey=7480000000000000D85F7280000000000020F2] [2025/04/04 10:36:22.697 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/04 10:36:22.700 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 10:36:22.700 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [takeTime=3.46856ms] [] [2025/04/04 10:36:22.704 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 10:36:22.708 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:22.729 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=2809] [size=98315] [2025/04/04 10:36:22.730 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:22.732 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d85f7280000000000015fa] [endOfAllRanges=7480000000000000d85f7280000000000020f3] [startKeyOfFirstRegion=7480000000000000ffd85f728000000000ff0015fa0000000000fa] [endKeyOfLastRegion=7480000000000000ffd85f728000000000ff0020f30000000000fa] [2025/04/04 10:36:22.758 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=98315] [kvs=2809] [importedSize=294934] [importedCount=8434] [2025/04/04 10:36:22.760 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=56.378399ms] [] [2025/04/04 10:36:22.767 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=0] [memSize=174872] [quota=1] [largeEnginesCount=1] [inProgressLargeEnginesCount=0] [2025/04/04 10:36:22.771 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=216] [key=diskquota-test.csv:0] [readDur=52.93189ms] [encodeDur=175.97744ms] [checksum="{cksum=13278823448959016481,size=349744,kvs=10000}"] [deliverDur=31.349763ms] [type=file] [takeTime=302.258414ms] [] [2025/04/04 10:36:22.772 +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/94ee4edf-7854-4f12-850b-8102e2fb3f11.sst] [firstKey=7480000000000000D85F7280000000000020F3] [lastKey=7480000000000000D85F728000000000002710] [2025/04/04 10:36:22.772 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=27] [step=import] [engine-id=0] [2025/04/04 10:36:22.772 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=27] [step=import] [engine-id=0] [2025/04/04 10:36:22.772 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/04 10:36:22.774 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 10:36:22.774 +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.777184ms] [] [2025/04/04 10:36:22.774 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 10:36:22.778 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:22.800 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=1566] [size=54810] [2025/04/04 10:36:22.800 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:22.802 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d85f7280000000000020f3] [endOfAllRanges=7480000000000000d85f728000000000002711] [startKeyOfFirstRegion=7480000000000000ffd85f728000000000ff0020f30000000000fa] [endKeyOfLastRegion=7480000000000000ffd85f728000000000ff0027110000000000fa] [2025/04/04 10:36:22.817 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=54810] [kvs=1566] [importedSize=349744] [importedCount=10000] [2025/04/04 10:36:22.818 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=44.207741ms] [] [2025/04/04 10:36:22.819 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:22.841 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=1566] [size=54810] [2025/04/04 10:36:22.841 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:22.842 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d85f7280000000000020f3] [endOfAllRanges=7480000000000000d85f728000000000002711] [startKeyOfFirstRegion=7480000000000000ffd85f728000000000ff0020f30000000000fa] [endKeyOfLastRegion=7480000000000000ffd85f728000000000ff0027110000000000fa] [2025/04/04 10:36:22.859 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=54810] [kvs=1566] [importedSize=404554] [importedCount=11566] [2025/04/04 10:36:22.861 +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=86.196621ms] [] [2025/04/04 10:36:22.861 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/04 10:36:22.865 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [takeTime=4.616226ms] [] [2025/04/04 10:36:22.865 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=27] [step=import] [engine-id=0] [2025/04/04 10:36:22.865 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 10:36:22.866 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=860] [memSize=0] [quota=1] [largeEnginesCount=1] [inProgressLargeEnginesCount=0] [2025/04/04 10:36:22.869 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/04 10:36:22.869 +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.155726ms] [] [2025/04/04 10:36:22.869 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/04 10:36:22.872 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 10:36:22.872 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [takeTime=3.741643ms] [] [2025/04/04 10:36:22.876 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 10:36:22.876 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [takeTime=7.418921ms] [] [2025/04/04 10:36:22.876 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 10:36:22.877 +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=719.092µs] [] [2025/04/04 10:36:22.877 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=27] [step=import] [subtask-id=51] [takeTime=427.386539ms] [] [2025/04/04 10:36:22.877 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [subtaskID=51] [step=import] [takeTime=427.53574ms] [] [2025/04/04 10:36:22.954 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:22.955 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:22.956 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=27] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:22.956 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=27] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:22.986 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=27] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":11566}"] [2025/04/04 10:36:22.987 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=27] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:22.987 +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=36] [subtasks=1] [2025/04/04 10:36:23.020 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:23.027 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=27] [step=import] [2025/04/04 10:36:23.036 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:23.036 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:23.036 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:23.036 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:23.036 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:23.036 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:23.036 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:23.036 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:23.036 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-26] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:23.036 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:23.036 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:23.036 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:23.038 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:23.038 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:23.038 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:23.038 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:23.039 +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=36, Mem=16GiB]"] [takeTime=597.108106ms] [] [2025/04/04 10:36:23.040 +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=36, Mem=16GiB]"] [2025/04/04 10:36:23.048 +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 10:36:23.048 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [2025/04/04 10:36:23.048 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [2025/04/04 10:36:23.048 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [2025/04/04 10:36:23.054 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [takeTime=5.928171ms] [] [2025/04/04 10:36:23.054 +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 10:36:23.054 +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 10:36:23.054 +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 10:36:23.054 +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 10:36:23.058 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=216] [physicalTableID=216] [indexID=-1] [checksum=13278823448959016481] [totalKvs=10000] [totalBytes=349744] [2025/04/04 10:36:23.058 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:23.058 +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 10:36:23.058 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [takeTime=10.386221ms] [] [2025/04/04 10:36:23.058 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [takeTime=10.535439ms] [] [2025/04/04 10:36:23.059 +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.593274ms] [] [2025/04/04 10:36:23.069 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:23.152 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:23.152 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=27] [step=post-process] [state=running] [] [2025/04/04 10:36:23.155 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=27] [2025/04/04 10:36:23.180 +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=36, Mem=16GiB]"] [takeTime=139.934736ms] [] [2025/04/04 10:36:23.180 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=27] [type=ImportInto] [2025/04/04 10:36:23.248 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=27] [2025/04/04 10:36:23.255 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:23.255 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=27] [2025/04/04 10:36:23.277 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:23.449 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 1.285375396\n# Parse_time: 0.000108505\n# Compile_time: 0.000546754\n# Rewrite_time: 0.000143732\n# Optimize_time: 0.000377601\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMjhzLCBvcGVuOjYxMm5zLCBjbG9zZTo3ODBucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMjhzLCBvcGVuOjYxMm5zLCBjbG9zZTo3ODBucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_test_disk_quota`.`t` FROM 'gs://test-load/diskquota-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH disk_quota=_UTF8MB4'1b';"] --- PASS: TestImportInto/TestDiskQuota (1.45s) === NAME TestImportInto === RUN TestImportInto/TestGBK [2025/04/04 10:36:23.457 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=148] [cur_db=load_csv] [sql="DROP DATABASE IF EXISTS load_charset;"] [user=root@%] [2025/04/04 10:36:23.469 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:219, Type:create schema, State:queueing, SchemaState:none, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:23.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:23.469 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:219, Type:create schema, State:queueing, SchemaState:none, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:23.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_charset;"] [2025/04/04 10:36:23.474 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=219] [conn=2] [job="ID:219, Type:create schema, State:queueing, SchemaState:none, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:23.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:23.488 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=148] [neededSchemaVersion=149] ["elapsed time"=671.414µs] [gotSchemaVersion=149] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:36:23.491 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=219] [version=149] [2025/04/04 10:36:23.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=149] ["take time"=7.35263ms] [job="ID:219, Type:create schema, State:done, SchemaState:public, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:23.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:23.503 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=219] [conn=2] [job="ID:219, Type:create schema, State:synced, SchemaState:public, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:23.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:23.513 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=219] [2025/04/04 10:36:23.513 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=149] [cur_db=load_csv] [sql="CREATE DATABASE load_charset;"] [user=root@%] [2025/04/04 10:36:23.526 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:23.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.gbk (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET gbk;"] [2025/04/04 10:36:23.526 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:23.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:23.532 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=221] [conn=2] [job="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:23.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:23.536 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 220, Table Name: gbk)"] [2025/04/04 10:36:23.551 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=149] [neededSchemaVersion=150] ["elapsed time"=1.673651ms] [gotSchemaVersion=150] [phyTblIDs="[220]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:23.554 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=221] [version=150] [2025/04/04 10:36:23.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=150] ["take time"=8.562247ms] [job="ID:221, Type:create table, State:done, SchemaState:public, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:23.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:23.566 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=221] [conn=2] [job="ID:221, Type:create table, State:synced, SchemaState:public, SchemaID:218, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:23.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:23.578 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=221] [2025/04/04 10:36:23.579 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=150] [cur_db=load_csv] [sql="CREATE TABLE load_charset.gbk (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET gbk;"] [user=root@%] [2025/04/04 10:36:23.591 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:223, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:222, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:23.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:23.591 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:223, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:222, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:23.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.utf8mb4 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8mb4;"] [2025/04/04 10:36:23.597 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=223] [conn=2] [job="ID:223, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:222, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:23.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:23.602 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 222, Table Name: utf8mb4)"] [2025/04/04 10:36:23.618 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=150] [neededSchemaVersion=151] ["elapsed time"=1.792379ms] [gotSchemaVersion=151] [phyTblIDs="[222]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:23.622 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=223] [version=151] [2025/04/04 10:36:23.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=151] ["take time"=8.932449ms] [job="ID:223, Type:create table, State:done, SchemaState:public, SchemaID:218, TableID:222, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:23.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:23.634 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=223] [conn=2] [job="ID:223, Type:create table, State:synced, SchemaState:public, SchemaID:218, TableID:222, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:23.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:23.646 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=223] [2025/04/04 10:36:23.646 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=151] [cur_db=load_csv] [sql="CREATE TABLE load_charset.utf8mb4 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8mb4;"] [user=root@%] [2025/04/04 10:36:23.653 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:23.710 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/gbk.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"gbk\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:23.731 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=28] [task-id=28] [data-size=69B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:23.745 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=28] [2025/04/04 10:36:23.745 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:23.848 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:23.849 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:23.850 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=28] [curr-step=init] [next-step=import] [2025/04/04 10:36:23.859 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:23.861 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=gbk] [2025/04/04 10:36:23.861 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=gbk] [before=536870912000] [after=69] [2025/04/04 10:36:23.862 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=gbk] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=69] [cost=44.723µs] [2025/04/04 10:36:23.862 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=gbk] [takeTime=125.998µs] [] [2025/04/04 10:36:23.862 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=28] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:23.862 +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=36] [subtasks=1] [2025/04/04 10:36:23.896 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=28] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:23.915 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=28] [step=import] [2025/04/04 10:36:23.915 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:23.923 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:23.923 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:23.924 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:23.924 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:23.924 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:23.924 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:23.924 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:23.924 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:23.925 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:23.925 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:23.937 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:23.938 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:23.939 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=gbk] [quota=373.5GB] [2025/04/04 10:36:23.939 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=28] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:23.939 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=gbk] [import-id=28] [disk-quota=347.8GiB] [2025/04/04 10:36:23.939 +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=36, Mem=16GiB]"] [2025/04/04 10:36:23.946 +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 10:36:23.947 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=28] [step=import] [subtask-id=53] [2025/04/04 10:36:23.950 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 10:36:23.953 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 10:36:23.953 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=220] [2025/04/04 10:36:23.954 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=28] [mode=Import] [2025/04/04 10:36:23.970 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=220] [key=gbk.csv:0] [2025/04/04 10:36:23.972 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=220] [key=gbk.csv:0] [readDur=910.286µs] [encodeDur=278.401µs] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [deliverDur=194.543µs] [type=file] [takeTime=1.627328ms] [] [2025/04/04 10:36:23.972 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=28] [2025/04/04 10:36:23.973 +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/8da99f89-d74f-43d4-97f7-304c7a998d6e.sst] [firstKey=7480000000000000DC5F728000000000000001] [lastKey=7480000000000000DC5F728000000000000002] [2025/04/04 10:36:23.973 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=28] [step=import] [engine-id=0] [2025/04/04 10:36:23.973 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=28] [step=import] [engine-id=0] [2025/04/04 10:36:23.973 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 10:36:23.975 +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.158292ms] [] [2025/04/04 10:36:23.975 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [retryCnt=0] [2025/04/04 10:36:23.979 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:24.002 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=bde291e2-5685-5f69-92ea-f9e2ed68f368] ["region ranges"=1] [count=2] [size=160] [2025/04/04 10:36:24.002 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:24.004 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000dc5f728000000000000001] [endOfAllRanges=7480000000000000dc5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffdc5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffdc5f728000000000ff0000030000000000fa] [2025/04/04 10:36:24.015 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=bde291e2-5685-5f69-92ea-f9e2ed68f368] [size=160] [kvs=2] [importedSize=160] [importedCount=2] [2025/04/04 10:36:24.017 +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.931936ms] [] [2025/04/04 10:36:24.017 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 10:36:24.018 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [takeTime=1.054022ms] [] [2025/04/04 10:36:24.018 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=28] [step=import] [engine-id=0] [2025/04/04 10:36:24.018 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 10:36:24.020 +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.563009ms] [] [2025/04/04 10:36:24.020 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [retryCnt=0] [2025/04/04 10:36:24.024 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 10:36:24.024 +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.878148ms] [] [2025/04/04 10:36:24.024 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 10:36:24.025 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [takeTime=1.067423ms] [] [2025/04/04 10:36:24.025 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=28] [step=import] [subtask-id=53] [takeTime=78.661997ms] [] [2025/04/04 10:36:24.025 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [subtaskID=53] [step=import] [takeTime=78.803677ms] [] [2025/04/04 10:36:24.053 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:24.054 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:24.055 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=28] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:24.055 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=28] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:24.083 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=28] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:36:24.084 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=28] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:24.084 +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=36] [subtasks=1] [2025/04/04 10:36:24.107 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:24.114 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=28] [step=import] [2025/04/04 10:36:24.117 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:24.117 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:24.117 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:24.117 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:24.117 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:24.117 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:24.117 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:24.117 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:24.117 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-27] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:24.117 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:24.117 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:24.117 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:24.119 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:24.119 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:24.119 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:24.119 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:24.119 +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=36, Mem=16GiB]"] [takeTime=180.476359ms] [] [2025/04/04 10:36:24.121 +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=36, Mem=16GiB]"] [2025/04/04 10:36:24.129 +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 10:36:24.129 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [2025/04/04 10:36:24.129 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [2025/04/04 10:36:24.129 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [2025/04/04 10:36:24.135 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [takeTime=6.468621ms] [] [2025/04/04 10:36:24.136 +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 10:36:24.136 +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 10:36:24.136 +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 10:36:24.136 +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 10:36:24.138 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=220] [physicalTableID=220] [indexID=-1] [checksum=12169156294469719470] [totalKvs=2] [totalBytes=160] [2025/04/04 10:36:24.138 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:24.138 +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 10:36:24.138 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [takeTime=9.312667ms] [] [2025/04/04 10:36:24.138 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [takeTime=9.459209ms] [] [2025/04/04 10:36:24.138 +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.610137ms] [] [2025/04/04 10:36:24.146 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:24.152 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:24.153 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=28] [step=post-process] [state=running] [] [2025/04/04 10:36:24.155 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=28] [2025/04/04 10:36:24.186 +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=36, Mem=16GiB]"] [takeTime=65.317797ms] [] [2025/04/04 10:36:24.186 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=28] [type=ImportInto] [2025/04/04 10:36:24.247 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=28] [2025/04/04 10:36:24.254 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:24.254 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=28] [2025/04/04 10:36:24.274 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:24.347 +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.699649286\n# Parse_time: 0.000083428\n# Compile_time: 0.000562645\n# Rewrite_time: 0.000173806\n# Optimize_time: 0.000492032\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5OC43bXMsIG9wZW46NjE0bnMsIGNsb3NlOjc4Mm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5OC43bXMsIG9wZW46NjE0bnMsIGNsb3NlOjc4Mm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_charset`.`gbk` FROM 'gs://test-load/gbk.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'gbk';"] [2025/04/04 10:36:24.356 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:24.402 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/gbk.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"gbk\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:24.421 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=29] [task-id=29] [data-size=69B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:24.435 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=29] [2025/04/04 10:36:24.435 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:24.538 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:24.539 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:24.540 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=29] [curr-step=init] [next-step=import] [2025/04/04 10:36:24.548 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:24.550 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8mb4] [2025/04/04 10:36:24.550 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8mb4] [before=536870912000] [after=69] [2025/04/04 10:36:24.550 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8mb4] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=69] [cost=58.572µs] [2025/04/04 10:36:24.550 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8mb4] [takeTime=167.183µs] [] [2025/04/04 10:36:24.551 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=29] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:24.551 +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=36] [subtasks=1] [2025/04/04 10:36:24.586 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=29] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:24.607 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=29] [step=import] [2025/04/04 10:36:24.607 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:24.615 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:24.615 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:24.616 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:24.616 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:24.616 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:24.616 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:24.616 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:24.616 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:24.617 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:24.617 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:24.630 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:24.632 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:24.632 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=utf8mb4] [quota=373.5GB] [2025/04/04 10:36:24.632 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=29] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:24.632 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8mb4] [import-id=29] [disk-quota=347.8GiB] [2025/04/04 10:36:24.632 +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=36, Mem=16GiB]"] [2025/04/04 10:36:24.640 +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 10:36:24.640 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=29] [step=import] [subtask-id=55] [2025/04/04 10:36:24.643 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=29] [mode=Import] [2025/04/04 10:36:24.644 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 10:36:24.647 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 10:36:24.648 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=222] [2025/04/04 10:36:24.662 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=29] [2025/04/04 10:36:24.687 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=222] [key=gbk.csv:0] [2025/04/04 10:36:24.689 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=222] [key=gbk.csv:0] [readDur=814.005µs] [encodeDur=249.612µs] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [deliverDur=205.524µs] [type=file] [takeTime=1.51798ms] [] [2025/04/04 10:36:24.689 +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/e45d94c8-ec3d-4ef6-9f0a-412d786ae718.sst] [firstKey=7480000000000000DE5F728000000000000001] [lastKey=7480000000000000DE5F728000000000000002] [2025/04/04 10:36:24.690 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=29] [step=import] [engine-id=0] [2025/04/04 10:36:24.690 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=29] [step=import] [engine-id=0] [2025/04/04 10:36:24.690 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 10:36:24.692 +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.340772ms] [] [2025/04/04 10:36:24.692 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [retryCnt=0] [2025/04/04 10:36:24.697 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:24.719 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] ["region ranges"=1] [count=2] [size=160] [2025/04/04 10:36:24.719 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:24.721 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000de5f728000000000000001] [endOfAllRanges=7480000000000000de5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffde5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffde5f728000000000ff0000030000000000fa] [2025/04/04 10:36:24.733 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [size=160] [kvs=2] [importedSize=160] [importedCount=2] [2025/04/04 10:36:24.735 +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.726011ms] [] [2025/04/04 10:36:24.735 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 10:36:24.736 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [takeTime=1.178066ms] [] [2025/04/04 10:36:24.736 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=29] [step=import] [engine-id=0] [2025/04/04 10:36:24.736 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 10:36:24.738 +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.334582ms] [] [2025/04/04 10:36:24.738 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [retryCnt=0] [2025/04/04 10:36:24.741 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 10:36:24.741 +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.597242ms] [] [2025/04/04 10:36:24.741 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 10:36:24.742 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [takeTime=957.855µs] [] [2025/04/04 10:36:24.743 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=29] [step=import] [subtask-id=55] [takeTime=102.778408ms] [] [2025/04/04 10:36:24.743 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [subtaskID=55] [step=import] [takeTime=102.938735ms] [] [2025/04/04 10:36:24.842 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:24.843 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:24.844 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=29] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:24.844 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=29] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:24.874 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=29] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:36:24.876 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=29] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:24.876 +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=36] [subtasks=1] [2025/04/04 10:36:24.886 +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 10:36:24.886 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=29] [step=import] [2025/04/04 10:36:24.889 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:24.889 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:24.889 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:24.889 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:24.889 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:24.889 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:24.889 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:24.889 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:24.889 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:24.889 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:24.889 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:24.889 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-28] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:24.891 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:24.891 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:24.891 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:24.891 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:24.891 +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=36, Mem=16GiB]"] [takeTime=259.127961ms] [] [2025/04/04 10:36:24.891 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=29] [type=ImportInto] [2025/04/04 10:36:24.916 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=29] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:24.936 +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=36, Mem=16GiB]"] [2025/04/04 10:36:24.943 +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 10:36:24.944 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [2025/04/04 10:36:24.944 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [2025/04/04 10:36:24.944 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [2025/04/04 10:36:24.949 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [takeTime=5.638732ms] [] [2025/04/04 10:36:24.949 +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 10:36:24.949 +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 10:36:24.950 +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 10:36:24.950 +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 10:36:24.951 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=222] [physicalTableID=222] [indexID=-1] [checksum=12169156294469719470] [totalKvs=2] [totalBytes=160] [2025/04/04 10:36:24.952 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:24.952 +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 10:36:24.952 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [takeTime=8.195175ms] [] [2025/04/04 10:36:24.952 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [takeTime=8.329477ms] [] [2025/04/04 10:36:24.952 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [subtaskID=56] [step=post-process] [takeTime=8.477247ms] [] [2025/04/04 10:36:24.967 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:25.042 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:25.042 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=29] [step=post-process] [state=running] [] [2025/04/04 10:36:25.045 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=29] [2025/04/04 10:36:25.074 +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=36, Mem=16GiB]"] [takeTime=137.310527ms] [] [2025/04/04 10:36:25.074 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=29] [type=ImportInto] [2025/04/04 10:36:25.100 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:36:25.138 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=29] [2025/04/04 10:36:25.144 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:25.144 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=29] [2025/04/04 10:36:25.166 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:25.339 +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.988934219\n# Parse_time: 0.000097107\n# Compile_time: 0.000531313\n# Rewrite_time: 0.000152963\n# Optimize_time: 0.000244443\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OG1zLCBvcGVuOjYyMm5zLCBjbG9zZTo3NDlucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjk4OG1zLCBvcGVuOjYyMm5zLCBjbG9zZTo3NDlucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_charset`.`utf8mb4` FROM 'gs://test-load/gbk.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'gbk';"] [2025/04/04 10:36:25.356 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:225, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:25.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:25.356 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:225, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:25.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_charset.gbk;"] [2025/04/04 10:36:25.362 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=225] [conn=2] [job="ID:225, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:25.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:25.370 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 224, Table Name: gbk, Old Table ID: 220, Old Table Name: gbk)"] [2025/04/04 10:36:25.386 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=151] [neededSchemaVersion=152] ["elapsed time"=1.905529ms] [gotSchemaVersion=152] [phyTblIDs="[220,224]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:36:25.390 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=225] [version=152] [2025/04/04 10:36:25.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=152] ["take time"=9.491691ms] [job="ID:225, Type:truncate table, State:done, SchemaState:public, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:25.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:25.402 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=225] [tableIDs="[220]"] [comment="truncate table: table ID"] [2025/04/04 10:36:25.407 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=225] [jobType="truncate table"] [2025/04/04 10:36:25.408 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=225] [conn=2] [job="ID:225, Type:truncate table, State:synced, SchemaState:public, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:25.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:25.425 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=225] [2025/04/04 10:36:25.426 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=152] [cur_db=load_csv] [sql="TRUNCATE TABLE load_charset.gbk;"] [user=root@%] [2025/04/04 10:36:25.432 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:25.484 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/utf8mb4.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"utf8mb4\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:25.503 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30] [task-id=30] [data-size=101B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:25.516 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30] [2025/04/04 10:36:25.517 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:25.619 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:25.620 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:25.621 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30] [curr-step=init] [next-step=import] [2025/04/04 10:36:25.628 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:25.631 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=gbk] [2025/04/04 10:36:25.631 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=gbk] [before=536870912000] [after=101] [2025/04/04 10:36:25.631 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=gbk] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=101] [cost=42.271µs] [2025/04/04 10:36:25.631 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=gbk] [takeTime=153.296µs] [] [2025/04/04 10:36:25.632 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:25.632 +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=36] [subtasks=1] [2025/04/04 10:36:25.665 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:25.685 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30] [step=import] [2025/04/04 10:36:25.685 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:25.693 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:25.693 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:25.694 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:25.694 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:25.694 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:25.694 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:25.694 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:25.694 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:25.695 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:25.695 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:25.708 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:25.710 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:25.710 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=gbk] [quota=373.5GB] [2025/04/04 10:36:25.710 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:25.710 +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=36, Mem=16GiB]"] [2025/04/04 10:36:25.710 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=gbk] [import-id=30] [disk-quota=347.8GiB] [2025/04/04 10:36:25.718 +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 10:36:25.718 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30] [step=import] [subtask-id=57] [2025/04/04 10:36:25.721 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 10:36:25.724 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30] [mode=Import] [2025/04/04 10:36:25.725 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 10:36:25.725 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=224] [2025/04/04 10:36:25.743 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30] [2025/04/04 10:36:25.770 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=224] [key=utf8mb4.csv:0] [2025/04/04 10:36:25.772 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=224] [key=utf8mb4.csv:0] [readDur=989.478µs] [encodeDur=283.889µs] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [deliverDur=301.425µs] [type=file] [takeTime=1.908181ms] [] [2025/04/04 10:36:25.772 +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/e9597e9b-8217-4a9b-9aff-4d5fc0698aed.sst] [firstKey=7480000000000000E05F728000000000000001] [lastKey=7480000000000000E05F728000000000000002] [2025/04/04 10:36:25.772 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30] [step=import] [engine-id=0] [2025/04/04 10:36:25.773 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30] [step=import] [engine-id=0] [2025/04/04 10:36:25.773 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 10:36:25.774 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [takeTime=1.855946ms] [] [2025/04/04 10:36:25.775 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [retryCnt=0] [2025/04/04 10:36:25.779 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:25.800 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=bde291e2-5685-5f69-92ea-f9e2ed68f368] ["region ranges"=1] [count=2] [size=160] [2025/04/04 10:36:25.801 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:25.802 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e05f728000000000000001] [endOfAllRanges=7480000000000000e05f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe05f728000000000ff0000030000000000fa] [2025/04/04 10:36:25.814 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=bde291e2-5685-5f69-92ea-f9e2ed68f368] [size=160] [kvs=2] [importedSize=160] [importedCount=2] [2025/04/04 10:36:25.816 +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.532419ms] [] [2025/04/04 10:36:25.816 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 10:36:25.817 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [takeTime=992.789µs] [] [2025/04/04 10:36:25.817 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30] [step=import] [engine-id=0] [2025/04/04 10:36:25.817 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 10:36:25.819 +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.729343ms] [] [2025/04/04 10:36:25.819 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [retryCnt=0] [2025/04/04 10:36:25.824 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 10:36:25.824 +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=4.554836ms] [] [2025/04/04 10:36:25.824 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 10:36:25.825 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [takeTime=1.014917ms] [] [2025/04/04 10:36:25.825 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30] [step=import] [subtask-id=57] [takeTime=107.203307ms] [] [2025/04/04 10:36:25.825 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [subtaskID=57] [step=import] [takeTime=107.371824ms] [] [2025/04/04 10:36:25.923 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:25.924 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:25.925 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:25.926 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:25.954 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:36:25.955 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:25.955 +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=36] [subtasks=1] [2025/04/04 10:36:25.966 +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 10:36:25.966 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30] [step=import] [2025/04/04 10:36:25.969 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:25.969 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:25.969 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:25.969 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:25.969 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:25.969 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:25.969 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:25.969 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:25.969 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-29] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:25.969 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:25.969 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:25.969 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:25.971 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:25.971 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:25.971 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:25.971 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:25.971 +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=36, Mem=16GiB]"] [takeTime=260.787186ms] [] [2025/04/04 10:36:25.971 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30] [type=ImportInto] [2025/04/04 10:36:25.985 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:26.005 +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=36, Mem=16GiB]"] [2025/04/04 10:36:26.012 +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 10:36:26.012 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [2025/04/04 10:36:26.012 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [2025/04/04 10:36:26.012 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [2025/04/04 10:36:26.017 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [takeTime=5.358337ms] [] [2025/04/04 10:36:26.018 +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 10:36:26.018 +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 10:36:26.018 +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 10:36:26.018 +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 10:36:26.019 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=224] [physicalTableID=224] [indexID=-1] [checksum=12169156294469719470] [totalKvs=2] [totalBytes=160] [2025/04/04 10:36:26.020 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:26.020 +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 10:36:26.020 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [takeTime=7.772081ms] [] [2025/04/04 10:36:26.020 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [takeTime=7.902431ms] [] [2025/04/04 10:36:26.020 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [subtaskID=58] [step=post-process] [takeTime=8.022545ms] [] [2025/04/04 10:36:26.034 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:26.124 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:26.124 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30] [step=post-process] [state=running] [] [2025/04/04 10:36:26.127 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30] [2025/04/04 10:36:26.142 +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=36, Mem=16GiB]"] [takeTime=137.299701ms] [] [2025/04/04 10:36:26.142 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30] [type=ImportInto] [2025/04/04 10:36:26.219 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30] [2025/04/04 10:36:26.226 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:26.226 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30] [2025/04/04 10:36:26.250 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:26.422 +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.996059225\n# Parse_time: 0.000141103\n# Compile_time: 0.000555608\n# Rewrite_time: 0.000173288\n# Optimize_time: 0.000274368\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NS4xbXMsIG9wZW46NjQ5bnMsIGNsb3NlOjc5MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5NS4xbXMsIG9wZW46NjQ5bnMsIGNsb3NlOjc5MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_charset`.`gbk` FROM 'gs://test-load/utf8mb4.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'utf8mb4';"] [2025/04/04 10:36:26.437 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:227, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:26.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_charset.gbk;"] [2025/04/04 10:36:26.437 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:227, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:26.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:26.443 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=227] [conn=2] [job="ID:227, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:224, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:26.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:26.451 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 226, Table Name: gbk, Old Table ID: 224, Old Table Name: gbk)"] [2025/04/04 10:36:26.466 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=152] [neededSchemaVersion=153] ["elapsed time"=1.684197ms] [gotSchemaVersion=153] [phyTblIDs="[224,226]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:36:26.470 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=227] [version=153] [2025/04/04 10:36:26.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=153] ["take time"=8.88715ms] [job="ID:227, Type:truncate table, State:done, SchemaState:public, SchemaID:218, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:26.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:26.482 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=227] [tableIDs="[224]"] [comment="truncate table: table ID"] [2025/04/04 10:36:26.486 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=227] [jobType="truncate table"] [2025/04/04 10:36:26.487 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=227] [conn=2] [job="ID:227, Type:truncate table, State:synced, SchemaState:public, SchemaID:218, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:26.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:26.503 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=227] [2025/04/04 10:36:26.504 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=153] [cur_db=load_csv] [sql="TRUNCATE TABLE load_charset.gbk;"] [user=root@%] [2025/04/04 10:36:26.509 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:26.562 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/emoji.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"utf8mb4\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:26.580 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=31] [task-id=31] [data-size=61B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:26.594 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=31] [2025/04/04 10:36:26.594 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=31] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:26.696 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=31] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:26.697 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=31] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:26.698 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=31] [curr-step=init] [next-step=import] [2025/04/04 10:36:26.706 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:26.708 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=gbk] [2025/04/04 10:36:26.708 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=gbk] [before=536870912000] [after=61] [2025/04/04 10:36:26.708 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=gbk] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=61] [cost=50.127µs] [2025/04/04 10:36:26.708 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=gbk] [takeTime=171.962µs] [] [2025/04/04 10:36:26.709 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=31] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:26.709 +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=36] [subtasks=1] [2025/04/04 10:36:26.745 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=31] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:26.766 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=31] [step=import] [2025/04/04 10:36:26.766 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:26.775 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:26.775 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:26.775 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:26.775 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:26.775 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:26.775 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:26.775 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:26.775 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:26.776 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:26.776 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:26.787 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:26.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 10:36:26.789 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=gbk] [quota=373.5GB] [2025/04/04 10:36:26.789 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=31] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:26.789 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=gbk] [import-id=31] [disk-quota=347.8GiB] [2025/04/04 10:36:26.789 +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=36, Mem=16GiB]"] [2025/04/04 10:36:26.796 +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 10:36:26.796 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=31] [step=import] [subtask-id=59] [2025/04/04 10:36:26.800 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 10:36:26.802 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=31] [mode=Import] [2025/04/04 10:36:26.803 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 10:36:26.803 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=226] [2025/04/04 10:36:26.820 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=31] [2025/04/04 10:36:26.841 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=226] [key=emoji.csv:0] [2025/04/04 10:36:26.842 +00:00] [ERROR] [chunk_process.go:334] ["process chunk failed"] [type=ImportInto] [table-id=226] [key=emoji.csv:0] [takeTime=1.056633ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [stack="github.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func1\n\tpkg/executor/importer/chunk_process.go:334\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process\n\tpkg/executor/importer/chunk_process.go:354\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunkWithWriter\n\tpkg/executor/importer/engine_process.go:113\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunk\n\tpkg/executor/importer/engine_process.go:67\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:66\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/04 10:36:26.842 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=31] [step=import] [subtask-id=59] [takeTime=45.467433ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:36:26.842 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=31] [task-type=ImportInto] [server-id=:4000] [subtaskID=59] [step=import] [takeTime=45.745887ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:26.842 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=31] [task-type=ImportInto] [server-id=:4000] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:26.848 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=31] [task-type=ImportInto] [server-id=:4000] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:36:26.905 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=31] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[table:1366]Incorrect string value '\\\\\\\\xF0\\\\\\\\x9F\\\\\\\\x98\\\\\\\\x80' for column 'j'\\\"}\"]"] [2025/04/04 10:36:26.915 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=31] [step=import] [2025/04/04 10:36:26.918 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:26.918 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:26.918 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:26.918 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:26.918 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:26.918 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:26.918 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:26.918 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:26.918 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:26.918 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-30] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:26.918 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:26.918 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:26.920 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:26.920 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:26.920 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:26.920 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:26.921 +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=36, Mem=16GiB]"] [takeTime=131.281185ms] [] [2025/04/04 10:36:26.921 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=31] [type=ImportInto] [2025/04/04 10:36:27.002 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=31] [step=import] [state=reverting] [error="[table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [2025/04/04 10:36:27.003 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=31] [step=import] [mode=Normal] [2025/04/04 10:36:27.020 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=31] [2025/04/04 10:36:27.096 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=31] [2025/04/04 10:36:27.103 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:27.103 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=31] [2025/04/04 10:36:27.125 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:27.283 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=31] [error="[table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestGBK\n\ttests/realtikvtest/importintotest/import_into_test.go:591\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 10:36:27.284 +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.779846784\n# Parse_time: 0.000091596\n# Compile_time: 0.0005278\n# Rewrite_time: 0.000151598\n# Optimize_time: 0.000289569\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('SPBHMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjc3OC44bXMsIG9wZW46NjQ3bnMsIGNsb3NlOjczMW5zLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjgBQAFSA04vQVoudGltZTo3NzguOG1zLCBvcGVuOjY0N25zLCBjbG9zZTo3MzFucywgbG9vcHM6MXD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\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.83s) === NAME TestImportInto === RUN TestImportInto/TestGeneratedColumnsAndTSVFile [2025/04/04 10:36:27.297 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:228, Type:drop schema, State:queueing, SchemaState:public, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:27.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:27.297 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:228, Type:drop schema, State:queueing, SchemaState:public, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:27.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_csv;"] [2025/04/04 10:36:27.303 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=228] [conn=2] [job="ID:228, Type:drop schema, State:queueing, SchemaState:public, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:27.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:27.323 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=153] [neededSchemaVersion=154] ["elapsed time"=2.505104ms] [gotSchemaVersion=154] [phyTblIDs="[212]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:27.327 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=154] [2025/04/04 10:36:27.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=154] ["take time"=10.953261ms] [job="ID:228, Type:drop schema, State:running, SchemaState:write only, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:27.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:27.339 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=228] [conn=2] [job="ID:228, Type:drop schema, State:running, SchemaState:write only, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:27.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:27.355 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=154] [neededSchemaVersion=155] ["elapsed time"=136.956µs] [gotSchemaVersion=155] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:27.359 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=155] [2025/04/04 10:36:27.361 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=155] ["take time"=9.292909ms] [job="ID:228, Type:drop schema, State:running, SchemaState:delete only, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:27.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:27.369 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=228] [conn=2] [job="ID:228, Type:drop schema, State:running, SchemaState:delete only, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:27.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:27.375 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:36:27.386 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=155] [neededSchemaVersion=156] ["elapsed time"=162.995µs] [gotSchemaVersion=156] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:27.390 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=156] [2025/04/04 10:36:27.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=156] ["take time"=7.550638ms] [job="ID:228, Type:drop schema, State:done, SchemaState:none, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:27.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:27.401 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=228] [tableIDs="[212]"] [comment="drop schema: table IDs"] [2025/04/04 10:36:27.406 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=228] [jobType="drop schema"] [2025/04/04 10:36:27.407 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=228] [conn=2] [job="ID:228, Type:drop schema, State:synced, SchemaState:none, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:27.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:27.424 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=228] [2025/04/04 10:36:27.424 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=156] [cur_db=] [sql="DROP DATABASE IF EXISTS load_csv;"] [user=root@%] None of the test reports contained any result [2025/04/04 10:36:27.436 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:230, Type:create schema, State:queueing, SchemaState:none, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:27.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [Pipeline] // withEnv [2025/04/04 10:36:27.436 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:230, Type:create schema, State:queueing, SchemaState:none, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:27.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [Checks API] No suitable checks publisher found. [2025/04/04 10:36:27.441 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=230] [conn=2] [job="ID:230, Type:create schema, State:queueing, SchemaState:none, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:27.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:27.454 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=156] [neededSchemaVersion=157] ["elapsed time"=656.467µs] [gotSchemaVersion=157] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:36:27.458 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=230] [version=157] [2025/04/04 10:36:27.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=157] ["take time"=7.665343ms] [job="ID:230, Type:create schema, State:done, SchemaState:public, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:27.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:27.469 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=230] [conn=2] [job="ID:230, Type:create schema, State:synced, SchemaState:public, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:27.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:27.478 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=230] [2025/04/04 10:36:27.479 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=157] [cur_db=] [sql="CREATE DATABASE load_csv;"] [user=root@%] [2025/04/04 10:36:27.492 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:232, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:231, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:27.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:27.492 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:232, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:231, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:27.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_csv.t_gen1 (a int, b int generated ALWAYS AS (a+1));"] [2025/04/04 10:36:27.498 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=232] [conn=2] [job="ID:232, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:231, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:27.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:27.502 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 231, Table Name: t_gen1)"] [2025/04/04 10:36:27.517 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=157] [neededSchemaVersion=158] ["elapsed time"=1.912229ms] [gotSchemaVersion=158] [phyTblIDs="[231]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:27.520 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=232] [version=158] [2025/04/04 10:36:27.522 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=158] ["take time"=9.193841ms] [job="ID:232, Type:create table, State:done, SchemaState:public, SchemaID:229, TableID:231, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:27.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:27.533 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=232] [conn=2] [job="ID:232, Type:create table, State:synced, SchemaState:public, SchemaID:229, TableID:231, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:27.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:27.544 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=232] [2025/04/04 10:36:27.544 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=158] [cur_db=load_csv] [sql="CREATE TABLE load_csv.t_gen1 (a int, b int generated ALWAYS AS (a+1));"] [user=root@%] [2025/04/04 10:36:27.551 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:27.598 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:27.624 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=32] [task-id=32] [data-size=7B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:27.642 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=32] [2025/04/04 10:36:27.642 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:27.744 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:27.746 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:27.747 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=32] [curr-step=init] [next-step=import] [2025/04/04 10:36:27.757 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:27.759 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen1] [2025/04/04 10:36:27.760 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen1] [before=536870912000] [after=7] [2025/04/04 10:36:27.760 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=67.912µs] [2025/04/04 10:36:27.760 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen1] [takeTime=155.917µs] [] [2025/04/04 10:36:27.760 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=32] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:27.760 +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=36] [subtasks=1] [2025/04/04 10:36:27.797 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=32] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:27.816 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=32] [step=import] [2025/04/04 10:36:27.817 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:27.825 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:27.825 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:27.826 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:27.826 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:27.826 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:27.826 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:27.826 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:27.826 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:27.827 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:27.827 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:27.840 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:27.842 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:27.842 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen1] [quota=373.5GB] [2025/04/04 10:36:27.842 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=32] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:27.842 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen1] [import-id=32] [disk-quota=347.8GiB] [2025/04/04 10:36:27.842 +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=36, Mem=16GiB]"] [2025/04/04 10:36:27.850 +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 10:36:27.850 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=32] [step=import] [subtask-id=60] [2025/04/04 10:36:27.852 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=32] [mode=Import] [2025/04/04 10:36:27.854 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 10:36:27.857 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 10:36:27.857 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=231] [2025/04/04 10:36:27.871 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [2025/04/04 10:36:27.873 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [readDur=1.112349ms] [encodeDur=567.239µs] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=282.611µs] [type=file] [takeTime=2.423534ms] [] [2025/04/04 10:36:27.874 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=32] [2025/04/04 10:36:27.874 +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/77dd9cf1-d89d-4c8c-b853-8ea7355a31e1.sst] [firstKey=7480000000000000E75F728000000000000001] [lastKey=7480000000000000E75F728000000000000002] [2025/04/04 10:36:27.874 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=32] [step=import] [engine-id=0] [2025/04/04 10:36:27.874 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=32] [step=import] [engine-id=0] [2025/04/04 10:36:27.874 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 10:36:27.876 +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.890798ms] [] [2025/04/04 10:36:27.876 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [retryCnt=0] [2025/04/04 10:36:27.880 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:27.902 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] ["region ranges"=1] [count=2] [size=58] [2025/04/04 10:36:27.902 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:27.904 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e75f728000000000000001] [endOfAllRanges=7480000000000000e75f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe75f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe75f728000000000ff0000030000000000fa] [2025/04/04 10:36:27.915 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/04 10:36:27.917 +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.799875ms] [] [2025/04/04 10:36:27.917 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 10:36:27.919 +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.346899ms] [] [2025/04/04 10:36:27.919 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=32] [step=import] [engine-id=0] [2025/04/04 10:36:27.919 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 10:36:27.920 +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.713452ms] [] [2025/04/04 10:36:27.921 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [retryCnt=0] [2025/04/04 10:36:27.924 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 10:36:27.924 +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.754906ms] [] [2025/04/04 10:36:27.924 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 10:36:27.926 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [takeTime=1.312399ms] [] [2025/04/04 10:36:27.926 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=32] [step=import] [subtask-id=60] [takeTime=76.063664ms] [] [2025/04/04 10:36:27.926 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [subtaskID=60] [step=import] [takeTime=76.259497ms] [] [2025/04/04 10:36:27.951 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:27.952 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:27.953 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=32] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:27.953 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=32] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:27.984 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=32] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:36:27.985 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=32] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:27.985 +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=36] [subtasks=1] [2025/04/04 10:36:28.018 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:28.025 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=32] [step=import] [2025/04/04 10:36:28.028 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:28.028 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:28.028 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:28.028 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:28.028 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:28.028 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:28.028 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:28.028 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:28.028 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:28.028 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-31] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:28.028 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:28.028 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:28.030 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:28.030 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:28.030 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:28.031 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:28.031 +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=36, Mem=16GiB]"] [takeTime=188.466953ms] [] [2025/04/04 10:36:28.032 +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=36, Mem=16GiB]"] [2025/04/04 10:36:28.039 +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 10:36:28.039 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [2025/04/04 10:36:28.039 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [2025/04/04 10:36:28.039 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [2025/04/04 10:36:28.045 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [takeTime=5.806665ms] [] [2025/04/04 10:36:28.045 +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 10:36:28.045 +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 10:36:28.045 +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 10:36:28.045 +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 10:36:28.047 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=231] [physicalTableID=231] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/04 10:36:28.047 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:28.048 +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 10:36:28.048 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [takeTime=8.410808ms] [] [2025/04/04 10:36:28.048 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [takeTime=8.55897ms] [] [2025/04/04 10:36:28.048 +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=8.694934ms] [] [2025/04/04 10:36:28.058 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:28.151 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:28.151 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=32] [step=post-process] [state=running] [] [2025/04/04 10:36:28.153 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=32] [2025/04/04 10:36:28.171 +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=36, Mem=16GiB]"] [takeTime=139.69799ms] [] [2025/04/04 10:36:28.172 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=32] [type=ImportInto] [2025/04/04 10:36:28.243 +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.698167113\n# Parse_time: 0.000108215\n# Compile_time: 0.00089228\n# Rewrite_time: 0.000412081\n# Optimize_time: 0.000289569\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5Ni45bXMsIG9wZW46NjA4bnMsIGNsb3NlOjEuMTHCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY5Ni45bXMsIG9wZW46NjA4bnMsIGNsb3NlOjEuMTHCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nuse load_csv;\nIMPORT INTO `load_csv`.`t_gen1` FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/04 10:36:28.244 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=32] [2025/04/04 10:36:28.251 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:28.251 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=32] [2025/04/04 10:36:28.260 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:28.272 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:28.310 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`)\",\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:28.329 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=33] [task-id=33] [data-size=7B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:28.344 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=33] [2025/04/04 10:36:28.344 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:28.446 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:28.447 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:28.448 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=33] [curr-step=init] [next-step=import] [2025/04/04 10:36:28.456 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:28.459 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen1] [2025/04/04 10:36:28.459 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen1] [before=536870912000] [after=7] [2025/04/04 10:36:28.459 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=65.407µs] [2025/04/04 10:36:28.459 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen1] [takeTime=212.708µs] [] [2025/04/04 10:36:28.459 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=33] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:28.459 +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=36] [subtasks=1] [2025/04/04 10:36:28.496 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=33] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:28.517 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=33] [step=import] [2025/04/04 10:36:28.517 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:28.525 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:28.525 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:28.525 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:28.525 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:28.525 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:28.525 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:28.525 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:28.526 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:28.526 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:28.526 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:28.538 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:28.540 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:28.540 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen1] [quota=373.5GB] [2025/04/04 10:36:28.540 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=33] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:28.540 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen1] [import-id=33] [disk-quota=347.8GiB] [2025/04/04 10:36:28.540 +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=36, Mem=16GiB]"] [2025/04/04 10:36:28.548 +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 10:36:28.548 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=33] [step=import] [subtask-id=62] [2025/04/04 10:36:28.551 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 10:36:28.553 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=33] [mode=Import] [2025/04/04 10:36:28.555 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 10:36:28.555 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=231] [2025/04/04 10:36:28.570 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [2025/04/04 10:36:28.572 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=33] [2025/04/04 10:36:28.572 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [readDur=1.048934ms] [encodeDur=291.849µs] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=242.629µs] [type=file] [takeTime=1.966786ms] [] [2025/04/04 10:36:28.573 +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/f98d8c63-1cd3-4225-b933-767f17d02337.sst] [firstKey=7480000000000000E75F728000000000000001] [lastKey=7480000000000000E75F728000000000000002] [2025/04/04 10:36:28.573 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=33] [step=import] [engine-id=0] [2025/04/04 10:36:28.573 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=33] [step=import] [engine-id=0] [2025/04/04 10:36:28.573 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 10:36:28.575 +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.909554ms] [] [2025/04/04 10:36:28.575 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [retryCnt=0] [2025/04/04 10:36:28.579 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:28.601 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] ["region ranges"=1] [count=2] [size=58] [2025/04/04 10:36:28.601 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:28.603 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e75f728000000000000001] [endOfAllRanges=7480000000000000e75f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe75f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe75f728000000000ff0000030000000000fa] [2025/04/04 10:36:28.620 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/04 10:36:28.621 +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.097565ms] [] [2025/04/04 10:36:28.621 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 10:36:28.622 +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.06381ms] [] [2025/04/04 10:36:28.623 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=33] [step=import] [engine-id=0] [2025/04/04 10:36:28.623 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 10:36:28.624 +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.422077ms] [] [2025/04/04 10:36:28.624 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [retryCnt=0] [2025/04/04 10:36:28.628 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 10:36:28.628 +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.521787ms] [] [2025/04/04 10:36:28.628 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 10:36:28.629 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [takeTime=957.501µs] [] [2025/04/04 10:36:28.629 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=33] [step=import] [subtask-id=62] [takeTime=80.770784ms] [] [2025/04/04 10:36:28.629 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [subtaskID=62] [step=import] [takeTime=81.394896ms] [] [2025/04/04 10:36:28.652 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:28.653 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:28.654 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=33] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:28.654 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=33] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:28.693 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=33] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:36:28.694 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=33] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:28.694 +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=36] [subtasks=1] [2025/04/04 10:36:28.716 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:28.723 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=33] [step=import] [2025/04/04 10:36:28.726 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:28.726 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:28.726 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:28.726 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:28.726 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:28.726 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:28.726 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:28.726 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:28.726 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:28.726 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:28.726 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:28.726 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-32] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:28.729 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:28.729 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:28.729 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:28.729 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:28.729 +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=36, Mem=16GiB]"] [takeTime=188.868058ms] [] [2025/04/04 10:36:28.730 +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=36, Mem=16GiB]"] [2025/04/04 10:36:28.738 +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 10:36:28.738 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [2025/04/04 10:36:28.738 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [2025/04/04 10:36:28.738 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [2025/04/04 10:36:28.741 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [takeTime=3.453223ms] [] [2025/04/04 10:36:28.741 +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 10:36:28.742 +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 10:36:28.742 +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 10:36:28.742 +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 10:36:28.744 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=231] [physicalTableID=231] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/04 10:36:28.744 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:28.744 +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 10:36:28.744 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [takeTime=6.539323ms] [] [2025/04/04 10:36:28.744 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [takeTime=6.679383ms] [] [2025/04/04 10:36:28.745 +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.823017ms] [] [2025/04/04 10:36:28.753 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:28.851 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:28.851 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=33] [step=post-process] [state=running] [] [2025/04/04 10:36:28.854 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=33] [2025/04/04 10:36:28.881 +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=36, Mem=16GiB]"] [takeTime=151.015034ms] [] [2025/04/04 10:36:28.881 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=33] [type=ImportInto] [2025/04/04 10:36:28.946 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.692170697\n# Parse_time: 0.00010785\n# Compile_time: 0.000786833\n# Rewrite_time: 0.000371361\n# Optimize_time: 0.000330611\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('RrAwCTU5XzIJMAkwCU4vQQkxCXRpbWU6NjkxbXMsIG9wZW46Njk5bnMsIGNsb3MBGQAzAQ08bG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YeAKXQoMSW1wb3J0SW50b18yMAE4AUABUgNOL0FaLHRpbWU6NjkxbXMsIG9wZW46Njk5bnMsIGNsb3MBGQAzAQ0gbG9vcHM6MnD/EQE0AXj///////////8BGAE=')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_csv`.`t_gen1` (`a`) FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/04 10:36:28.946 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=33] [2025/04/04 10:36:28.952 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:28.952 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=33] [2025/04/04 10:36:28.966 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:28.982 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:29.017 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`, @`1`)\",\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:29.037 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=34] [task-id=34] [data-size=7B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:29.051 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=34] [2025/04/04 10:36:29.051 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:29.155 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:29.156 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:29.157 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=34] [curr-step=init] [next-step=import] [2025/04/04 10:36:29.165 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:29.168 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen1] [2025/04/04 10:36:29.168 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen1] [before=536870912000] [after=7] [2025/04/04 10:36:29.168 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=71.986µs] [2025/04/04 10:36:29.168 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen1] [takeTime=176.744µs] [] [2025/04/04 10:36:29.168 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=34] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:29.168 +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=36] [subtasks=1] [2025/04/04 10:36:29.207 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=34] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:29.227 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=34] [step=import] [2025/04/04 10:36:29.227 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:29.236 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:29.236 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:29.236 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:29.236 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:29.236 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:29.236 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:29.237 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:29.236 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:29.237 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:29.237 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:29.249 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:29.252 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:29.252 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen1] [quota=373.5GB] [2025/04/04 10:36:29.252 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=34] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:29.252 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen1] [import-id=34] [disk-quota=347.8GiB] [2025/04/04 10:36:29.252 +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=36, Mem=16GiB]"] [2025/04/04 10:36:29.264 +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 10:36:29.265 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=34] [step=import] [subtask-id=64] [2025/04/04 10:36:29.272 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 10:36:29.273 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=34] [mode=Import] [2025/04/04 10:36:29.275 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 10:36:29.276 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=231] [2025/04/04 10:36:29.293 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=34] [2025/04/04 10:36:29.321 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [2025/04/04 10:36:29.323 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [readDur=1.067356ms] [encodeDur=254.991µs] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=359.739µs] [type=file] [takeTime=2.142695ms] [] [2025/04/04 10:36:29.324 +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/8caef9b2-0279-45a1-89bc-17889dcd322a.sst] [firstKey=7480000000000000E75F728000000000000001] [lastKey=7480000000000000E75F728000000000000002] [2025/04/04 10:36:29.324 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=34] [step=import] [engine-id=0] [2025/04/04 10:36:29.324 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=34] [step=import] [engine-id=0] [2025/04/04 10:36:29.324 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 10:36:29.326 +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.999331ms] [] [2025/04/04 10:36:29.327 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [retryCnt=0] [2025/04/04 10:36:29.331 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:29.353 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] ["region ranges"=1] [count=2] [size=58] [2025/04/04 10:36:29.353 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:29.355 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e75f728000000000000001] [endOfAllRanges=7480000000000000e75f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe75f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe75f728000000000ff0000030000000000fa] [2025/04/04 10:36:29.383 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/04 10:36:29.385 +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=57.930582ms] [] [2025/04/04 10:36:29.385 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 10:36:29.386 +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.026368ms] [] [2025/04/04 10:36:29.386 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=34] [step=import] [engine-id=0] [2025/04/04 10:36:29.386 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 10:36:29.387 +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.639828ms] [] [2025/04/04 10:36:29.387 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [retryCnt=0] [2025/04/04 10:36:29.391 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 10:36:29.391 +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.567211ms] [] [2025/04/04 10:36:29.391 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 10:36:29.392 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [takeTime=925.964µs] [] [2025/04/04 10:36:29.392 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=34] [step=import] [subtask-id=64] [takeTime=127.589311ms] [] [2025/04/04 10:36:29.392 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [subtaskID=64] [step=import] [takeTime=127.829918ms] [] [2025/04/04 10:36:29.458 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:29.459 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:29.460 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=34] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:29.460 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=34] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:29.489 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=34] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:36:29.490 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=34] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:29.490 +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=36] [subtasks=1] [2025/04/04 10:36:29.512 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:29.519 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=34] [step=import] [2025/04/04 10:36:29.522 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:29.522 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:29.522 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:29.522 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:29.522 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:29.522 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:29.522 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:29.522 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-33] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:29.522 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:29.522 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:29.522 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:29.522 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:29.524 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:29.524 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:29.524 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:29.524 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:29.524 +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=36, Mem=16GiB]"] [takeTime=271.762729ms] [] [2025/04/04 10:36:29.525 +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=36, Mem=16GiB]"] [2025/04/04 10:36:29.532 +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 10:36:29.532 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [2025/04/04 10:36:29.532 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [2025/04/04 10:36:29.532 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [2025/04/04 10:36:29.536 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [takeTime=3.060773ms] [] [2025/04/04 10:36:29.536 +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 10:36:29.536 +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 10:36:29.536 +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 10:36:29.536 +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 10:36:29.537 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=231] [physicalTableID=231] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/04 10:36:29.538 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:29.538 +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 10:36:29.538 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [takeTime=5.496131ms] [] [2025/04/04 10:36:29.538 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [takeTime=5.627098ms] [] [2025/04/04 10:36:29.538 +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=5.771807ms] [] [2025/04/04 10:36:29.553 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:29.558 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:29.558 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=34] [step=post-process] [state=running] [] [2025/04/04 10:36:29.560 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=34] [2025/04/04 10:36:29.582 +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=36, Mem=16GiB]"] [takeTime=56.624837ms] [] [2025/04/04 10:36:29.582 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=34] [type=ImportInto] [2025/04/04 10:36:29.653 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=34] [2025/04/04 10:36:29.654 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.699988686\n# Parse_time: 0.000151424\n# Compile_time: 0.000983984\n# Rewrite_time: 0.000469448\n# Optimize_time: 0.000285589\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('SLgwCTU5XzIJMAkwCU4vQQkxCXRpbWU6Njk4LjVtcywgb3Blbjo4NzZucywgY2xvcwEbADQBDTxsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y+gKXwoMSW1wb3J0SW50b18yMAE4AUABUgNOL0FaLnRpbWU6Njk4LjVtcywgb3Blbjo4NzZucywgY2xvcwEbADQBDSBsb29wczoycP8RATQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_csv`.`t_gen1` (`a`,@`1`) FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/04 10:36:29.660 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:29.661 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=34] [2025/04/04 10:36:29.671 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:234, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:233, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:29.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:29.671 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:234, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:233, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:29.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t_gen2 (a int generated ALWAYS AS (b+1), b int);"] [2025/04/04 10:36:29.677 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=234] [conn=2] [job="ID:234, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:233, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:29.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:29.681 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:29.681 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 233, Table Name: t_gen2)"] [2025/04/04 10:36:29.695 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=158] [neededSchemaVersion=159] ["elapsed time"=1.783349ms] [gotSchemaVersion=159] [phyTblIDs="[233]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:29.699 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=234] [version=159] [2025/04/04 10:36:29.700 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=159] ["take time"=8.543735ms] [job="ID:234, Type:create table, State:done, SchemaState:public, SchemaID:229, TableID:233, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:29.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:29.711 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=234] [conn=2] [job="ID:234, Type:create table, State:synced, SchemaState:public, SchemaID:229, TableID:233, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:29.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:29.722 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=234] [2025/04/04 10:36:29.722 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=159] [cur_db=load_csv] [sql="create table t_gen2 (a int generated ALWAYS AS (b+1), b int);"] [user=root@%] [2025/04/04 10:36:29.728 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:29.776 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:29.794 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=35] [task-id=35] [data-size=7B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:29.808 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=35] [2025/04/04 10:36:29.808 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:29.917 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:29.918 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:29.919 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=35] [curr-step=init] [next-step=import] [2025/04/04 10:36:29.927 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:29.929 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen2] [2025/04/04 10:36:29.929 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen2] [before=536870912000] [after=7] [2025/04/04 10:36:29.929 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=44.872µs] [2025/04/04 10:36:29.929 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen2] [takeTime=157.377µs] [] [2025/04/04 10:36:29.930 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=35] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:29.930 +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=36] [subtasks=1] [2025/04/04 10:36:29.965 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=35] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:29.983 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=35] [step=import] [2025/04/04 10:36:29.984 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:29.991 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:29.991 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:29.992 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:29.992 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:29.992 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:29.992 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:29.992 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:29.992 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:29.993 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:29.993 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:30.004 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:30.006 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:30.006 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen2] [quota=373.5GB] [2025/04/04 10:36:30.006 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen2] [import-id=35] [disk-quota=347.8GiB] [2025/04/04 10:36:30.006 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=35] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:30.006 +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=36, Mem=16GiB]"] [2025/04/04 10:36:30.013 +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 10:36:30.013 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=35] [step=import] [subtask-id=66] [2025/04/04 10:36:30.016 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=35] [mode=Import] [2025/04/04 10:36:30.016 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 10:36:30.020 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 10:36:30.020 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=233] [2025/04/04 10:36:30.035 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=35] [2025/04/04 10:36:30.057 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [2025/04/04 10:36:30.059 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [readDur=854.053µs] [encodeDur=245.746µs] [checksum="{cksum=12236948213998824982,size=58,kvs=2}"] [deliverDur=212.789µs] [type=file] [takeTime=1.572892ms] [] [2025/04/04 10:36:30.060 +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/c13d973e-99f3-4cc6-8245-082734974d38.sst] [firstKey=7480000000000000E95F728000000000000001] [lastKey=7480000000000000E95F728000000000000002] [2025/04/04 10:36:30.060 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=35] [step=import] [engine-id=0] [2025/04/04 10:36:30.060 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=35] [step=import] [engine-id=0] [2025/04/04 10:36:30.060 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 10:36:30.062 +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.885268ms] [] [2025/04/04 10:36:30.062 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [retryCnt=0] [2025/04/04 10:36:30.066 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:30.088 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] ["region ranges"=1] [count=2] [size=58] [2025/04/04 10:36:30.088 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:30.089 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e95f728000000000000001] [endOfAllRanges=7480000000000000e95f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe95f728000000000ff0000030000000000fa] [2025/04/04 10:36:30.100 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/04 10:36:30.101 +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=39.1696ms] [] [2025/04/04 10:36:30.101 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 10:36:30.102 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [takeTime=943.203µs] [] [2025/04/04 10:36:30.102 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=35] [step=import] [engine-id=0] [2025/04/04 10:36:30.102 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 10:36:30.104 +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.397832ms] [] [2025/04/04 10:36:30.104 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [retryCnt=0] [2025/04/04 10:36:30.107 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 10:36:30.107 +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.545959ms] [] [2025/04/04 10:36:30.107 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 10:36:30.108 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [takeTime=784.596µs] [] [2025/04/04 10:36:30.108 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=35] [step=import] [subtask-id=66] [takeTime=95.347571ms] [] [2025/04/04 10:36:30.108 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [subtaskID=66] [step=import] [takeTime=95.480232ms] [] [2025/04/04 10:36:30.216 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:30.217 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:30.218 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=35] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:30.218 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=35] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:30.245 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=35] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:36:30.246 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=35] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:30.246 +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=36] [subtasks=1] [2025/04/04 10:36:30.249 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:36:30.249 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=35] [step=import] [2025/04/04 10:36:30.252 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:30.252 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:30.252 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:30.252 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:30.252 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:30.252 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:30.252 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:30.252 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:30.252 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:30.252 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-34] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:30.252 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:30.252 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:30.254 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:30.254 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:30.254 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:30.254 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:30.254 +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=36, Mem=16GiB]"] [takeTime=248.457859ms] [] [2025/04/04 10:36:30.254 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=35] [type=ImportInto] [2025/04/04 10:36:30.274 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=35] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:30.293 +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=36, Mem=16GiB]"] [2025/04/04 10:36:30.300 +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 10:36:30.300 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [2025/04/04 10:36:30.300 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [2025/04/04 10:36:30.300 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [2025/04/04 10:36:30.306 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [takeTime=5.629422ms] [] [2025/04/04 10:36:30.306 +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 10:36:30.306 +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 10:36:30.306 +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 10:36:30.306 +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 10:36:30.307 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=233] [physicalTableID=233] [indexID=-1] [checksum=12236948213998824982] [totalKvs=2] [totalBytes=58] [2025/04/04 10:36:30.308 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:30.308 +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 10:36:30.308 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [takeTime=7.977072ms] [] [2025/04/04 10:36:30.308 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [takeTime=8.150272ms] [] [2025/04/04 10:36:30.308 +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.281393ms] [] [2025/04/04 10:36:30.316 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:30.415 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:30.415 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=35] [step=post-process] [state=running] [] [2025/04/04 10:36:30.417 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=35] [2025/04/04 10:36:30.440 +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=36, Mem=16GiB]"] [takeTime=146.89573ms] [] [2025/04/04 10:36:30.440 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=35] [type=ImportInto] [2025/04/04 10:36:30.510 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=35] [2025/04/04 10:36:30.516 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:30.516 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=35] [2025/04/04 10:36:30.535 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:30.710 +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.987508264\n# Parse_time: 0.000120387\n# Compile_time: 0.000841713\n# Rewrite_time: 0.000380521\n# Optimize_time: 0.000253989\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ni4zbXMsIG9wZW46NjYwbnMsIGNsb3NlOjgwM25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ni4zbXMsIG9wZW46NjYwbnMsIGNsb3NlOjgwM25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_csv`.`t_gen2` FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/04 10:36:30.723 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:30.779 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`b`)\",\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:30.799 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=36] [task-id=36] [data-size=7B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:30.813 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=36] [2025/04/04 10:36:30.813 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:30.916 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:30.917 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:30.918 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=36] [curr-step=init] [next-step=import] [2025/04/04 10:36:30.925 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:30.928 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen2] [2025/04/04 10:36:30.928 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen2] [before=536870912000] [after=7] [2025/04/04 10:36:30.928 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=46.066µs] [2025/04/04 10:36:30.928 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen2] [takeTime=147.191µs] [] [2025/04/04 10:36:30.928 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=36] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:30.928 +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=36] [subtasks=1] [2025/04/04 10:36:30.964 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=36] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:30.983 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=36] [step=import] [2025/04/04 10:36:30.984 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:30.991 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:30.991 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:30.992 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:30.992 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:30.992 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:30.992 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:30.992 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:30.992 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:30.993 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:30.993 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:31.005 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:31.007 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:31.007 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen2] [quota=373.5GB] [2025/04/04 10:36:31.007 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=36] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:31.007 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen2] [import-id=36] [disk-quota=347.8GiB] [2025/04/04 10:36:31.007 +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=36, Mem=16GiB]"] [2025/04/04 10:36:31.015 +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 10:36:31.015 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=36] [step=import] [subtask-id=68] [2025/04/04 10:36:31.018 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 10:36:31.021 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 10:36:31.021 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=233] [2025/04/04 10:36:31.022 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=36] [mode=Import] [2025/04/04 10:36:31.043 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=36] [2025/04/04 10:36:31.062 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [2025/04/04 10:36:31.063 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [readDur=870.538µs] [encodeDur=238.679µs] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=197.26µs] [type=file] [takeTime=1.554505ms] [] [2025/04/04 10:36:31.064 +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/d7bd6de0-8b06-421c-835c-cc3e0d037bd0.sst] [firstKey=7480000000000000E95F728000000000000001] [lastKey=7480000000000000E95F728000000000000002] [2025/04/04 10:36:31.064 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=36] [step=import] [engine-id=0] [2025/04/04 10:36:31.064 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=36] [step=import] [engine-id=0] [2025/04/04 10:36:31.064 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 10:36:31.066 +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.783851ms] [] [2025/04/04 10:36:31.066 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [retryCnt=0] [2025/04/04 10:36:31.070 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:31.091 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] ["region ranges"=1] [count=2] [size=58] [2025/04/04 10:36:31.091 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:31.093 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e95f728000000000000001] [endOfAllRanges=7480000000000000e95f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe95f728000000000ff0000030000000000fa] [2025/04/04 10:36:31.108 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/04 10:36:31.110 +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.706864ms] [] [2025/04/04 10:36:31.110 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 10:36:31.111 +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.097688ms] [] [2025/04/04 10:36:31.111 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=36] [step=import] [engine-id=0] [2025/04/04 10:36:31.111 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 10:36:31.112 +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.425012ms] [] [2025/04/04 10:36:31.112 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [retryCnt=0] [2025/04/04 10:36:31.116 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 10:36:31.116 +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.490523ms] [] [2025/04/04 10:36:31.116 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 10:36:31.117 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [takeTime=846.2µs] [] [2025/04/04 10:36:31.117 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=36] [step=import] [subtask-id=68] [takeTime=102.363844ms] [] [2025/04/04 10:36:31.117 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [subtaskID=68] [step=import] [takeTime=102.531626ms] [] [2025/04/04 10:36:31.220 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:31.221 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:31.222 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=36] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:31.222 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=36] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:31.250 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=36] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:36:31.251 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=36] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:31.251 +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=36] [subtasks=1] [2025/04/04 10:36:31.260 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:36:31.260 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=36] [step=import] [2025/04/04 10:36:31.263 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:31.263 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:31.263 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:31.263 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:31.263 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:31.263 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:31.263 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:31.263 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:31.263 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-35] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:31.263 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:31.263 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:31.263 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:31.266 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:31.266 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:31.266 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:31.266 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:31.266 +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=36, Mem=16GiB]"] [takeTime=258.329987ms] [] [2025/04/04 10:36:31.266 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=36] [type=ImportInto] [2025/04/04 10:36:31.285 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=36] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:31.304 +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=36, Mem=16GiB]"] [2025/04/04 10:36:31.311 +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 10:36:31.311 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [2025/04/04 10:36:31.311 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [2025/04/04 10:36:31.311 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [2025/04/04 10:36:31.314 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [takeTime=3.302208ms] [] [2025/04/04 10:36:31.314 +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 10:36:31.314 +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 10:36:31.315 +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 10:36:31.315 +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 10:36:31.316 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=233] [physicalTableID=233] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/04 10:36:31.317 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:31.317 +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 10:36:31.317 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [takeTime=5.904886ms] [] [2025/04/04 10:36:31.317 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [takeTime=6.031459ms] [] [2025/04/04 10:36:31.317 +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.161503ms] [] [2025/04/04 10:36:31.333 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:31.420 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:31.420 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=36] [step=post-process] [state=running] [] [2025/04/04 10:36:31.423 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=36] [2025/04/04 10:36:31.451 +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=36, Mem=16GiB]"] [takeTime=147.413963ms] [] [2025/04/04 10:36:31.451 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=36] [type=ImportInto] [2025/04/04 10:36:31.515 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=36] [2025/04/04 10:36:31.521 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:31.521 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=36] [2025/04/04 10:36:31.541 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:31.716 +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.997714721\n# Parse_time: 0.000105049\n# Compile_time: 0.000758886\n# Rewrite_time: 0.000372629\n# Optimize_time: 0.000252198\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Ni42bXMsIG9wZW46Njk0bnMsIGNsb3NlOjgzMG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Ni42bXMsIG9wZW46Njk0bnMsIGNsb3NlOjgzMG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_csv`.`t_gen2` (`b`) FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/04 10:36:31.736 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:31.807 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`)\",\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:31.827 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=37] [task-id=37] [data-size=7B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:31.843 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=37] [2025/04/04 10:36:31.843 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:31.946 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:31.947 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:31.948 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=37] [curr-step=init] [next-step=import] [2025/04/04 10:36:31.956 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:31.958 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen2] [2025/04/04 10:36:31.958 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen2] [before=536870912000] [after=7] [2025/04/04 10:36:31.958 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=63.639µs] [2025/04/04 10:36:31.958 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen2] [takeTime=155.474µs] [] [2025/04/04 10:36:31.959 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=37] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:31.959 +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=36] [subtasks=1] [2025/04/04 10:36:31.995 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=37] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:32.015 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=37] [step=import] [2025/04/04 10:36:32.015 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:32.023 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:32.023 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:32.024 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:32.024 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:32.024 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:32.024 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:32.024 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:32.024 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:32.025 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:32.025 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:32.037 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:32.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 10:36:32.039 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen2] [quota=373.5GB] [2025/04/04 10:36:32.039 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=37] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:32.039 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen2] [import-id=37] [disk-quota=347.8GiB] [2025/04/04 10:36:32.039 +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=36, Mem=16GiB]"] [2025/04/04 10:36:32.047 +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 10:36:32.047 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=37] [step=import] [subtask-id=70] [2025/04/04 10:36:32.050 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 10:36:32.051 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=37] [mode=Import] [2025/04/04 10:36:32.054 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 10:36:32.054 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=233] [2025/04/04 10:36:32.076 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=37] [2025/04/04 10:36:32.104 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [Pipeline] } [2025/04/04 10:36:32.106 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [readDur=871.512µs] [encodeDur=254.011µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=204.294µs] [type=file] [takeTime=1.61315ms] [] [2025/04/04 10:36:32.107 +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/f4d84dd4-a59d-43e7-a3da-862d157e86ac.sst] [firstKey=7480000000000000E95F728000000000000001] [lastKey=7480000000000000E95F728000000000000002] [2025/04/04 10:36:32.107 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=37] [step=import] [engine-id=0] [2025/04/04 10:36:32.107 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=37] [step=import] [engine-id=0] [2025/04/04 10:36:32.107 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 10:36:32.109 +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.899914ms] [] [2025/04/04 10:36:32.109 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [retryCnt=0] [2025/04/04 10:36:32.113 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:32.134 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] ["region ranges"=1] [count=2] [size=50] [2025/04/04 10:36:32.134 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:32.136 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e95f728000000000000001] [endOfAllRanges=7480000000000000e95f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe95f728000000000ff0000030000000000fa] [2025/04/04 10:36:32.149 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/04 10:36:32.151 +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.454441ms] [] [2025/04/04 10:36:32.151 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 10:36:32.152 +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.159045ms] [] [2025/04/04 10:36:32.153 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=37] [step=import] [engine-id=0] [2025/04/04 10:36:32.153 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 10:36:32.154 +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.418022ms] [] [2025/04/04 10:36:32.154 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [retryCnt=0] [2025/04/04 10:36:32.158 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 10:36:32.158 +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.549267ms] [] [2025/04/04 10:36:32.158 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 10:36:32.159 +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.142372ms] [] [2025/04/04 10:36:32.159 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=37] [step=import] [subtask-id=70] [takeTime=112.348722ms] [] [2025/04/04 10:36:32.159 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [subtaskID=70] [step=import] [takeTime=112.485897ms] [] [2025/04/04 10:36:32.250 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:32.251 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:32.252 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=37] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:32.252 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=37] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:32.279 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=37] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:36:32.280 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=37] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:32.280 +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=36] [subtasks=1] [2025/04/04 10:36:32.300 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:36:32.300 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=37] [step=import] [2025/04/04 10:36:32.303 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:32.303 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:32.303 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:32.303 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:32.303 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:32.303 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:32.303 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:32.303 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:32.303 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:32.303 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-36] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:32.303 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:32.303 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:32.305 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:32.305 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:32.305 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:32.305 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:32.305 +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=36, Mem=16GiB]"] [takeTime=265.952947ms] [] [2025/04/04 10:36:32.305 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=37] [type=ImportInto] [2025/04/04 10:36:32.314 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=37] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:32.333 +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=36, Mem=16GiB]"] [2025/04/04 10:36:32.339 +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 10:36:32.340 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [2025/04/04 10:36:32.340 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [2025/04/04 10:36:32.340 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [2025/04/04 10:36:32.343 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [takeTime=3.008606ms] [] [2025/04/04 10:36:32.343 +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 10:36:32.343 +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 10:36:32.343 +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 10:36:32.343 +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 10:36:32.344 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=233] [physicalTableID=233] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/04 10:36:32.345 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:32.345 +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 10:36:32.345 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [takeTime=5.295684ms] [] [2025/04/04 10:36:32.345 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [takeTime=5.429646ms] [] [2025/04/04 10:36:32.345 +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=5.535959ms] [] [2025/04/04 10:36:32.353 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:32.450 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:32.450 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=37] [step=post-process] [state=running] [] [2025/04/04 10:36:32.452 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=37] [2025/04/04 10:36:32.479 +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=36, Mem=16GiB]"] [takeTime=145.840361ms] [] [2025/04/04 10:36:32.479 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=37] [type=ImportInto] [2025/04/04 10:36:32.546 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=37] [2025/04/04 10:36:32.551 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:32.551 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=37] [2025/04/04 10:36:32.570 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:32.741 +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.017867578\n# Parse_time: 0.000125321\n# Compile_time: 0.000743628\n# Rewrite_time: 0.000368154\n# Optimize_time: 0.000253859\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMDJzLCBvcGVuOjcxN25zLCBjbG9zZTo2NThucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMDJzLCBvcGVuOjcxN25zLCBjbG9zZTo2NThucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_csv`.`t_gen2` (`a`) FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] --- PASS: TestImportInto/TestGeneratedColumnsAndTSVFile (5.46s) === NAME TestImportInto === RUN TestImportInto/TestIgnoreNLines [2025/04/04 10:36:32.756 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:235, Type:drop schema, State:queueing, SchemaState:public, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:32.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:32.756 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:235, Type:drop schema, State:queueing, SchemaState:public, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:32.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 10:36:32.761 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=235] [conn=2] [job="ID:235, Type:drop schema, State:queueing, SchemaState:public, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:32.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:32.777 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=159] [neededSchemaVersion=160] ["elapsed time"=1.701736ms] [gotSchemaVersion=160] [phyTblIDs="[204]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:32.780 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=160] [2025/04/04 10:36:32.782 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=160] ["take time"=8.550581ms] [job="ID:235, Type:drop schema, State:running, SchemaState:write only, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:32.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:32.791 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=235] [conn=2] [job="ID:235, Type:drop schema, State:running, SchemaState:write only, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:32.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:32.803 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=160] [neededSchemaVersion=161] ["elapsed time"=130.825µs] [gotSchemaVersion=161] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:32.806 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=161] [2025/04/04 10:36:32.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=161] ["take time"=6.758116ms] [job="ID:235, Type:drop schema, State:running, SchemaState:delete only, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:32.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:32.815 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=235] [conn=2] [job="ID:235, Type:drop schema, State:running, SchemaState:delete only, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:32.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:32.820 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:36:32.830 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=161] [neededSchemaVersion=162] ["elapsed time"=125.055µs] [gotSchemaVersion=162] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:32.833 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=162] [2025/04/04 10:36:32.835 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=162] ["take time"=6.807171ms] [job="ID:235, Type:drop schema, State:done, SchemaState:none, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:32.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:32.842 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=235] [tableIDs="[204]"] [comment="drop schema: table IDs"] [2025/04/04 10:36:32.846 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=235] [jobType="drop schema"] [2025/04/04 10:36:32.847 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=235] [conn=2] [job="ID:235, Type:drop schema, State:synced, SchemaState:none, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:32.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:32.861 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=235] [2025/04/04 10:36:32.862 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=162] [cur_db=load_csv] [sql="drop database if exists load_data"] [user=root@%] [2025/04/04 10:36:32.872 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:237, Type:create schema, State:queueing, SchemaState:none, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:32.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:32.872 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:237, Type:create schema, State:queueing, SchemaState:none, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:32.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 10:36:32.877 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=237] [conn=2] [job="ID:237, Type:create schema, State:queueing, SchemaState:none, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:32.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:32.889 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=162] [neededSchemaVersion=163] ["elapsed time"=625.171µs] [gotSchemaVersion=163] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:36:32.893 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=237] [version=163] [2025/04/04 10:36:32.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=163] ["take time"=6.917932ms] [job="ID:237, Type:create schema, State:done, SchemaState:public, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:32.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:32.903 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=237] [conn=2] [job="ID:237, Type:create schema, State:synced, SchemaState:public, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:32.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:32.912 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=237] [2025/04/04 10:36:32.913 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=163] [cur_db=load_csv] [sql="create database load_data"] [user=root@%] [2025/04/04 10:36:32.914 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=163] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 10:36:32.926 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:239, Type:create table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:32.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:32.926 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:239, Type:create table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:32.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:36:32.931 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=239] [conn=2] [job="ID:239, Type:create table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:32.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:32.935 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 238, Table Name: t)"] [2025/04/04 10:36:32.950 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=163] [neededSchemaVersion=164] ["elapsed time"=1.707868ms] [gotSchemaVersion=164] [phyTblIDs="[238]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:32.953 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=239] [version=164] [2025/04/04 10:36:32.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=164] ["take time"=8.343559ms] [job="ID:239, Type:create table, State:done, SchemaState:public, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:32.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:32.965 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=239] [conn=2] [job="ID:239, Type:create table, State:synced, SchemaState:public, SchemaID:236, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:32.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:32.975 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=239] [2025/04/04 10:36:32.976 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=164] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/04 10:36:32.981 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:33.024 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:33.043 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=38] [task-id=38] [data-size=97B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:36:33.056 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=38] [2025/04/04 10:36:33.056 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:36:33.159 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:33.160 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:33.161 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=38] [curr-step=init] [next-step=import] [2025/04/04 10:36:33.168 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:33.170 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:33.170 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97] [2025/04/04 10:36:33.170 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=97] [cost=59.103µs] [2025/04/04 10:36:33.170 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=172.298µs] [] [2025/04/04 10:36:33.170 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=38] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:33.170 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:36:33.205 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=38] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:36:33.227 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=38] [step=import] [2025/04/04 10:36:33.227 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:33.235 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:33.235 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:33.236 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:33.236 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:33.236 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:33.236 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:33.236 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:33.236 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:33.237 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:33.237 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:33.248 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:33.250 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:33.250 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:33.250 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=38] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:33.250 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=38] [disk-quota=347.8GiB] [2025/04/04 10:36:33.250 +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=455.1MiB]"] [2025/04/04 10:36:33.257 +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 10:36:33.258 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=38] [step=import] [subtask-id=72] [2025/04/04 10:36:33.261 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:33.264 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:33.264 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=238] [2025/04/04 10:36:33.264 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=38] [mode=Import] [2025/04/04 10:36:33.277 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=238] [key=skip-rows-1.csv:0] [2025/04/04 10:36:33.279 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=238] [key=skip-rows-1.csv:0] [readDur=961.806µs] [encodeDur=482.638µs] [checksum="{cksum=12736467198054628245,size=164,kvs=4}"] [deliverDur=180.128µs] [type=file] [takeTime=1.865463ms] [] [2025/04/04 10:36:33.279 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=238] [2025/04/04 10:36:33.279 +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/e5339058-a5d7-4d5e-b4cb-e5a164b59951.sst] [firstKey=7480000000000000EE5F728000000000000001] [lastKey=7480000000000000EE5F728000000000000004] [2025/04/04 10:36:33.282 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=38] [2025/04/04 10:36:33.292 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=238] [key=skip-rows-2.csv:0] [2025/04/04 10:36:33.294 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=238] [key=skip-rows-2.csv:0] [readDur=839.577µs] [encodeDur=870.175µs] [checksum="{cksum=17165499041007397678,size=205,kvs=5}"] [deliverDur=208.997µs] [type=file] [takeTime=2.098119ms] [] [2025/04/04 10:36:33.294 +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/4fb3c05a-9f1a-4bbd-a9e1-fc8c3e053578.sst] [firstKey=7480000000000000EE5F72800000000000000F] [lastKey=7480000000000000EE5F728000000000000013] [2025/04/04 10:36:33.294 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=38] [step=import] [engine-id=0] [2025/04/04 10:36:33.294 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=38] [step=import] [engine-id=0] [2025/04/04 10:36:33.294 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:33.296 +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.760058ms] [] [2025/04/04 10:36:33.296 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 10:36:33.301 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:33.322 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=9] [size=369] [2025/04/04 10:36:33.322 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:33.324 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000ee5f728000000000000001] [endOfAllRanges=7480000000000000ee5f728000000000000014] [startKeyOfFirstRegion=7480000000000000ffee5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffee5f728000000000ff0000140000000000fa] [2025/04/04 10:36:33.334 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=369] [kvs=9] [importedSize=369] [importedCount=9] [2025/04/04 10:36:33.336 +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.642352ms] [] [2025/04/04 10:36:33.336 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:33.337 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.057264ms] [] [2025/04/04 10:36:33.337 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=38] [step=import] [engine-id=0] [2025/04/04 10:36:33.337 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:33.339 +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.292191ms] [] [2025/04/04 10:36:33.339 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 10:36:33.342 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:33.342 +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.521503ms] [] [2025/04/04 10:36:33.342 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:33.343 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=879.384µs] [] [2025/04/04 10:36:33.343 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=38] [step=import] [subtask-id=72] [takeTime=85.796544ms] [] [2025/04/04 10:36:33.343 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [subtaskID=72] [step=import] [takeTime=85.933458ms] [] [2025/04/04 10:36:33.363 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:33.364 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:33.366 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=38] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:33.366 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=38] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:33.401 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=38] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/04 10:36:33.402 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=38] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:33.403 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:36:33.438 +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 10:36:33.445 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=38] [step=import] [2025/04/04 10:36:33.448 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:33.448 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:33.448 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:33.448 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:33.448 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:33.448 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:33.448 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:33.448 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:33.448 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:33.448 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:33.448 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:33.448 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-37] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:33.450 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:33.450 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:33.450 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:33.450 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:33.451 +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=455.1MiB]"] [takeTime=200.020518ms] [] [2025/04/04 10:36:33.452 +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=455.1MiB]"] [2025/04/04 10:36:33.459 +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 10:36:33.460 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [2025/04/04 10:36:33.460 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [2025/04/04 10:36:33.460 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [2025/04/04 10:36:33.466 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [takeTime=6.235665ms] [] [2025/04/04 10:36:33.466 +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 10:36:33.466 +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 10:36:33.466 +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 10:36:33.466 +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 10:36:33.468 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=238] [physicalTableID=238] [indexID=-1] [checksum=6843535201192644795] [totalKvs=9] [totalBytes=369] [2025/04/04 10:36:33.475 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:33.475 +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 10:36:33.475 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [takeTime=15.345683ms] [] [2025/04/04 10:36:33.475 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [takeTime=15.486364ms] [] [2025/04/04 10:36:33.475 +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=15.62741ms] [] [2025/04/04 10:36:33.493 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:33.564 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:33.564 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=38] [step=post-process] [state=running] [] [2025/04/04 10:36:33.566 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=38] [2025/04/04 10:36:33.593 +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=455.1MiB]"] [takeTime=141.071399ms] [] [2025/04/04 10:36:33.593 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=38] [type=ImportInto] [2025/04/04 10:36:33.658 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=38] [2025/04/04 10:36:33.659 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.683120465\n# Parse_time: 0.000095814\n# Compile_time: 0.000551039\n# Rewrite_time: 0.000164467\n# Optimize_time: 0.000244515\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Mi4ybXMsIG9wZW46NzYwbnMsIGNsb3NlOjkwM25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4Mi4ybXMsIG9wZW46NzYwbnMsIGNsb3NlOjkwM25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 10:36:33.664 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:33.664 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=38] [2025/04/04 10:36:33.673 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:241, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:33.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:33.673 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:241, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:33.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:36:33.679 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=241] [conn=2] [job="ID:241, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:33.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:33.685 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:33.686 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 240, Table Name: t, Old Table ID: 238, Old Table Name: t)"] [2025/04/04 10:36:33.702 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=164] [neededSchemaVersion=165] ["elapsed time"=1.907969ms] [gotSchemaVersion=165] [phyTblIDs="[238,240]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:36:33.705 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=241] [version=165] [2025/04/04 10:36:33.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=165] ["take time"=9.073799ms] [job="ID:241, Type:truncate table, State:done, SchemaState:public, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:33.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:33.717 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=241] [tableIDs="[238]"] [comment="truncate table: table ID"] [2025/04/04 10:36:33.721 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=241] [jobType="truncate table"] [2025/04/04 10:36:33.722 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=241] [conn=2] [job="ID:241, Type:truncate table, State:synced, SchemaState:public, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:33.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:33.738 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=241] [2025/04/04 10:36:33.739 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=165] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/04 10:36:33.744 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:33.789 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"skip_rows\":\"1\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:33.808 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=39] [task-id=39] [data-size=97B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:36:33.823 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=39] [2025/04/04 10:36:33.823 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:36:33.925 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:33.926 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:33.927 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=39] [curr-step=init] [next-step=import] [2025/04/04 10:36:33.935 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:33.937 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:33.938 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97] [2025/04/04 10:36:33.938 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=97] [cost=63.999µs] [2025/04/04 10:36:33.938 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=181.684µs] [] [2025/04/04 10:36:33.938 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=39] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:33.938 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:36:33.976 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=39] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:36:33.995 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=39] [step=import] [2025/04/04 10:36:33.996 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:34.003 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:34.003 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:34.003 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:34.003 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:34.003 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:34.003 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:34.003 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:34.003 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:34.004 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:34.004 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:34.015 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:34.017 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:34.017 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:34.017 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=39] [disk-quota=347.8GiB] [2025/04/04 10:36:34.017 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=39] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:34.018 +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=455.1MiB]"] [2025/04/04 10:36:34.025 +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 10:36:34.025 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=39] [step=import] [subtask-id=74] [2025/04/04 10:36:34.028 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:34.032 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:34.032 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=240] [2025/04/04 10:36:34.032 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=39] [mode=Import] [2025/04/04 10:36:34.049 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=39] [2025/04/04 10:36:34.072 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=240] [key=skip-rows-1.csv:0] [2025/04/04 10:36:34.073 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=240] [key=skip-rows-1.csv:0] [readDur=55.915µs] [encodeDur=365.843µs] [checksum="{cksum=7570671136109282668,size=123,kvs=3}"] [deliverDur=189.097µs] [type=file] [takeTime=821.01µs] [] [2025/04/04 10:36:34.074 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=240] [2025/04/04 10:36:34.074 +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/9cf63288-b5f3-4186-97c2-a4604bcef8b8.sst] [firstKey=7480000000000000F05F728000000000000001] [lastKey=7480000000000000F05F728000000000000003] [2025/04/04 10:36:34.114 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=240] [key=skip-rows-2.csv:0] [2025/04/04 10:36:34.114 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=240] [key=skip-rows-2.csv:0] [readDur=92.888µs] [encodeDur=314.726µs] [checksum="{cksum=5624564024173586417,size=164,kvs=4}"] [deliverDur=246.006µs] [type=file] [takeTime=846.918µs] [] [2025/04/04 10:36:34.115 +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/8d0b1f50-65cc-460a-864f-6e5f5e36d14a.sst] [firstKey=7480000000000000F05F72800000000000000F] [lastKey=7480000000000000F05F728000000000000012] [2025/04/04 10:36:34.115 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=39] [step=import] [engine-id=0] [2025/04/04 10:36:34.115 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=39] [step=import] [engine-id=0] [2025/04/04 10:36:34.115 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:34.117 +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.072073ms] [] [2025/04/04 10:36:34.118 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 10:36:34.122 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:34.143 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=7] [size=287] [2025/04/04 10:36:34.143 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:34.145 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000f05f728000000000000001] [endOfAllRanges=7480000000000000f05f728000000000000013] [startKeyOfFirstRegion=7480000000000000fff05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000fff05f728000000000ff0000130000000000fa] [2025/04/04 10:36:34.157 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=287] [kvs=7] [importedSize=287] [importedCount=7] [2025/04/04 10:36:34.159 +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.80565ms] [] [2025/04/04 10:36:34.159 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:34.161 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.341359ms] [] [2025/04/04 10:36:34.161 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=39] [step=import] [engine-id=0] [2025/04/04 10:36:34.161 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:34.163 +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.936131ms] [] [2025/04/04 10:36:34.163 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 10:36:34.167 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:34.167 +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.733681ms] [] [2025/04/04 10:36:34.167 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:34.168 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.073433ms] [] [2025/04/04 10:36:34.168 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=39] [step=import] [subtask-id=74] [takeTime=143.52843ms] [] [2025/04/04 10:36:34.168 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [subtaskID=74] [step=import] [takeTime=143.672717ms] [] [2025/04/04 10:36:34.230 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:34.231 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:34.232 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=39] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:34.232 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=39] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:34.261 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=39] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":7}"] [2025/04/04 10:36:34.263 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=39] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:34.263 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:36:34.298 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:34.305 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=39] [step=import] [2025/04/04 10:36:34.308 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:34.308 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:34.308 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:34.308 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:34.308 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:34.308 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:34.308 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:34.308 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:34.308 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:34.308 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-38] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:34.308 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:34.308 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:34.310 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:34.310 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:34.310 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:34.311 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:34.311 +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=455.1MiB]"] [takeTime=292.887416ms] [] [2025/04/04 10:36:34.312 +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=455.1MiB]"] [2025/04/04 10:36:34.320 +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 10:36:34.320 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [2025/04/04 10:36:34.320 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [2025/04/04 10:36:34.320 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [2025/04/04 10:36:34.326 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [takeTime=5.604678ms] [] [2025/04/04 10:36:34.326 +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 10:36:34.326 +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 10:36:34.326 +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 10:36:34.326 +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 10:36:34.328 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=240] [physicalTableID=240] [indexID=-1] [checksum=2818719448718254749] [totalKvs=7] [totalBytes=287] [2025/04/04 10:36:34.329 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:34.329 +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 10:36:34.329 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [takeTime=8.475179ms] [] [2025/04/04 10:36:34.329 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [takeTime=8.636215ms] [] [2025/04/04 10:36:34.329 +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.763539ms] [] [2025/04/04 10:36:34.345 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:34.431 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:34.431 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=39] [step=post-process] [state=running] [] [2025/04/04 10:36:34.434 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=39] [2025/04/04 10:36:34.452 +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=455.1MiB]"] [takeTime=139.89914ms] [] [2025/04/04 10:36:34.452 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=39] [type=ImportInto] [2025/04/04 10:36:34.525 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=39] [2025/04/04 10:36:34.533 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:34.533 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=39] [2025/04/04 10:36:34.555 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:34.724 +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.985507294\n# Parse_time: 0.000096853\n# Compile_time: 0.000521949\n# Rewrite_time: 0.000150863\n# Optimize_time: 0.000270319\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NC42bXMsIG9wZW46NzQ0bnMsIGNsb3NlOjg2Nm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4NC42bXMsIG9wZW46NzQ0bnMsIGNsb3NlOjg2Nm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1, skip_rows=1;"] [2025/04/04 10:36:34.740 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:243, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:240, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:34.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:34.740 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:243, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:240, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:34.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:36:34.746 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=243] [conn=2] [job="ID:243, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:240, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:34.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:34.755 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 242, Table Name: t, Old Table ID: 240, Old Table Name: t)"] [2025/04/04 10:36:34.772 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=165] [neededSchemaVersion=166] ["elapsed time"=2.042318ms] [gotSchemaVersion=166] [phyTblIDs="[240,242]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:36:34.776 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=243] [version=166] [2025/04/04 10:36:34.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=166] ["take time"=9.642336ms] [job="ID:243, Type:truncate table, State:done, SchemaState:public, SchemaID:236, TableID:240, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:34.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:34.798 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=243] [tableIDs="[240]"] [comment="truncate table: table ID"] [2025/04/04 10:36:34.804 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=243] [jobType="truncate table"] [2025/04/04 10:36:34.805 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=243] [conn=2] [job="ID:243, Type:truncate table, State:synced, SchemaState:public, SchemaID:236, TableID:240, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:34.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:34.824 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=243] [2025/04/04 10:36:34.824 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=166] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/04 10:36:34.831 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:34.880 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"skip_rows\":\"3\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:34.900 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=40] [task-id=40] [data-size=97B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:36:34.914 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=40] [2025/04/04 10:36:34.914 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:36:35.016 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:35.017 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:35.019 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=40] [curr-step=init] [next-step=import] [2025/04/04 10:36:35.027 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:35.030 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:35.030 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97] [2025/04/04 10:36:35.030 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=97] [cost=59.699µs] [2025/04/04 10:36:35.030 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=176.518µs] [] [2025/04/04 10:36:35.030 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=40] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:35.030 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:36:35.069 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=40] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:36:35.090 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=40] [step=import] [2025/04/04 10:36:35.090 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:35.098 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:35.098 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:35.099 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:35.099 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:35.099 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:35.099 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:35.099 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:35.100 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:35.100 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:35.100 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:35.114 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:35.116 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:35.116 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:35.116 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=40] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:35.117 +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=455.1MiB]"] [2025/04/04 10:36:35.117 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=40] [disk-quota=347.8GiB] [2025/04/04 10:36:35.123 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=40] [mode=Import] [2025/04/04 10:36:35.126 +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 10:36:35.126 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=40] [step=import] [subtask-id=76] [2025/04/04 10:36:35.135 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:35.139 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:35.139 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=242] [2025/04/04 10:36:35.144 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=40] [2025/04/04 10:36:35.184 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=242] [key=skip-rows-1.csv:0] [2025/04/04 10:36:35.185 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=242] [key=skip-rows-1.csv:0] [readDur=49.406µs] [encodeDur=235.96µs] [checksum="{cksum=16041078963605923607,size=41,kvs=1}"] [deliverDur=229.707µs] [type=file] [takeTime=770.513µs] [] [2025/04/04 10:36:35.185 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=242] [2025/04/04 10:36:35.185 +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/18c696d8-7e84-4cc5-8402-b7e2b0773314.sst] [firstKey=7480000000000000F25F728000000000000001] [lastKey=7480000000000000F25F728000000000000001] [2025/04/04 10:36:35.226 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=242] [key=skip-rows-2.csv:0] [2025/04/04 10:36:35.227 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=242] [key=skip-rows-2.csv:0] [readDur=82.363µs] [encodeDur=363.219µs] [checksum="{cksum=4333126819455252683,size=82,kvs=2}"] [deliverDur=286.602µs] [type=file] [takeTime=982.178µs] [] [2025/04/04 10:36:35.227 +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/63dec2f4-c2b3-456f-9406-a6fb3122615b.sst] [firstKey=7480000000000000F25F72800000000000000F] [lastKey=7480000000000000F25F728000000000000010] [2025/04/04 10:36:35.228 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=40] [step=import] [engine-id=0] [2025/04/04 10:36:35.228 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=40] [step=import] [engine-id=0] [2025/04/04 10:36:35.228 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:35.230 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.785463ms] [] [2025/04/04 10:36:35.230 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 10:36:35.234 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:35.256 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=3] [size=123] [2025/04/04 10:36:35.257 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:35.258 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000f25f728000000000000001] [endOfAllRanges=7480000000000000f25f728000000000000011] [startKeyOfFirstRegion=7480000000000000fff25f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000fff25f728000000000ff0000110000000000fa] [2025/04/04 10:36:35.270 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=123] [kvs=3] [importedSize=123] [importedCount=3] [2025/04/04 10:36:35.271 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=41.672525ms] [] [2025/04/04 10:36:35.271 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:35.272 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.044627ms] [] [2025/04/04 10:36:35.272 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=40] [step=import] [engine-id=0] [2025/04/04 10:36:35.273 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:35.274 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.326769ms] [] [2025/04/04 10:36:35.274 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 10:36:35.277 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:35.277 +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.444683ms] [] [2025/04/04 10:36:35.277 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:35.278 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=929.82µs] [] [2025/04/04 10:36:35.279 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=40] [step=import] [subtask-id=76] [takeTime=152.943844ms] [] [2025/04/04 10:36:35.279 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [subtaskID=76] [step=import] [takeTime=153.087982ms] [] [2025/04/04 10:36:35.413 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:35.415 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:35.416 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=40] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:35.416 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=40] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:35.449 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=40] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":3}"] [2025/04/04 10:36:35.450 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=40] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:35.450 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:36:35.489 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:35.496 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=40] [step=import] [2025/04/04 10:36:35.500 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:35.500 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:35.500 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:35.500 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:35.500 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:35.500 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:35.500 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:35.500 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:35.500 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:35.501 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:35.501 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:35.500 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-39] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:35.504 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:35.504 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:35.504 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:35.504 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:35.504 +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=455.1MiB]"] [takeTime=387.120429ms] [] [2025/04/04 10:36:35.505 +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=455.1MiB]"] [2025/04/04 10:36:35.513 +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 10:36:35.513 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [2025/04/04 10:36:35.513 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [2025/04/04 10:36:35.513 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [2025/04/04 10:36:35.519 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [takeTime=5.63343ms] [] [2025/04/04 10:36:35.519 +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 10:36:35.519 +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 10:36:35.519 +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 10:36:35.519 +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 10:36:35.521 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=242] [physicalTableID=242] [indexID=-1] [checksum=16338786432462217180] [totalKvs=3] [totalBytes=123] [2025/04/04 10:36:35.521 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:35.521 +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 10:36:35.522 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [takeTime=8.548894ms] [] [2025/04/04 10:36:35.522 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [takeTime=8.793769ms] [] [2025/04/04 10:36:35.522 +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.963675ms] [] [2025/04/04 10:36:35.543 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:35.622 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:35.622 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=40] [step=post-process] [state=running] [] [2025/04/04 10:36:35.625 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=40] [2025/04/04 10:36:35.645 +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=455.1MiB]"] [takeTime=139.48061ms] [] [2025/04/04 10:36:35.645 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=40] [type=ImportInto] [2025/04/04 10:36:35.716 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=40] [2025/04/04 10:36:35.722 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:35.722 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=40] [2025/04/04 10:36:35.746 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:35.819 +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.993840745\n# Parse_time: 0.000103445\n# Compile_time: 0.000714687\n# Rewrite_time: 0.000217101\n# Optimize_time: 0.000300363\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Mi41bXMsIG9wZW46ODE0bnMsIGNsb3NlOjg3MG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Mi41bXMsIG9wZW46ODE0bnMsIGNsb3NlOjg3MG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\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.08s) === NAME TestImportInto === RUN TestImportInto/TestImportIntoPrivilegePositiveCase [2025/04/04 10:36:35.838 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:244, Type:drop schema, State:queueing, SchemaState:public, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:35.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists import_into"] [2025/04/04 10:36:35.838 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:244, Type:drop schema, State:queueing, SchemaState:public, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:35.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:35.844 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=244] [conn=2] [job="ID:244, Type:drop schema, State:queueing, SchemaState:public, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:35.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:35.864 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=166] [neededSchemaVersion=167] ["elapsed time"=2.232179ms] [gotSchemaVersion=167] [phyTblIDs="[171,172,173,174,175,176]"] [actionTypes="[2,2,2,2,2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:35.868 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=244] [version=167] [2025/04/04 10:36: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=167] ["take time"=10.152108ms] [job="ID:244, Type:drop schema, State:running, SchemaState:write only, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:35.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:35.879 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=244] [conn=2] [job="ID:244, Type:drop schema, State:running, SchemaState:write only, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:35.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:35.892 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=167] [neededSchemaVersion=168] ["elapsed time"=150.944µs] [gotSchemaVersion=168] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:35.897 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=244] [version=168] [2025/04/04 10:36:35.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=168] ["take time"=8.174315ms] [job="ID:244, Type:drop schema, State:running, SchemaState:delete only, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:35.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:35.908 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=244] [conn=2] [job="ID:244, Type:drop schema, State:running, SchemaState:delete only, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:35.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:35.915 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:36:35.926 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=168] [neededSchemaVersion=169] ["elapsed time"=127.256µs] [gotSchemaVersion=169] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:35.930 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=244] [version=169] [2025/04/04 10:36:35.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=169] ["take time"=7.821003ms] [job="ID:244, Type:drop schema, State:done, SchemaState:none, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:35.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:35.943 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=244] [tableIDs="[171,172,173,174,175,176]"] [comment="drop schema: table IDs"] [2025/04/04 10:36:35.949 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=244] [jobType="drop schema"] [2025/04/04 10:36:35.950 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=244] [conn=2] [job="ID:244, Type:drop schema, State:synced, SchemaState:none, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:35.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:35.968 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=244] [2025/04/04 10:36:35.968 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=169] [cur_db=load_data] [sql="drop database if exists import_into"] [user=root@%] [2025/04/04 10:36:35.981 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:246, Type:create schema, State:queueing, SchemaState:none, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:35.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database import_into"] [2025/04/04 10:36:35.982 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:246, Type:create schema, State:queueing, SchemaState:none, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:35.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:35.988 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=246] [conn=2] [job="ID:246, Type:create schema, State:queueing, SchemaState:none, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:35.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:36.003 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=169] [neededSchemaVersion=170] ["elapsed time"=830.764µs] [gotSchemaVersion=170] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:36:36.007 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=246] [version=170] [2025/04/04 10:36:36.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=170] ["take time"=8.748471ms] [job="ID:246, Type:create schema, State:done, SchemaState:public, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:35.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:36.021 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=246] [conn=2] [job="ID:246, Type:create schema, State:synced, SchemaState:public, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:35.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:36.031 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=246] [2025/04/04 10:36:36.032 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=170] [cur_db=load_data] [sql="create database import_into"] [user=root@%] [2025/04/04 10:36:36.047 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:248, Type:create table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:35.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:36:36.047 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:248, Type:create table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:35.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:36.053 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=248] [conn=2] [job="ID:248, Type:create table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:35.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:36.058 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 247, Table Name: t)"] [2025/04/04 10:36:36.074 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=170] [neededSchemaVersion=171] ["elapsed time"=2.055337ms] [gotSchemaVersion=171] [phyTblIDs="[247]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:36.079 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=248] [version=171] [2025/04/04 10:36:36.081 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=171] ["take time"=10.130289ms] [job="ID:248, Type:create table, State:done, SchemaState:public, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:35.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:36.093 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=248] [conn=2] [job="ID:248, Type:create table, State:synced, SchemaState:public, SchemaID:245, TableID:247, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:35.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:36.105 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=248] [2025/04/04 10:36:36.106 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/04 10:36:36.182 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] [cur_db=import_into] [sql="DROP USER IF EXISTS 'test_import_into'@'localhost';"] [user=root@%] [2025/04/04 10:36:36.228 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="create user test_import_into@localhost"] [user=root@%] [2025/04/04 10:36:36.280 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="GRANT SELECT on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/04 10:36:36.323 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="GRANT UPDATE on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/04 10:36:36.367 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="GRANT INSERT on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/04 10:36:36.412 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="GRANT DELETE on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/04 10:36:36.461 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="GRANT ALTER on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/04 10:36:36.469 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:36.525 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://privilege-test/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:36:36.547 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=41] [task-id=41] [data-size=21B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:36.562 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=41] [2025/04/04 10:36:36.563 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:36.665 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:36.666 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:36.668 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=41] [curr-step=init] [next-step=import] [2025/04/04 10:36:36.676 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:36.679 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:36.679 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=21] [2025/04/04 10:36:36.679 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=21] [cost=68.091µs] [2025/04/04 10:36:36.679 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=160.333µs] [] [2025/04/04 10:36:36.680 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=41] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:36.680 +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=36] [subtasks=1] [2025/04/04 10:36:36.717 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=41] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:36.738 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=41] [step=import] [2025/04/04 10:36:36.738 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:36.747 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:36.747 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:36.748 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:36.748 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:36.748 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:36.748 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:36.748 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:36.748 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:36.749 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:36.749 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:36.762 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:36.764 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:36.764 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:36.764 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=41] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:36.764 +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=36, Mem=16GiB]"] [2025/04/04 10:36:36.764 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=41] [disk-quota=347.8GiB] [2025/04/04 10:36:36.772 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=41] [mode=Import] [2025/04/04 10:36:36.774 +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 10:36:36.774 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=41] [step=import] [subtask-id=78] [2025/04/04 10:36:36.778 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:36.781 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:36.782 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=247] [2025/04/04 10:36:36.792 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=41] [2025/04/04 10:36:36.823 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=247] [key=db.tbl.001.csv:0] [2025/04/04 10:36:36.825 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=247] [key=db.tbl.001.csv:0] [readDur=969.172µs] [encodeDur=238.822µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=260.179µs] [type=file] [takeTime=1.873681ms] [] [2025/04/04 10:36:36.826 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=987] [file=/tmp/tidb/import-4000/41/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/2ccdb369-2b4f-4d4b-83cf-d0859188105f.sst] [firstKey=7480000000000000F75F728000000000000001] [lastKey=7480000000000000F75F728000000000000002] [2025/04/04 10:36:36.826 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=41] [step=import] [engine-id=0] [2025/04/04 10:36:36.826 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=41] [step=import] [engine-id=0] [2025/04/04 10:36:36.826 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:36.829 +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.541485ms] [] [2025/04/04 10:36:36.829 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 10:36:36.834 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:36.856 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=2] [size=82] [2025/04/04 10:36:36.856 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:36.858 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000f75f728000000000000001] [endOfAllRanges=7480000000000000f75f728000000000000003] [startKeyOfFirstRegion=7480000000000000fff75f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000fff75f728000000000ff0000030000000000fa] [2025/04/04 10:36:36.873 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=82] [kvs=2] [importedSize=82] [importedCount=2] [2025/04/04 10:36:36.875 +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.285207ms] [] [2025/04/04 10:36:36.875 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:36.877 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.466474ms] [] [2025/04/04 10:36:36.877 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=41] [step=import] [engine-id=0] [2025/04/04 10:36:36.877 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:36.879 +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.779875ms] [] [2025/04/04 10:36:36.879 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 10:36:36.883 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:36.883 +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.010155ms] [] [2025/04/04 10:36:36.883 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:36.884 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.043494ms] [] [2025/04/04 10:36:36.884 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=41] [step=import] [subtask-id=78] [takeTime=110.267443ms] [] [2025/04/04 10:36:36.885 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [subtaskID=78] [step=import] [takeTime=111.760634ms] [] [2025/04/04 10:36:36.971 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:36.972 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:36.973 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=41] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:36.973 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=41] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:37.004 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=41] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:36:37.006 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=41] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:37.006 +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=36] [subtasks=1] [2025/04/04 10:36:37.037 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:37.044 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=41] [step=import] [2025/04/04 10:36:37.047 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:37.047 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:37.047 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:37.047 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:37.047 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:37.047 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:37.047 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:37.047 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:37.047 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:37.047 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-40] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:37.047 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:37.047 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:37.049 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:37.049 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:37.049 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:37.049 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:37.049 +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=36, Mem=16GiB]"] [takeTime=284.797455ms] [] [2025/04/04 10:36:37.051 +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=36, Mem=16GiB]"] [2025/04/04 10:36:37.058 +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 10:36:37.058 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [2025/04/04 10:36:37.058 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [2025/04/04 10:36:37.058 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [2025/04/04 10:36:37.064 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [takeTime=5.674749ms] [] [2025/04/04 10:36:37.064 +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 10:36:37.064 +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 10:36:37.064 +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 10:36:37.064 +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 10:36:37.066 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=247] [physicalTableID=247] [indexID=-1] [checksum=1675147975136326378] [totalKvs=2] [totalBytes=82] [2025/04/04 10:36:37.067 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:37.067 +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 10:36:37.067 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [takeTime=8.374949ms] [] [2025/04/04 10:36:37.067 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [takeTime=8.528156ms] [] [2025/04/04 10:36:37.067 +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.758581ms] [] [2025/04/04 10:36:37.085 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:37.100 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:36:37.170 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:37.170 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=41] [step=post-process] [state=running] [] [2025/04/04 10:36:37.173 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=41] [2025/04/04 10:36:37.188 +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=36, Mem=16GiB]"] [takeTime=137.157626ms] [] [2025/04/04 10:36:37.188 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=41] [type=ImportInto] [2025/04/04 10:36:37.265 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=41] [2025/04/04 10:36:37.272 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:37.272 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=41] [2025/04/04 10:36:37.293 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [Pipeline] } [2025/04/04 10:36:37.466 +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: 1.004125564\n# Parse_time: 0.000167754\n# Compile_time: 0.001305583\n# Rewrite_time: 0.000817438\n# Optimize_time: 0.000358875\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('Q/BCMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjFzLCBvcGVuOjc4MG5zLCBjbG9zZTo4MjNucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('XvBJCloKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWil0aW1lOjFzLCBvcGVuOjc4MG5zLCBjbG9zZTo4MjNucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nuse import_into;\nIMPORT INTO `import_into`.`t` FROM 'gs://privilege-test/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 10:36:37.469 +00:00] [INFO] [sem.go:79] ["tidb-server is operating with security enhanced mode (SEM) enabled"] [2025/04/04 10:36:37.481 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:250, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:37.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:36:37.481 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:250, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:37.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:37.486 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=250] [conn=2] [job="ID:250, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:37.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:37.494 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 249, Table Name: t, Old Table ID: 247, Old Table Name: t)"] [2025/04/04 10:36:37.509 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=171] [neededSchemaVersion=172] ["elapsed time"=1.801836ms] [gotSchemaVersion=172] [phyTblIDs="[247,249]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:36:37.513 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=250] [version=172] [2025/04/04 10:36:37.514 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=172] ["take time"=8.793297ms] [job="ID:250, Type:truncate table, State:done, SchemaState:public, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:37.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:37.524 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=250] [tableIDs="[247]"] [comment="truncate table: table ID"] [2025/04/04 10:36:37.528 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=250] [jobType="truncate table"] [2025/04/04 10:36:37.529 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=250] [conn=2] [job="ID:250, Type:truncate table, State:synced, SchemaState:public, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:37.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:37.546 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=250] [2025/04/04 10:36:37.546 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=172] [cur_db=import_into] [sql="truncate table t"] [user=root@%] [2025/04/04 10:36:37.552 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:37.597 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://privilege-test/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:36:37.616 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=42] [task-id=42] [data-size=21B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:37.632 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=42] [2025/04/04 10:36:37.632 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:37.735 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:37.736 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:37.738 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=42] [curr-step=init] [next-step=import] [2025/04/04 10:36:37.745 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:37.747 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:37.747 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=21] [2025/04/04 10:36:37.747 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=21] [cost=47.944µs] [2025/04/04 10:36:37.747 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=174.116µs] [] [2025/04/04 10:36:37.747 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=42] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:37.747 +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=36] [subtasks=1] [2025/04/04 10:36:37.785 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=42] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:37.804 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=42] [step=import] [2025/04/04 10:36:37.804 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:37.812 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:37.812 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:37.812 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:37.812 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:37.812 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:37.812 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:37.813 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:37.813 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:37.813 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:37.813 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:37.824 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:37.826 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:37.826 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:37.826 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=42] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:37.826 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=42] [disk-quota=347.8GiB] [2025/04/04 10:36:37.826 +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=36, Mem=16GiB]"] [2025/04/04 10:36:37.833 +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 10:36:37.834 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=42] [step=import] [subtask-id=80] [2025/04/04 10:36:37.837 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:37.840 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:37.840 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=42] [mode=Import] [2025/04/04 10:36:37.841 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=249] [2025/04/04 10:36:37.859 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=42] [2025/04/04 10:36:37.879 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=249] [key=db.tbl.001.csv:0] [2025/04/04 10:36:37.881 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=249] [key=db.tbl.001.csv:0] [readDur=779.727µs] [encodeDur=238.955µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=192.01µs] [type=file] [takeTime=1.534318ms] [] [2025/04/04 10:36:37.881 +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/b83458ee-015f-40e6-9476-c9e31c6a76de.sst] [firstKey=7480000000000000F95F728000000000000001] [lastKey=7480000000000000F95F728000000000000002] [2025/04/04 10:36:37.881 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=42] [step=import] [engine-id=0] [2025/04/04 10:36:37.881 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=42] [step=import] [engine-id=0] [2025/04/04 10:36:37.881 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:37.883 +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.007047ms] [] [2025/04/04 10:36:37.884 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 10:36:37.888 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:37.909 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=2] [size=82] [2025/04/04 10:36:37.910 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:37.911 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000f95f728000000000000001] [endOfAllRanges=7480000000000000f95f728000000000000003] [startKeyOfFirstRegion=7480000000000000fff95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000fff95f728000000000ff0000030000000000fa] [2025/04/04 10:36:37.922 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=82] [kvs=2] [importedSize=82] [importedCount=2] [2025/04/04 10:36:37.924 +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.966072ms] [] [2025/04/04 10:36:37.924 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:37.925 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=994.54µs] [] [2025/04/04 10:36:37.925 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=42] [step=import] [engine-id=0] [2025/04/04 10:36:37.925 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:37.926 +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.450931ms] [] [2025/04/04 10:36:37.926 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 10:36:37.930 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:37.930 +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.478012ms] [] [2025/04/04 10:36:37.930 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:37.931 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=868.988µs] [] [2025/04/04 10:36:37.931 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=42] [step=import] [subtask-id=80] [takeTime=97.40839ms] [] [2025/04/04 10:36:37.931 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [subtaskID=80] [step=import] [takeTime=97.56646ms] [] [2025/04/04 10:36:38.040 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:38.041 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:38.042 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=42] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:38.042 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=42] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:38.072 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=42] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:36:38.074 +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 10:36:38.074 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=42] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:38.074 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=42] [step=import] [2025/04/04 10:36:38.074 +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=36] [subtasks=1] [2025/04/04 10:36:38.081 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:38.081 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:38.081 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:38.081 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:38.081 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:38.081 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:38.081 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:38.081 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:38.081 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-41] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:38.081 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:38.081 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:38.081 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:38.083 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:38.083 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:38.083 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:38.083 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:38.083 +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=36, Mem=16GiB]"] [takeTime=256.819134ms] [] [2025/04/04 10:36:38.083 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=42] [type=ImportInto] [2025/04/04 10:36:38.115 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=42] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:38.134 +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=36, Mem=16GiB]"] [2025/04/04 10:36:38.142 +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 10:36:38.142 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [2025/04/04 10:36:38.142 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [2025/04/04 10:36:38.142 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [2025/04/04 10:36:38.148 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [takeTime=5.767971ms] [] [2025/04/04 10:36:38.148 +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 10:36:38.148 +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 10:36:38.148 +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 10:36:38.148 +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 10:36:38.150 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=249] [physicalTableID=249] [indexID=-1] [checksum=1675147975136326378] [totalKvs=2] [totalBytes=82] [2025/04/04 10:36:38.150 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:38.150 +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 10:36:38.150 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [takeTime=8.547739ms] [] [2025/04/04 10:36:38.151 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [takeTime=8.668915ms] [] [2025/04/04 10:36:38.151 +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.785959ms] [] [2025/04/04 10:36:38.158 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:38.239 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:38.239 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=42] [step=post-process] [state=running] [] [2025/04/04 10:36:38.242 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=42] [2025/04/04 10:36:38.272 +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=36, Mem=16GiB]"] [takeTime=136.979495ms] [] [2025/04/04 10:36:38.272 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=42] [type=ImportInto] [2025/04/04 10:36:38.335 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=42] [2025/04/04 10:36:38.341 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:38.341 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=42] [2025/04/04 10:36:38.366 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:38.533 +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.986555609\n# Parse_time: 0.000066412\n# Compile_time: 0.000540886\n# Rewrite_time: 0.000155727\n# Optimize_time: 0.00030521\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NS43bXMsIG9wZW46NzU4bnMsIGNsb3NlOjc2N25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4NS43bXMsIG9wZW46NzU4bnMsIGNsb3NlOjc2N25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `import_into`.`t` FROM 'gs://privilege-test/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 10:36:38.537 +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/TestImportIntoTestImportIntoPrivilegePositiveCase230111985/001/file.csv'"] [2025/04/04 10:36:38.576 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=172] ["secure text"="GRANT FILE on *.* to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/04 10:36:38.587 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:252, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:38.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:36:38.587 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:252, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:38.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:38.592 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=252] [conn=2] [job="ID:252, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:249, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:38.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:38.599 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 251, Table Name: t, Old Table ID: 249, Old Table Name: t)"] [2025/04/04 10:36:38.614 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=172] [neededSchemaVersion=173] ["elapsed time"=1.727511ms] [gotSchemaVersion=173] [phyTblIDs="[249,251]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:36:38.617 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=252] [version=173] [2025/04/04 10:36:38.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=173] ["take time"=8.310414ms] [job="ID:252, Type:truncate table, State:done, SchemaState:public, SchemaID:245, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:38.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:38.629 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=252] [tableIDs="[249]"] [comment="truncate table: table ID"] [2025/04/04 10:36:38.632 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=252] [jobType="truncate table"] [2025/04/04 10:36:38.633 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=252] [conn=2] [job="ID:252, Type:truncate table, State:synced, SchemaState:public, SchemaID:245, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:38.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:38.652 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=252] [2025/04/04 10:36:38.652 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=173] [cur_db=import_into] [sql="truncate table t"] [user=root@%] [2025/04/04 10:36:38.700 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestImportIntoPrivilegePositiveCase230111985/001/file.csv\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:36:38.700 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:38.700 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=21] [2025/04/04 10:36:38.701 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=21] [cost=40.61µs] [2025/04/04 10:36:38.701 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=128.25µs] [] [2025/04/04 10:36:38.720 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=43] [task-id=43] [data-size=21B] [thread-cnt=8] [global-sort=false] [2025/04/04 10:36:38.734 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=43] [2025/04/04 10:36:38.734 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:36:38.836 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:38.837 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:38.839 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=43] [curr-step=init] [next-step=import] [2025/04/04 10:36:38.846 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=43] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:38.846 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 10:36:38.885 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=43] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:36:38.905 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=43] [step=import] [2025/04/04 10:36:38.912 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:38.912 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:38.912 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:38.912 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:38.912 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:38.912 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:38.912 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:38.913 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:38.913 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:38.913 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:38.925 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:38.927 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:38.927 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:38.927 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=43] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:38.927 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:36:38.927 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=43] [disk-quota=347.8GiB] [2025/04/04 10:36:38.934 +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 10:36:38.934 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=43] [step=import] [subtask-id=82] [2025/04/04 10:36:38.937 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:38.940 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:38.941 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=251] [2025/04/04 10:36:38.942 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=43] [mode=Import] [2025/04/04 10:36:38.965 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=43] [2025/04/04 10:36:38.979 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=251] [key=file.csv:0] [2025/04/04 10:36:38.980 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=251] [key=file.csv:0] [readDur=138.604µs] [encodeDur=636.325µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=244.026µs] [type=file] [takeTime=1.268603ms] [] [2025/04/04 10:36:38.981 +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/6f3b2838-93ed-409f-92a7-595498a96848.sst] [firstKey=7480000000000000FB5F728000000000000001] [lastKey=7480000000000000FB5F728000000000000002] [2025/04/04 10:36:38.981 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=43] [step=import] [engine-id=0] [2025/04/04 10:36:38.981 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=43] [step=import] [engine-id=0] [2025/04/04 10:36:38.981 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:38.983 +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.97396ms] [] [2025/04/04 10:36:38.983 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 10:36:38.989 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:39.011 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=2] [size=82] [2025/04/04 10:36:39.011 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:39.013 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000fb5f728000000000000001] [endOfAllRanges=7480000000000000fb5f728000000000000003] [startKeyOfFirstRegion=7480000000000000fffb5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000fffb5f728000000000ff0000030000000000fa] [2025/04/04 10:36:39.023 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=82] [kvs=2] [importedSize=82] [importedCount=2] [2025/04/04 10:36:39.025 +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.498426ms] [] [2025/04/04 10:36:39.025 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:36:39.026 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.041609ms] [] [2025/04/04 10:36:39.026 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=43] [step=import] [engine-id=0] [2025/04/04 10:36:39.026 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:39.027 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.414146ms] [] [2025/04/04 10:36:39.028 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 10:36:39.031 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:39.031 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=3.562772ms] [] [2025/04/04 10:36:39.031 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:36:39.032 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=884.106µs] [] [2025/04/04 10:36:39.032 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=43] [step=import] [subtask-id=82] [takeTime=98.339928ms] [] [2025/04/04 10:36:39.032 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [subtaskID=82] [step=import] [takeTime=98.472393ms] [] [2025/04/04 10:36:39.141 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:39.142 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:39.143 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=43] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:39.143 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=43] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:39.176 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=43] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:36:39.177 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=43] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:39.177 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:36:39.182 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:36:39.182 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=43] [step=import] [2025/04/04 10:36:39.185 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:39.185 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:39.185 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:39.185 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:39.185 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:39.185 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:39.185 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:39.185 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-42] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:39.185 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:39.185 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:39.185 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:39.185 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:39.188 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:39.188 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:39.188 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:39.188 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:39.188 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=260.728745ms] [] [2025/04/04 10:36:39.188 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=43] [type=ImportInto] [2025/04/04 10:36:39.214 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=43] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:36:39.234 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:36:39.241 +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 10:36:39.241 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [2025/04/04 10:36:39.241 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [2025/04/04 10:36:39.241 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [2025/04/04 10:36:39.246 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [takeTime=5.163914ms] [] [2025/04/04 10:36:39.246 +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 10:36:39.246 +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 10:36:39.246 +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 10:36:39.246 +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 10:36:39.248 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=251] [physicalTableID=251] [indexID=-1] [checksum=1675147975136326378] [totalKvs=2] [totalBytes=82] [2025/04/04 10:36:39.248 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:39.248 +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 10:36:39.249 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [takeTime=7.44679ms] [] [2025/04/04 10:36:39.249 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [takeTime=7.572416ms] [] [2025/04/04 10:36:39.249 +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=7.686118ms] [] [2025/04/04 10:36:39.274 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:39.340 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:39.340 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=43] [step=post-process] [state=running] [] [2025/04/04 10:36:39.343 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=43] [2025/04/04 10:36:39.366 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=132.514747ms] [] [2025/04/04 10:36:39.367 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=43] [type=ImportInto] [2025/04/04 10:36:39.436 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=43] [2025/04/04 10:36:39.441 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:39.441 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=43] [2025/04/04 10:36:39.462 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:39.635 +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.983120736\n# Parse_time: 0.000079516\n# Compile_time: 0.000544273\n# Rewrite_time: 0.000166899\n# Optimize_time: 0.000274872\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Mi4zbXMsIG9wZW46NjMwbnMsIGNsb3NlOjgyNW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Mi4zbXMsIG9wZW46NjMwbnMsIGNsb3NlOjgyNW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `import_into`.`t` FROM '/tmp/TestImportIntoTestImportIntoPrivilegePositiveCase230111985/001/file.csv';"] --- PASS: TestImportInto/TestImportIntoPrivilegePositiveCase (3.82s) === NAME TestImportInto === RUN TestImportInto/TestImportIntoWithFK [2025/04/04 10:36:39.650 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:253, Type:drop schema, State:queueing, SchemaState:public, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:39.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:39.650 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:253, Type:drop schema, State:queueing, SchemaState:public, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:39.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists import_into"] [2025/04/04 10:36:39.655 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=253] [conn=2] [job="ID:253, Type:drop schema, State:queueing, SchemaState:public, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:39.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:39.671 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=173] [neededSchemaVersion=174] ["elapsed time"=1.623115ms] [gotSchemaVersion=174] [phyTblIDs="[251]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:39.674 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=253] [version=174] [2025/04/04 10:36:39.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=174] ["take time"=8.249278ms] [job="ID:253, Type:drop schema, State:running, SchemaState:write only, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:39.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:39.684 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=253] [conn=2] [job="ID:253, Type:drop schema, State:running, SchemaState:write only, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:39.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:39.696 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=174] [neededSchemaVersion=175] ["elapsed time"=126.462µs] [gotSchemaVersion=175] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:39.699 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=253] [version=175] [2025/04/04 10:36:39.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=175] ["take time"=7.954147ms] [job="ID:253, Type:drop schema, State:running, SchemaState:delete only, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:39.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:39.710 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=253] [conn=2] [job="ID:253, Type:drop schema, State:running, SchemaState:delete only, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:39.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:39.715 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:36:39.724 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=175] [neededSchemaVersion=176] ["elapsed time"=140.405µs] [gotSchemaVersion=176] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:39.727 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=253] [version=176] [2025/04/04 10:36:39.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=176] ["take time"=6.860196ms] [job="ID:253, Type:drop schema, State:done, SchemaState:none, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:39.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:39.737 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=253] [tableIDs="[251]"] [comment="drop schema: table IDs"] [2025/04/04 10:36:39.741 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=253] [jobType="drop schema"] [2025/04/04 10:36:39.741 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=253] [conn=2] [job="ID:253, Type:drop schema, State:synced, SchemaState:none, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:39.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:39.755 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=253] [2025/04/04 10:36:39.756 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=176] [cur_db=] [sql="drop database if exists import_into"] [user=root@%] [2025/04/04 10:36:39.766 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:255, Type:create schema, State:queueing, SchemaState:none, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:39.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:39.766 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:255, Type:create schema, State:queueing, SchemaState:none, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:39.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database import_into"] [2025/04/04 10:36:39.771 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=255] [conn=2] [job="ID:255, Type:create schema, State:queueing, SchemaState:none, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:39.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:39.783 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=176] [neededSchemaVersion=177] ["elapsed time"=622.336µs] [gotSchemaVersion=177] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:36:39.786 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=255] [version=177] [2025/04/04 10:36:39.788 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=177] ["take time"=7.162068ms] [job="ID:255, Type:create schema, State:done, SchemaState:public, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:39.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:39.797 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=255] [conn=2] [job="ID:255, Type:create schema, State:synced, SchemaState:public, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:39.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:39.806 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=255] [2025/04/04 10:36:39.807 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=177] [cur_db=] [sql="create database import_into"] [user=root@%] [2025/04/04 10:36:39.819 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:257, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:39.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:39.819 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:257, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:39.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table parent (id int primary key);"] [2025/04/04 10:36:39.824 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=257] [conn=2] [job="ID:257, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:256, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:39.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:39.828 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 256, Table Name: parent)"] [2025/04/04 10:36:39.841 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=177] [neededSchemaVersion=178] ["elapsed time"=1.594664ms] [gotSchemaVersion=178] [phyTblIDs="[256]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:39.844 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=257] [version=178] [2025/04/04 10:36:39.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=178] ["take time"=8.653894ms] [job="ID:257, Type:create table, State:done, SchemaState:public, SchemaID:254, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:39.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:39.856 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=257] [conn=2] [job="ID:257, Type:create table, State:synced, SchemaState:public, SchemaID:254, TableID:256, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:39.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:39.867 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=257] [2025/04/04 10:36:39.867 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=178] [cur_db=import_into] [sql="create table parent (id int primary key);"] [user=root@%] [2025/04/04 10:36:39.881 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:259, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:39.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:39.881 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:259, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:39.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table child (id int primary key, fk int, foreign key (fk) references parent(id));"] [2025/04/04 10:36:39.886 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=259] [conn=2] [job="ID:259, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:39.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:39.903 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=178] [neededSchemaVersion=179] ["elapsed time"=1.789733ms] [gotSchemaVersion=179] [phyTblIDs="[258]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:39.906 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=259] [version=179] [2025/04/04 10:36:39.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=179] ["take time"=8.306383ms] [job="ID:259, Type:create table, State:running, SchemaState:delete only, SchemaID:254, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:39.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:39.916 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=259] [conn=2] [job="ID:259, Type:create table, State:running, SchemaState:delete only, SchemaID:254, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:39.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:39.921 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 258, Table Name: child)"] [2025/04/04 10:36:39.936 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=179] [neededSchemaVersion=180] ["elapsed time"=1.840151ms] [gotSchemaVersion=180] [phyTblIDs="[258]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:39.939 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=259] [version=180] [2025/04/04 10:36:39.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=180] ["take time"=8.5258ms] [job="ID:259, Type:create table, State:done, SchemaState:public, SchemaID:254, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:39.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:39.950 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=259] [conn=2] [job="ID:259, Type:create table, State:synced, SchemaState:public, SchemaID:254, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:39.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:39.961 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=259] [2025/04/04 10:36:39.962 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=180] [cur_db=import_into] [sql="create table child (id int primary key, fk int, foreign key (fk) references parent(id));"] [user=root@%] [2025/04/04 10:36:39.968 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:40.013 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://foreign-key-test/child.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:36:40.031 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=44] [task-id=44] [data-size=8B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:40.044 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=44] [2025/04/04 10:36:40.044 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:40.147 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:40.149 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:40.150 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=44] [curr-step=init] [next-step=import] [2025/04/04 10:36:40.158 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:40.161 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=child] [2025/04/04 10:36:40.161 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=child] [before=536870912000] [after=8] [2025/04/04 10:36:40.161 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=child] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=41.177µs] [2025/04/04 10:36:40.161 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=child] [takeTime=129.478µs] [] [2025/04/04 10:36:40.161 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=44] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:40.161 +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=36] [subtasks=1] [2025/04/04 10:36:40.195 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=44] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:40.214 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=44] [step=import] [2025/04/04 10:36:40.214 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:40.221 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:40.222 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:40.222 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:40.222 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:40.222 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:40.222 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:40.222 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:40.222 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:40.223 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:40.223 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:40.234 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:40.236 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:40.236 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=child] [quota=373.5GB] [2025/04/04 10:36:40.236 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=44] [step=import] [data-buf-limit=170.7MiB] [per-index-buf-limit=56.89MiB] [index-buf-block-size=56.89MiB] [2025/04/04 10:36:40.236 +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=36, Mem=16GiB]"] [2025/04/04 10:36:40.236 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=child] [import-id=44] [disk-quota=347.8GiB] [2025/04/04 10:36:40.243 +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 10:36:40.243 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=44] [step=import] [subtask-id=84] [2025/04/04 10:36:40.246 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [2025/04/04 10:36:40.249 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [2025/04/04 10:36:40.249 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=258] [2025/04/04 10:36:40.254 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=44] [mode=Import] [2025/04/04 10:36:40.271 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=44] [2025/04/04 10:36:40.323 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=258] [key=child.csv:0] [2025/04/04 10:36:40.325 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=258] [key=child.csv:0] [readDur=875.62µs] [encodeDur=244.92µs] [checksum="{cksum=13443790654808714275,size=134,kvs=4}"] [deliverDur=426.381µs] [type=file] [takeTime=1.846534ms] [] [2025/04/04 10:36:40.327 +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/80156b5e-b1ce-4567-a065-2c9890038051.sst] [firstKey=7480000000000001025F728000000000000001] [lastKey=7480000000000001025F728000000000000002] [2025/04/04 10:36:40.327 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=44] [step=import] [engine-id=0] [2025/04/04 10:36:40.327 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=44] [step=import] [engine-id=0] [2025/04/04 10:36:40.327 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [2025/04/04 10:36:40.329 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [takeTime=2.130217ms] [] [2025/04/04 10:36:40.329 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [retryCnt=0] [2025/04/04 10:36:40.334 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:40.355 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=6cb30ba2-e19b-5956-98c4-24bd955c910a] ["region ranges"=1] [count=2] [size=58] [2025/04/04 10:36:40.356 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:40.357 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001025f728000000000000001] [endOfAllRanges=7480000000000001025f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff025f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff025f728000000000ff0000030000000000fa] [2025/04/04 10:36:40.368 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=6cb30ba2-e19b-5956-98c4-24bd955c910a] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/04 10:36:40.369 +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=40.003692ms] [] [2025/04/04 10:36:40.369 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [2025/04/04 10:36:40.370 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [takeTime=1.043454ms] [] [2025/04/04 10:36:40.370 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=44] [step=import] [engine-id=0] [2025/04/04 10:36:40.370 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [2025/04/04 10:36:40.370 +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/cb678b0c-c249-4daf-8f4d-3eeef3b7dcfd.sst] [firstKey=7480000000000001025F698000000000000001038000000000000001038000000000000001] [lastKey=7480000000000001025F698000000000000001038000000000000002038000000000000002] [2025/04/04 10:36:40.372 +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.075734ms] [] [2025/04/04 10:36:40.373 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [retryCnt=0] [2025/04/04 10:36:40.376 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:40.399 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] ["region ranges"=1] [count=2] [size=76] [2025/04/04 10:36:40.400 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:40.401 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001025f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=7480000000000001025f69800000000000000103800000000000000203800000000000000200] [startKeyOfFirstRegion=7480000000000001ff025f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000001ff025f698000000000ff0000010380000000ff0000000203800000ff0000000002000000fd] [2025/04/04 10:36:40.412 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [size=76] [kvs=2] [importedSize=76] [importedCount=2] [2025/04/04 10:36:40.413 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [retryCnt=0] [takeTime=40.665445ms] [] [2025/04/04 10:36:40.413 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [2025/04/04 10:36:40.414 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [takeTime=912.122µs] [] [2025/04/04 10:36:40.414 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=44] [step=import] [subtask-id=84] [takeTime=171.556683ms] [] [2025/04/04 10:36:40.415 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [subtaskID=84] [step=import] [takeTime=171.833702ms] [] [2025/04/04 10:36:40.451 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:40.452 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:40.454 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=44] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:40.454 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=44] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:40.482 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=44] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:36:40.484 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=44] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:40.484 +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=36] [subtasks=1] [2025/04/04 10:36:40.513 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:40.519 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=44] [step=import] [2025/04/04 10:36:40.524 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:40.524 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:40.524 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:40.524 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:40.524 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:40.524 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:40.524 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:40.524 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:40.524 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:40.524 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:40.524 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:40.524 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-43] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:40.526 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:40.526 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:40.526 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:40.526 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:40.526 +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=36, Mem=16GiB]"] [takeTime=290.064392ms] [] [2025/04/04 10:36:40.527 +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=36, Mem=16GiB]"] [2025/04/04 10:36:40.534 +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 10:36:40.535 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [2025/04/04 10:36:40.535 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [2025/04/04 10:36:40.535 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [2025/04/04 10:36:40.535 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [takeTime=2.592µs] [] [2025/04/04 10:36:40.535 +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 10:36:40.535 +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 10:36:40.535 +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 10:36:40.535 +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 10:36:40.535 +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 10:36:40.540 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=258] [physicalTableID=258] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/04 10:36:40.542 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=258] [physicalTableID=258] [indexID=1] [checksum=16701486629303771758] [totalKvs=2] [totalBytes=76] [2025/04/04 10:36:40.542 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:40.542 +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 10:36:40.542 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [takeTime=7.436825ms] [] [2025/04/04 10:36:40.542 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [takeTime=7.622626ms] [] [2025/04/04 10:36:40.542 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [subtaskID=85] [step=post-process] [takeTime=7.788476ms] [] [2025/04/04 10:36:40.555 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:40.652 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:40.652 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=44] [step=post-process] [state=running] [] [2025/04/04 10:36:40.655 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=44] [2025/04/04 10:36:40.680 +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=36, Mem=16GiB]"] [takeTime=152.735433ms] [] [2025/04/04 10:36:40.680 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=44] [type=ImportInto] [2025/04/04 10:36:40.747 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=44] [2025/04/04 10:36:40.753 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:40.753 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=44] [2025/04/04 10:36:40.778 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:40.947 +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.985271279\n# Parse_time: 0.000106846\n# Compile_time: 0.000616152\n# Rewrite_time: 0.000194277\n# Optimize_time: 0.000237705\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('SfBIMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NC4zbXMsIG9wZW46Mi4xwrVzLCBjbG9zZTo3MDZucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('ZPBPCmAKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi90aW1lOjk4NC4zbXMsIG9wZW46Mi4xwrVzLCBjbG9zZTo3MDZucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\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.31s) === NAME TestImportInto === RUN TestImportInto/TestImportMode [2025/04/04 10:36:40.964 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:260, Type:drop schema, State:queueing, SchemaState:public, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:40.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:40.964 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:260, Type:drop schema, State:queueing, SchemaState:public, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:40.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_data;"] [2025/04/04 10:36:40.970 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=260] [conn=2] [job="ID:260, Type:drop schema, State:queueing, SchemaState:public, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:40.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:40.987 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=180] [neededSchemaVersion=181] ["elapsed time"=1.690335ms] [gotSchemaVersion=181] [phyTblIDs="[242]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:40.991 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=260] [version=181] [2025/04/04 10:36:40.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=181] ["take time"=8.385645ms] [job="ID:260, Type:drop schema, State:running, SchemaState:write only, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:40.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:41.001 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=260] [conn=2] [job="ID:260, Type:drop schema, State:running, SchemaState:write only, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:40.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:41.015 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=181] [neededSchemaVersion=182] ["elapsed time"=216.136µs] [gotSchemaVersion=182] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:41.019 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=260] [version=182] [2025/04/04 10:36:41.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=182] ["take time"=8.878288ms] [job="ID:260, Type:drop schema, State:running, SchemaState:delete only, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:40.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:41.029 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=260] [conn=2] [job="ID:260, Type:drop schema, State:running, SchemaState:delete only, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:40.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:41.035 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:36:41.045 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=182] [neededSchemaVersion=183] ["elapsed time"=148.176µs] [gotSchemaVersion=183] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:41.049 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=260] [version=183] [2025/04/04 10:36:41.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=183] ["take time"=7.303351ms] [job="ID:260, Type:drop schema, State:done, SchemaState:none, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:40.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:41.060 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=260] [tableIDs="[242]"] [comment="drop schema: table IDs"] [2025/04/04 10:36:41.064 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=260] [jobType="drop schema"] [2025/04/04 10:36:41.065 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=260] [conn=2] [job="ID:260, Type:drop schema, State:synced, SchemaState:none, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:40.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:41.081 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=260] [2025/04/04 10:36:41.081 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=183] [cur_db=import_into] [sql="DROP DATABASE IF EXISTS load_data;"] [user=root@%] [2025/04/04 10:36:41.094 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:262, Type:create schema, State:queueing, SchemaState:none, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:41.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:41.094 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:262, Type:create schema, State:queueing, SchemaState:none, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:41.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_data;"] [2025/04/04 10:36:41.099 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=262] [conn=2] [job="ID:262, Type:create schema, State:queueing, SchemaState:none, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:41.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:41.111 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=183] [neededSchemaVersion=184] ["elapsed time"=633.889µs] [gotSchemaVersion=184] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:36:41.115 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=262] [version=184] [2025/04/04 10:36:41.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=184] ["take time"=7.611383ms] [job="ID:262, Type:create schema, State:done, SchemaState:public, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:41.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:41.127 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=262] [conn=2] [job="ID:262, Type:create schema, State:synced, SchemaState:public, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:41.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:41.137 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=262] [2025/04/04 10:36:41.137 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=184] [cur_db=import_into] [sql="CREATE DATABASE load_data;"] [user=root@%] [2025/04/04 10:36:41.151 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:41.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:41.151 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:41.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_data.import_mode (a INT, b INT, c int);"] [2025/04/04 10:36:41.156 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=264] [conn=2] [job="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:41.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:41.162 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 263, Table Name: import_mode)"] [2025/04/04 10:36:41.179 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=184] [neededSchemaVersion=185] ["elapsed time"=1.914562ms] [gotSchemaVersion=185] [phyTblIDs="[263]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:41.183 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=264] [version=185] [2025/04/04 10:36:41.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=185] ["take time"=8.727482ms] [job="ID:264, Type:create table, State:done, SchemaState:public, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:41.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:41.195 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=264] [conn=2] [job="ID:264, Type:create table, State:synced, SchemaState:public, SchemaID:261, TableID:263, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:41.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:41.206 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=264] [2025/04/04 10:36:41.207 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=185] [cur_db=import_into] [sql="CREATE TABLE load_data.import_mode (a INT, b INT, c int);"] [user=root@%] [2025/04/04 10:36:41.213 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:41.258 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:36:41.279 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=45] [task-id=45] [data-size=8B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:41.293 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=45] [2025/04/04 10:36:41.293 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:41.396 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:41.397 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:41.398 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=45] [curr-step=init] [next-step=import] [2025/04/04 10:36:41.406 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:41.408 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/04 10:36:41.409 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/04 10:36:41.409 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=38.089µs] [2025/04/04 10:36:41.409 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=132.1µs] [] [2025/04/04 10:36:41.409 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=45] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:41.409 +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=36] [subtasks=1] [2025/04/04 10:36:41.444 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=45] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:41.464 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=45] [step=import] [2025/04/04 10:36:41.464 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:41.472 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:41.472 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:41.472 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:41.472 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:41.473 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:41.473 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:41.473 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:41.473 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:41.473 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:41.473 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:41.485 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:41.487 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:41.487 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=373.5GB] [2025/04/04 10:36:41.487 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=45] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:41.487 +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=36, Mem=16GiB]"] [2025/04/04 10:36:41.487 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=45] [disk-quota=347.8GiB] [2025/04/04 10:36:41.494 +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 10:36:41.494 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=45] [step=import] [subtask-id=86] [2025/04/04 10:36:41.498 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 10:36:41.501 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 10:36:41.502 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=263] [2025/04/04 10:36:41.502 +00:00] [INFO] [import_into_test.go:850] [ToImportMode] [2025/04/04 10:36:41.507 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=45] [2025/04/04 10:36:41.516 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=263] [key=import_mode-1.tsv:0] [2025/04/04 10:36:41.518 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=263] [key=import_mode-1.tsv:0] [readDur=897.504µs] [encodeDur=304.701µs] [checksum="{cksum=15861435141353566364,size=37,kvs=1}"] [deliverDur=214.091µs] [type=file] [takeTime=1.642013ms] [] [2025/04/04 10:36:41.519 +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/49e588ed-557c-4af4-8927-df36a2cc0289.sst] [firstKey=7480000000000001075F728000000000000001] [lastKey=7480000000000001075F728000000000000001] [2025/04/04 10:36:41.519 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=45] [step=import] [engine-id=0] [2025/04/04 10:36:41.519 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=45] [step=import] [engine-id=0] [2025/04/04 10:36:41.519 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 10:36:41.521 +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.813021ms] [] [2025/04/04 10:36:41.521 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [2025/04/04 10:36:41.525 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:41.547 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] ["region ranges"=1] [count=1] [size=37] [2025/04/04 10:36:41.547 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:41.549 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001075f728000000000000001] [endOfAllRanges=7480000000000001075f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff075f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff075f728000000000ff0000020000000000fa] [2025/04/04 10:36:41.560 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 10:36:41.561 +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.299342ms] [] [2025/04/04 10:36:41.561 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 10:36:41.562 +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.064498ms] [] [2025/04/04 10:36:41.563 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=45] [step=import] [engine-id=0] [2025/04/04 10:36:41.563 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 10:36:41.564 +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.367185ms] [] [2025/04/04 10:36:41.564 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [2025/04/04 10:36:41.568 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 10:36:41.568 +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.54238ms] [] [2025/04/04 10:36:41.568 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 10:36:41.569 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=855.71µs] [] [2025/04/04 10:36:41.569 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=45] [step=import] [subtask-id=86] [takeTime=74.359882ms] [] [2025/04/04 10:36:41.569 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [subtaskID=86] [step=import] [takeTime=74.495924ms] [] [2025/04/04 10:36:41.600 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:41.601 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:41.602 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=45] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:41.602 +00:00] [INFO] [import_into_test.go:855] [ToNormalMode] [2025/04/04 10:36:41.617 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=45] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 10:36:41.618 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=45] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:41.619 +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=36] [subtasks=1] [2025/04/04 10:36:41.648 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:41.654 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=45] [step=import] [2025/04/04 10:36:41.657 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:41.657 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:41.657 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:41.657 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:41.657 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:41.657 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:41.657 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:41.657 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:41.657 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:41.657 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:41.657 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:41.657 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-44] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:41.660 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:41.660 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:41.660 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:41.660 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:41.660 +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=36, Mem=16GiB]"] [takeTime=173.081377ms] [] [2025/04/04 10:36:41.661 +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=36, Mem=16GiB]"] [2025/04/04 10:36:41.668 +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 10:36:41.668 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [2025/04/04 10:36:41.668 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [2025/04/04 10:36:41.668 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [2025/04/04 10:36:41.674 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [takeTime=5.124112ms] [] [2025/04/04 10:36:41.674 +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 10:36:41.674 +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 10:36:41.674 +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 10:36:41.674 +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 10:36:41.675 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=263] [physicalTableID=263] [indexID=-1] [checksum=15861435141353566364] [totalKvs=1] [totalBytes=37] [2025/04/04 10:36:41.676 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:41.676 +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 10:36:41.676 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [takeTime=7.350178ms] [] [2025/04/04 10:36:41.676 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [takeTime=7.469332ms] [] [2025/04/04 10:36:41.676 +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=7.593468ms] [] [2025/04/04 10:36:41.695 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:41.700 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:41.700 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=45] [step=post-process] [state=running] [] [2025/04/04 10:36:41.702 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=45] [2025/04/04 10:36:41.719 +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=36, Mem=16GiB]"] [takeTime=57.717452ms] [] [2025/04/04 10:36:41.719 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=45] [type=ImportInto] [2025/04/04 10:36:41.795 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=45] [2025/04/04 10:36:41.800 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:41.800 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=45] [2025/04/04 10:36:41.821 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:41.895 +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.687348771\n# Parse_time: 0.000084321\n# Compile_time: 0.000522862\n# Rewrite_time: 0.000144114\n# Optimize_time: 0.000324664\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Ni41bXMsIG9wZW46NzI5bnMsIGNsb3NlOjc4NG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4Ni41bXMsIG9wZW46NzI5bnMsIGNsb3NlOjc4NG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_data`.`import_mode` FROM 'gs://test-load/import_mode-*.tsv?access-key=xxxxxx&endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F&secret-access-key=xxxxxx';"] [2025/04/04 10:36:41.918 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:266, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:41.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:41.918 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:266, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:41.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 10:36:41.923 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=266] [conn=2] [job="ID:266, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:41.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:41.931 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 265, Table Name: import_mode, Old Table ID: 263, Old Table Name: import_mode)"] [2025/04/04 10:36:41.946 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=185] [neededSchemaVersion=186] ["elapsed time"=1.656768ms] [gotSchemaVersion=186] [phyTblIDs="[263,265]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:36:41.950 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=266] [version=186] [2025/04/04 10:36:41.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=186] ["take time"=8.646233ms] [job="ID:266, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:41.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:41.961 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=266] [tableIDs="[263]"] [comment="truncate table: table ID"] [2025/04/04 10:36:41.966 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=266] [jobType="truncate table"] [2025/04/04 10:36:41.967 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=266] [conn=2] [job="ID:266, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:41.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:41.983 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=266] [2025/04/04 10:36:41.983 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=186] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/04 10:36:41.989 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:42.035 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:36:42.054 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=46] [task-id=46] [data-size=8B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:42.068 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=46] [2025/04/04 10:36:42.068 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:42.170 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:42.172 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:42.173 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=46] [curr-step=init] [next-step=import] [2025/04/04 10:36:42.180 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:42.183 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/04 10:36:42.183 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/04 10:36:42.183 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=60.723µs] [2025/04/04 10:36:42.183 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=164.194µs] [] [2025/04/04 10:36:42.183 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=46] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:42.183 +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=36] [subtasks=1] [2025/04/04 10:36:42.216 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=46] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:42.239 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=46] [step=import] [2025/04/04 10:36:42.239 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:42.246 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:42.246 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:42.247 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:42.247 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:42.247 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:42.247 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:42.247 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:42.247 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:42.247 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:42.248 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:42.260 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:42.261 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:42.261 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=373.5GB] [2025/04/04 10:36:42.261 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=46] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:42.261 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=46] [disk-quota=347.8GiB] [2025/04/04 10:36:42.261 +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=36, Mem=16GiB]"] [2025/04/04 10:36:42.269 +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 10:36:42.269 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=46] [step=import] [subtask-id=88] [2025/04/04 10:36:42.273 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 10:36:42.276 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 10:36:42.277 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=265] [2025/04/04 10:36:42.277 +00:00] [INFO] [import_into_test.go:850] [ToImportMode] [2025/04/04 10:36:42.283 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=46] [2025/04/04 10:36:42.290 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=265] [key=import_mode-1.tsv:0] [2025/04/04 10:36:42.292 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=265] [key=import_mode-1.tsv:0] [readDur=854.71µs] [encodeDur=304.439µs] [checksum="{cksum=14356619400929386623,size=37,kvs=1}"] [deliverDur=211.482µs] [type=file] [takeTime=1.603767ms] [] [2025/04/04 10:36:42.292 +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/ac7a9b72-e5c0-4b8a-a98c-026a9628cc9d.sst] [firstKey=7480000000000001095F728000000000000001] [lastKey=7480000000000001095F728000000000000001] [2025/04/04 10:36:42.292 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=46] [step=import] [engine-id=0] [2025/04/04 10:36:42.292 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=46] [step=import] [engine-id=0] [2025/04/04 10:36:42.293 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 10:36:42.295 +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.978381ms] [] [2025/04/04 10:36:42.295 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [2025/04/04 10:36:42.299 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:42.321 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] ["region ranges"=1] [count=1] [size=37] [2025/04/04 10:36:42.321 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:42.323 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001095f728000000000000001] [endOfAllRanges=7480000000000001095f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff095f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff095f728000000000ff0000020000000000fa] [2025/04/04 10:36:42.334 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 10:36:42.336 +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.960496ms] [] [2025/04/04 10:36:42.336 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 10:36:42.337 +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.292452ms] [] [2025/04/04 10:36:42.337 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=46] [step=import] [engine-id=0] [2025/04/04 10:36:42.337 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 10:36:42.339 +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.0297ms] [] [2025/04/04 10:36:42.339 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [2025/04/04 10:36:42.344 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 10:36:42.344 +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.438204ms] [] [2025/04/04 10:36:42.344 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 10:36:42.345 +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.109439ms] [] [2025/04/04 10:36:42.345 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=46] [step=import] [subtask-id=88] [takeTime=75.987245ms] [] [2025/04/04 10:36:42.345 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [subtaskID=88] [step=import] [takeTime=76.150069ms] [] [2025/04/04 10:36:42.377 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:42.378 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:42.379 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=46] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:42.379 +00:00] [INFO] [import_into_test.go:855] [ToNormalMode] [2025/04/04 10:36:42.394 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=46] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 10:36:42.396 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=46] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:42.396 +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=36] [subtasks=1] [2025/04/04 10:36:42.430 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:42.438 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=46] [step=import] [2025/04/04 10:36:42.441 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:42.441 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:42.441 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:42.441 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:42.441 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:42.441 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:42.441 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:42.441 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:42.441 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:42.441 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:42.441 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:42.441 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-45] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:42.443 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:42.443 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:42.443 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:42.443 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:42.443 +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=36, Mem=16GiB]"] [takeTime=182.059048ms] [] [2025/04/04 10:36:42.445 +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=36, Mem=16GiB]"] [2025/04/04 10:36:42.452 +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 10:36:42.452 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [2025/04/04 10:36:47.453 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [2025/04/04 10:36:47.453 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [2025/04/04 10:36:47.459 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [takeTime=6.452297ms] [] [2025/04/04 10:36:47.459 +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 10:36:47.459 +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 10:36:47.459 +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 10:36:47.459 +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 10:36:47.462 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=265] [physicalTableID=265] [indexID=-1] [checksum=14356619400929386623] [totalKvs=1] [totalBytes=37] [2025/04/04 10:36:47.462 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:47.462 +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 10:36:47.462 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [takeTime=9.272449ms] [] [2025/04/04 10:36:47.462 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [takeTime=5.00964555s] [] [2025/04/04 10:36:47.462 +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.009779312s] [] [2025/04/04 10:36:47.471 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:47.476 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:47.476 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=46] [step=post-process] [state=running] [] [2025/04/04 10:36:47.478 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=46] [2025/04/04 10:36:47.509 +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=36, Mem=16GiB]"] [takeTime=5.064031076s] [] [2025/04/04 10:36:47.509 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=46] [type=ImportInto] [2025/04/04 10:36:47.570 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=46] [2025/04/04 10:36:47.577 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:47.577 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=46] [2025/04/04 10:36:47.599 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:47.770 +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.78632847\n# Parse_time: 0.000069663\n# Compile_time: 0.000522741\n# Rewrite_time: 0.000163041\n# Optimize_time: 0.000262264\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjUuNzlzLCBvcGVuOjg0Nm5zLCBjbG9zZTo2NzFucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjUuNzlzLCBvcGVuOjg0Nm5zLCBjbG9zZTo2NzFucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_data`.`import_mode` FROM 'gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F';"] [2025/04/04 10:36:47.785 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:268, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:47.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:47.785 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:268, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:47.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 10:36:47.791 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=268] [conn=2] [job="ID:268, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:265, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:47.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:47.798 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 267, Table Name: import_mode, Old Table ID: 265, Old Table Name: import_mode)"] [2025/04/04 10:36:47.815 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=186] [neededSchemaVersion=187] ["elapsed time"=1.881309ms] [gotSchemaVersion=187] [phyTblIDs="[265,267]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:36:47.818 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=268] [version=187] [2025/04/04 10:36:47.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=187] ["take time"=9.09399ms] [job="ID:268, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:47.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:47.831 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=268] [tableIDs="[265]"] [comment="truncate table: table ID"] [2025/04/04 10:36:47.835 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=268] [jobType="truncate table"] [2025/04/04 10:36:47.836 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=268] [conn=2] [job="ID:268, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:47.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:47.852 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=268] [2025/04/04 10:36:47.853 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=187] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/04 10:36:47.864 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:270, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:267, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:47.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:47.864 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:270, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:267, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:47.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 10:36:47.869 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=270] [conn=2] [job="ID:270, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:267, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:47.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:47.876 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 269, Table Name: import_mode, Old Table ID: 267, Old Table Name: import_mode)"] [2025/04/04 10:36:47.891 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=187] [neededSchemaVersion=188] ["elapsed time"=1.844494ms] [gotSchemaVersion=188] [phyTblIDs="[267,269]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:36:47.895 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=270] [version=188] [2025/04/04 10:36: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=188] ["take time"=8.822169ms] [job="ID:270, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:267, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:47.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:47.907 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=270] [tableIDs="[267]"] [comment="truncate table: table ID"] [2025/04/04 10:36:47.912 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=270] [jobType="truncate table"] [2025/04/04 10:36:47.913 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=270] [conn=2] [job="ID:270, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:267, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:47.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:47.930 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=270] [2025/04/04 10:36:47.930 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=188] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/04 10:36:47.936 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:47.983 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\",\"options\":{\"disable_tikv_import_mode\":null}}"] [dist-task-enabled=true] [2025/04/04 10:36:48.003 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=47] [task-id=47] [data-size=8B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:48.018 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=47] [2025/04/04 10:36:48.018 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:48.120 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:48.121 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:48.122 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=47] [curr-step=init] [next-step=import] [2025/04/04 10:36:48.130 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:48.133 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/04 10:36:48.133 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/04 10:36:48.133 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=57.072µs] [2025/04/04 10:36:48.133 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=219.789µs] [] [2025/04/04 10:36:48.133 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=47] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:48.133 +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=36] [subtasks=1] [2025/04/04 10:36:48.166 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=47] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:48.187 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=47] [step=import] [2025/04/04 10:36:48.187 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:48.194 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:48.194 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:48.195 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:48.195 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:48.195 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:48.195 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:48.195 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:48.195 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:48.196 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:48.196 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:48.208 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:48.210 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:48.210 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=373.5GB] [2025/04/04 10:36:48.210 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=47] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:48.210 +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=36, Mem=16GiB]"] [2025/04/04 10:36:48.210 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=47] [disk-quota=347.8GiB] [2025/04/04 10:36:48.218 +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 10:36:48.218 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=47] [step=import] [subtask-id=90] [2025/04/04 10:36:48.221 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 10:36:48.225 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 10:36:48.225 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=269] [2025/04/04 10:36:48.232 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=47] [2025/04/04 10:36:48.260 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=269] [key=import_mode-1.tsv:0] [2025/04/04 10:36:48.262 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=269] [key=import_mode-1.tsv:0] [readDur=950.294µs] [encodeDur=302.53µs] [checksum="{cksum=14782680275667121893,size=37,kvs=1}"] [deliverDur=232.431µs] [type=file] [takeTime=2.070708ms] [] [2025/04/04 10:36:48.263 +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/faccbf1d-1676-4e86-a70a-b53ae520d975.sst] [firstKey=74800000000000010D5F728000000000000001] [lastKey=74800000000000010D5F728000000000000001] [2025/04/04 10:36:48.263 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=47] [step=import] [engine-id=0] [2025/04/04 10:36:48.263 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=47] [step=import] [engine-id=0] [2025/04/04 10:36:48.263 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 10:36:48.265 +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.13667ms] [] [2025/04/04 10:36:48.265 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [2025/04/04 10:36:48.270 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:48.292 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] ["region ranges"=1] [count=1] [size=37] [2025/04/04 10:36:48.292 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:48.294 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000010d5f728000000000000001] [endOfAllRanges=74800000000000010d5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff0d5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff0d5f728000000000ff0000020000000000fa] [2025/04/04 10:36:48.305 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 10:36:48.307 +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.163568ms] [] [2025/04/04 10:36:48.307 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 10:36:48.308 +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.122695ms] [] [2025/04/04 10:36:48.308 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=47] [step=import] [engine-id=0] [2025/04/04 10:36:48.308 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 10:36:48.309 +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.410669ms] [] [2025/04/04 10:36:48.310 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [2025/04/04 10:36:48.313 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 10:36:48.313 +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.693273ms] [] [2025/04/04 10:36:48.313 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 10:36:48.314 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=908.586µs] [] [2025/04/04 10:36:48.314 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=47] [step=import] [subtask-id=90] [takeTime=96.74133ms] [] [2025/04/04 10:36:48.314 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [subtaskID=90] [step=import] [takeTime=96.87461ms] [] [2025/04/04 10:36:48.326 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:48.327 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:48.328 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=47] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:48.345 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=47] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 10:36:48.347 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=47] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:48.347 +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=36] [subtasks=1] [2025/04/04 10:36:48.378 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:48.384 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=47] [step=import] [2025/04/04 10:36:48.387 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:48.387 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:48.387 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:48.387 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:48.387 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:48.387 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:48.387 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:48.387 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:48.387 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:48.387 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-46] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:48.387 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:48.387 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:48.390 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:48.390 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:48.390 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:48.390 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:48.390 +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=36, Mem=16GiB]"] [takeTime=179.480772ms] [] [2025/04/04 10:36:48.391 +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=36, Mem=16GiB]"] [2025/04/04 10:36:48.398 +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 10:36:48.398 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [2025/04/04 10:36:48.399 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [2025/04/04 10:36:48.399 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [2025/04/04 10:36:48.404 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [takeTime=5.443514ms] [] [2025/04/04 10:36:48.404 +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 10:36:48.404 +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 10:36:48.404 +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 10:36:48.404 +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 10:36:48.406 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=269] [physicalTableID=269] [indexID=-1] [checksum=14782680275667121893] [totalKvs=1] [totalBytes=37] [2025/04/04 10:36:48.406 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:48.406 +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 10:36:48.406 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [takeTime=7.744124ms] [] [2025/04/04 10:36:48.406 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [takeTime=7.895647ms] [] [2025/04/04 10:36:48.406 +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.026575ms] [] [2025/04/04 10:36:48.423 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:48.425 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:48.425 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=47] [step=post-process] [state=running] [] [2025/04/04 10:36:48.427 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=47] [2025/04/04 10:36:48.451 +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=36, Mem=16GiB]"] [takeTime=59.681344ms] [] [2025/04/04 10:36:48.451 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=47] [type=ImportInto] [2025/04/04 10:36:48.520 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=47] [2025/04/04 10:36:48.525 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:48.525 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=47] [2025/04/04 10:36:48.547 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:48.619 +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.688156537\n# Parse_time: 0.000113809\n# Compile_time: 0.000527916\n# Rewrite_time: 0.000156798\n# Optimize_time: 0.00026007\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Ny4ybXMsIG9wZW46Njg2bnMsIGNsb3NlOjczM25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4Ny4ybXMsIG9wZW46Njg2bnMsIGNsb3NlOjczM25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_data`.`import_mode` FROM 'gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F' WITH disable_tikv_import_mode;"] [2025/04/04 10:36:48.635 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:272, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:48.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:48.635 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:272, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:48.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 10:36:48.640 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=272] [conn=2] [job="ID:272, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:48.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:48.652 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 271, Table Name: import_mode, Old Table ID: 269, Old Table Name: import_mode)"] [2025/04/04 10:36:48.669 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=188] [neededSchemaVersion=189] ["elapsed time"=1.755098ms] [gotSchemaVersion=189] [phyTblIDs="[269,271]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:36:48.673 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=272] [version=189] [2025/04/04 10:36:48.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=189] ["take time"=9.233936ms] [job="ID:272, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:48.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:48.685 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=272] [tableIDs="[269]"] [comment="truncate table: table ID"] [2025/04/04 10:36:48.689 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=272] [jobType="truncate table"] [2025/04/04 10:36:48.690 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=272] [conn=2] [job="ID:272, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:48.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:48.707 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=272] [2025/04/04 10:36:48.707 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=189] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/04 10:36:48.719 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:274, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:271, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:48.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:48.719 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:274, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:271, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:48.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 10:36:48.724 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=274] [conn=2] [job="ID:274, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:271, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:48.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:48.732 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 273, Table Name: import_mode, Old Table ID: 271, Old Table Name: import_mode)"] [2025/04/04 10:36:48.748 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=189] [neededSchemaVersion=190] ["elapsed time"=1.906278ms] [gotSchemaVersion=190] [phyTblIDs="[271,273]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:36:48.751 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=274] [version=190] [2025/04/04 10:36:48.753 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=190] ["take time"=9.01005ms] [job="ID:274, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:271, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:48.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:48.764 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=274] [tableIDs="[271]"] [comment="truncate table: table ID"] [2025/04/04 10:36:48.768 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=274] [jobType="truncate table"] [2025/04/04 10:36:48.769 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=274] [conn=2] [job="ID:274, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:271, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:48.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:48.787 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=274] [2025/04/04 10:36:48.787 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=190] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/04 10:36:48.793 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:48.809 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:36:48.827 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=48] [task-id=48] [data-size=8B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:48.842 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=48] [2025/04/04 10:36:48.843 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:48.945 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:48.946 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:48.947 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=48] [curr-step=init] [next-step=import] [2025/04/04 10:36:48.955 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:48.958 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/04 10:36:48.958 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/04 10:36:48.958 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=48.169µs] [2025/04/04 10:36:48.958 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=157.658µs] [] [2025/04/04 10:36:48.958 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=48] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:48.958 +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=36] [subtasks=1] [2025/04/04 10:36:48.996 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=48] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:49.017 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=48] [step=import] [2025/04/04 10:36:49.017 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:49.025 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:49.025 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:49.026 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:49.026 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:49.026 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:49.026 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:49.026 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:49.026 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:49.027 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:49.027 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:49.040 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:49.041 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:49.042 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=373.5GB] [2025/04/04 10:36:49.042 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=48] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:49.042 +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=36, Mem=16GiB]"] [2025/04/04 10:36:49.042 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=48] [disk-quota=347.8GiB] [2025/04/04 10:36:49.049 +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 10:36:49.049 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=48] [step=import] [subtask-id=92] [2025/04/04 10:36:49.053 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 10:36:49.057 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 10:36:49.057 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=273] [2025/04/04 10:36:49.058 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=48] [2025/04/04 10:36:49.095 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=273] [key=import_mode-1.tsv:0] [2025/04/04 10:36:49.097 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=273] [key=import_mode-1.tsv:0] [readDur=909.677µs] [encodeDur=204.468µs] [checksum="{cksum=18113774150194779939,size=37,kvs=1}"] [deliverDur=236.266µs] [type=file] [takeTime=1.671853ms] [] [2025/04/04 10:36:49.097 +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/94c8cb95-b259-455d-b24b-af426653a09b.sst] [firstKey=7480000000000001115F728000000000000001] [lastKey=7480000000000001115F728000000000000001] [2025/04/04 10:36:49.097 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=48] [step=import] [engine-id=0] [2025/04/04 10:36:49.097 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=48] [step=import] [engine-id=0] [2025/04/04 10:36:49.097 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 10:36:49.100 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:36:49.100 +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.491592ms] [] [2025/04/04 10:36:49.100 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [2025/04/04 10:36:49.101 +00:00] [INFO] [cache.go:406] ["GC compact old schema version"] ["current version"=190] ["oldest version"=1] [deleted=0] [total=931] [takes=389.435µs] [2025/04/04 10:36:49.105 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:49.127 +00:00] [INFO] [local.go:1354] ["switch import mode of ranges"] [category=ddl-ingest] [startKey=7480000000000001115f728000000000000001] [endKey=7480000000000001115f728000000000000002] [2025/04/04 10:36:49.127 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] ["region ranges"=1] [count=1] [size=37] [2025/04/04 10:36:49.127 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [category=ddl-ingest] [mode=Import] [2025/04/04 10:36:49.127 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:49.129 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001115f728000000000000001] [endOfAllRanges=7480000000000001115f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff115f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff115f728000000000ff0000020000000000fa] [2025/04/04 10:36:49.149 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 10:36:49.149 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [category=ddl-ingest] [mode=Normal] [2025/04/04 10:36:49.165 +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=64.358854ms] [] [2025/04/04 10:36:49.165 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 10:36:49.166 +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.147412ms] [] [2025/04/04 10:36:49.166 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=48] [step=import] [engine-id=0] [2025/04/04 10:36:49.166 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 10:36:49.167 +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.341712ms] [] [2025/04/04 10:36:49.167 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [2025/04/04 10:36:49.171 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 10:36:49.171 +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.545686ms] [] [2025/04/04 10:36:49.171 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 10:36:49.172 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=898.994µs] [] [2025/04/04 10:36:49.172 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=48] [step=import] [subtask-id=92] [takeTime=122.695261ms] [] [2025/04/04 10:36:49.172 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [subtaskID=92] [step=import] [takeTime=122.909855ms] [] [2025/04/04 10:36:49.249 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:49.250 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:49.252 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=48] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:49.270 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=48] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 10:36:49.272 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=48] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:49.272 +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=36] [subtasks=1] [2025/04/04 10:36:49.291 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:49.297 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=48] [step=import] [2025/04/04 10:36:49.300 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:49.300 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:49.300 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:49.300 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:49.300 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:49.300 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:49.300 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:49.300 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:49.301 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:49.300 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-47] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:49.301 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:49.301 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:49.303 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:49.303 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:49.303 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:49.303 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:49.303 +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=36, Mem=16GiB]"] [takeTime=261.214423ms] [] [2025/04/04 10:36:49.304 +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=36, Mem=16GiB]"] [2025/04/04 10:36:49.312 +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 10:36:49.312 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [2025/04/04 10:36:49.312 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [2025/04/04 10:36:49.312 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [2025/04/04 10:36:49.317 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [takeTime=5.299827ms] [] [2025/04/04 10:36:49.317 +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 10:36:49.317 +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 10:36:49.317 +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 10:36:49.317 +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 10:36:49.325 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=273] [physicalTableID=273] [indexID=-1] [checksum=18113774150194779939] [totalKvs=1] [totalBytes=37] [2025/04/04 10:36:49.325 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:49.325 +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 10:36:49.325 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [takeTime=13.482015ms] [] [2025/04/04 10:36:49.325 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [takeTime=13.617245ms] [] [2025/04/04 10:36:49.325 +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=13.747894ms] [] [2025/04/04 10:36:49.344 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:49.350 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:49.350 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=48] [step=post-process] [state=running] [] [2025/04/04 10:36:49.353 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=48] [2025/04/04 10:36:49.370 +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=36, Mem=16GiB]"] [takeTime=65.292398ms] [] [2025/04/04 10:36:49.370 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=48] [type=ImportInto] [2025/04/04 10:36:49.443 +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.655414713\n# Parse_time: 0.000106751\n# Compile_time: 0.000798067\n# Rewrite_time: 0.000234405\n# Optimize_time: 0.000246596\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY1NC4ybXMsIG9wZW46NjkybnMsIGNsb3NlOjczNG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY1NC4ybXMsIG9wZW46NjkybnMsIGNsb3NlOjczNG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_data`.`import_mode` FROM 'gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F';"] [2025/04/04 10:36:49.444 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=48] [2025/04/04 10:36:49.450 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:49.450 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=48] [2025/04/04 10:36:49.459 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:276, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:273, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:49.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:49.459 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:276, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:273, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:49.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 10:36:49.465 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=276] [conn=2] [job="ID:276, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:273, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:49.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:49.474 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 275, Table Name: import_mode, Old Table ID: 273, Old Table Name: import_mode)"] [2025/04/04 10:36:49.475 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:49.490 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=190] [neededSchemaVersion=191] ["elapsed time"=1.907953ms] [gotSchemaVersion=191] [phyTblIDs="[273,275]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:36:49.494 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=276] [version=191] [2025/04/04 10:36:49.496 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=191] ["take time"=10.001746ms] [job="ID:276, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:273, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:49.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:49.506 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=276] [tableIDs="[273]"] [comment="truncate table: table ID"] [2025/04/04 10:36:49.510 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=276] [jobType="truncate table"] [2025/04/04 10:36:49.511 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=276] [conn=2] [job="ID:276, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:273, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:49.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:49.527 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=276] [2025/04/04 10:36:49.527 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=191] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/04 10:36:49.533 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:49.579 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:36:49.598 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=49] [task-id=49] [data-size=8B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:49.612 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=49] [2025/04/04 10:36:49.612 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=49] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:49.715 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=49] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:49.716 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=49] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:49.717 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=49] [curr-step=init] [next-step=import] [2025/04/04 10:36:49.725 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:49.727 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/04 10:36:49.727 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/04 10:36:49.727 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=41.342µs] [2025/04/04 10:36:49.727 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=132.118µs] [] [2025/04/04 10:36:49.727 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=49] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:49.727 +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=36] [subtasks=1] [2025/04/04 10:36:49.766 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=49] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:49.786 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=49] [step=import] [2025/04/04 10:36:49.786 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:49.794 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:49.794 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:49.795 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:49.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 10:36:49.795 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:49.795 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:49.795 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:49.795 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:49.796 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:49.796 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:49.809 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:49.811 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:49.811 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=373.5GB] [2025/04/04 10:36:49.811 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=49] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:49.811 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=49] [disk-quota=347.8GiB] [2025/04/04 10:36:49.811 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=49] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=36, Mem=16GiB]"] [2025/04/04 10:36:49.819 +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 10:36:49.819 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=49] [step=import] [subtask-id=94] [2025/04/04 10:36:49.822 +00:00] [INFO] [import_into_test.go:850] [ToImportMode] [2025/04/04 10:36:49.823 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 10:36:49.827 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 10:36:49.828 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=275] [2025/04/04 10:36:49.828 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=49] [2025/04/04 10:36:51.801 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:36:52.828 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=49] [step=import] [subtask-id=94] [takeTime=3.009029501s] [error="occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:36:52.828 +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.009387752s] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:52.828 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=49] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:52.836 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=49] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:36:52.924 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=49] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]occur an error when sort chunk\\\"}\"]"] [2025/04/04 10:36:52.942 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=49] [step=import] [2025/04/04 10:36:52.947 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:52.947 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:52.947 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:52.947 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:52.947 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:52.947 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:52.947 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:52.947 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:52.947 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-48] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:52.947 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:52.947 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:52.947 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:52.950 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:52.950 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:52.950 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:52.950 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:52.950 +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=36, Mem=16GiB]"] [takeTime=3.138482801s] [] [2025/04/04 10:36:52.950 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=49] [type=ImportInto] [2025/04/04 10:36:53.021 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=49] [step=import] [state=reverting] [error="[0]occur an error when sort chunk"] [2025/04/04 10:36:53.022 +00:00] [INFO] [import_into_test.go:855] [ToNormalMode] [2025/04/04 10:36:53.024 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=49] [2025/04/04 10:36:53.115 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=49] [2025/04/04 10:36:53.122 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:53.122 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=49] [2025/04/04 10:36:53.145 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:53.214 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=49] [error="[0]occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestImportMode\n\ttests/realtikvtest/importintotest/import_into_test.go:937\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 10:36:53.215 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 3.686465498\n# Parse_time: 0.00010276\n# Compile_time: 0.000615714\n# Rewrite_time: 0.000149381\n# Optimize_time: 0.00027041\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('RfBEMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjMuNjlzLCBvcGVuOjczNW5zLCBjbG9zZToxwrVzLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('XvBJCloKDEltcG9ydEludG9fMjgBQAFSA04vQVordGltZTozLjY5cywgb3Blbjo3MzVucywgY2xvc2U6McK1cywgbG9vcHM6MXD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\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.27s) === NAME TestImportInto === RUN TestImportInto/TestInputCountMisMatchAndDefault [2025/04/04 10:36:53.239 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:277, Type:drop schema, State:queueing, SchemaState:public, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:53.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 10:36:53.239 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:277, Type:drop schema, State:queueing, SchemaState:public, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:53.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:53.245 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:drop schema, State:queueing, SchemaState:public, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:53.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:53.264 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=191] [neededSchemaVersion=192] ["elapsed time"=1.826739ms] [gotSchemaVersion=192] [phyTblIDs="[275]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:53.268 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=192] [2025/04/04 10:36:53.270 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=192] ["take time"=9.555255ms] [job="ID:277, Type:drop schema, State:running, SchemaState:write only, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:53.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:53.279 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:drop schema, State:running, SchemaState:write only, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:53.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:53.291 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=192] [neededSchemaVersion=193] ["elapsed time"=133.034µs] [gotSchemaVersion=193] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:53.295 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=193] [2025/04/04 10:36:53.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=193] ["take time"=6.993624ms] [job="ID:277, Type:drop schema, State:running, SchemaState:delete only, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:53.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:53.305 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:drop schema, State:running, SchemaState:delete only, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:53.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:53.311 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:36:53.321 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=193] [neededSchemaVersion=194] ["elapsed time"=137.437µs] [gotSchemaVersion=194] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:53.325 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=194] [2025/04/04 10:36:53.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=194] ["take time"=7.091617ms] [job="ID:277, Type:drop schema, State:done, SchemaState:none, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:53.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:53.335 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=277] [tableIDs="[275]"] [comment="drop schema: table IDs"] [2025/04/04 10:36:53.340 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=277] [jobType="drop schema"] [2025/04/04 10:36:53.340 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:drop schema, State:synced, SchemaState:none, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:53.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:53.356 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=277] [2025/04/04 10:36:53.357 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=194] [cur_db=import_into] [sql="drop database if exists load_data"] [user=root@%] [2025/04/04 10:36:53.376 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:279, Type:create schema, State:queueing, SchemaState:none, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:53.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 10:36:53.376 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:279, Type:create schema, State:queueing, SchemaState:none, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:53.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:53.382 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=279] [conn=2] [job="ID:279, Type:create schema, State:queueing, SchemaState:none, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:53.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:53.396 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=194] [neededSchemaVersion=195] ["elapsed time"=669.364µs] [gotSchemaVersion=195] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:36:53.400 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=279] [version=195] [2025/04/04 10:36:53.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=195] ["take time"=7.797301ms] [job="ID:279, Type:create schema, State:done, SchemaState:public, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:53.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:53.413 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=279] [conn=2] [job="ID:279, Type:create schema, State:synced, SchemaState:public, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:53.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:53.423 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=279] [2025/04/04 10:36:53.424 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=195] [cur_db=import_into] [sql="create database load_data"] [user=root@%] [2025/04/04 10:36:53.426 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=195] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 10:36:53.441 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:281, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:53.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:36:53.441 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:281, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:53.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:53.447 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=281] [conn=2] [job="ID:281, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:280, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:53.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:53.452 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 280, Table Name: t)"] [2025/04/04 10:36:53.470 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=195] [neededSchemaVersion=196] ["elapsed time"=2.034249ms] [gotSchemaVersion=196] [phyTblIDs="[280]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:53.474 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=196] [2025/04/04 10:36:53.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=196] ["take time"=10.466474ms] [job="ID:281, Type:create table, State:done, SchemaState:public, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:53.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:53.489 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=281] [conn=2] [job="ID:281, Type:create table, State:synced, SchemaState:public, SchemaID:278, TableID:280, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:53.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:53.500 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=281] [2025/04/04 10:36:53.501 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=196] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/04 10:36:53.507 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:53.557 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:36:53.576 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=50] [task-id=50] [data-size=24B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:53.591 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=50] [2025/04/04 10:36:53.591 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:53.694 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:53.695 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:53.696 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=50] [curr-step=init] [next-step=import] [2025/04/04 10:36:53.704 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:53.707 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:53.707 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=24] [2025/04/04 10:36:53.707 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=24] [cost=41.517µs] [2025/04/04 10:36:53.707 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=135.403µs] [] [2025/04/04 10:36:53.707 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=50] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:53.707 +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=36] [subtasks=1] [2025/04/04 10:36:53.745 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=50] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:53.765 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=50] [step=import] [2025/04/04 10:36:53.766 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:53.774 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:53.774 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:53.775 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:53.775 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:53.775 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:53.775 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:53.775 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:53.775 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:53.776 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:53.776 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:53.789 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:53.791 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:53.791 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:53.791 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=50] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:53.791 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=50] [disk-quota=347.8GiB] [2025/04/04 10:36:53.791 +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=36, Mem=16GiB]"] [2025/04/04 10:36:53.800 +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 10:36:53.800 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=50] [step=import] [subtask-id=95] [2025/04/04 10:36:53.800 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=50] [mode=Import] [2025/04/04 10:36:53.804 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:53.808 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:53.808 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=280] [2025/04/04 10:36:53.819 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=50] [2025/04/04 10:36:53.846 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=280] [key=input-cnt-mismatch.csv:0] [2025/04/04 10:36:53.848 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=280] [key=input-cnt-mismatch.csv:0] [readDur=1.118932ms] [encodeDur=254.071µs] [checksum="{cksum=4834883050368624781,size=78,kvs=2}"] [deliverDur=242.956µs] [type=file] [takeTime=1.89908ms] [] [2025/04/04 10:36:53.849 +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/0af69960-a635-4d91-a14a-1d563872f5be.sst] [firstKey=7480000000000001185F728000000000000001] [lastKey=7480000000000001185F728000000000000002] [2025/04/04 10:36:53.849 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=50] [step=import] [engine-id=0] [2025/04/04 10:36:53.849 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=50] [step=import] [engine-id=0] [2025/04/04 10:36:53.849 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:53.851 +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.082001ms] [] [2025/04/04 10:36:53.851 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 10:36:53.855 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:53.877 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=78] [2025/04/04 10:36:53.877 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:53.879 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001185f728000000000000001] [endOfAllRanges=7480000000000001185f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff185f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff185f728000000000ff0000030000000000fa] [2025/04/04 10:36:53.890 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=78] [kvs=2] [importedSize=78] [importedCount=2] [2025/04/04 10:36:53.892 +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.367509ms] [] [2025/04/04 10:36:53.892 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:53.893 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.02073ms] [] [2025/04/04 10:36:53.893 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=50] [step=import] [engine-id=0] [2025/04/04 10:36:53.893 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:53.894 +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.484716ms] [] [2025/04/04 10:36:53.894 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 10:36:53.898 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:53.898 +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.545018ms] [] [2025/04/04 10:36:53.898 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:53.899 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=893.564µs] [] [2025/04/04 10:36:53.899 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=50] [step=import] [subtask-id=95] [takeTime=99.033441ms] [] [2025/04/04 10:36:53.899 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [subtaskID=95] [step=import] [takeTime=99.196829ms] [] [2025/04/04 10:36:53.999 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:54.000 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:54.001 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=50] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:54.001 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=50] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:54.031 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=50] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:36:54.032 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=50] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:54.032 +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=36] [subtasks=1] [2025/04/04 10:36:54.043 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:36:54.043 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=50] [step=import] [2025/04/04 10:36:54.046 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:54.046 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:54.046 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:54.046 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:54.046 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:54.046 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:54.046 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:54.046 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:54.046 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-49] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:54.046 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:54.046 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:54.046 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:54.048 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:54.048 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:54.048 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:54.048 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:54.048 +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=36, Mem=16GiB]"] [takeTime=256.939559ms] [] [2025/04/04 10:36:54.048 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=50] [type=ImportInto] [2025/04/04 10:36:54.066 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=50] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:54.086 +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=36, Mem=16GiB]"] [2025/04/04 10:36:54.093 +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 10:36:54.094 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [2025/04/04 10:36:54.094 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [2025/04/04 10:36:54.094 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [2025/04/04 10:36:54.100 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [takeTime=5.743541ms] [] [2025/04/04 10:36:54.100 +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 10:36:54.100 +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 10:36:54.100 +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 10:36:54.100 +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 10:36:54.102 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=280] [physicalTableID=280] [indexID=-1] [checksum=4834883050368624781] [totalKvs=2] [totalBytes=78] [2025/04/04 10:36:54.102 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:54.102 +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 10:36:54.102 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [takeTime=8.680653ms] [] [2025/04/04 10:36:54.102 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [takeTime=8.821303ms] [] [2025/04/04 10:36:54.103 +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.947243ms] [] [2025/04/04 10:36:54.111 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:54.199 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:54.199 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=50] [step=post-process] [state=running] [] [2025/04/04 10:36:54.202 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=50] [2025/04/04 10:36:54.226 +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=36, Mem=16GiB]"] [takeTime=139.460987ms] [] [2025/04/04 10:36:54.226 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=50] [type=ImportInto] [2025/04/04 10:36:54.294 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=50] [2025/04/04 10:36:54.300 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:54.300 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=50] [2025/04/04 10:36:54.324 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:54.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.99264645\n# Parse_time: 0.000065986\n# Compile_time: 0.000548224\n# Rewrite_time: 0.000173035\n# Optimize_time: 0.00027041\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MS44bXMsIG9wZW46NzgxbnMsIGNsb3NlOjc4Nm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5MS44bXMsIG9wZW46NzgxbnMsIGNsb3NlOjc4Nm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 10:36:54.509 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:282, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:54.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:54.509 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:282, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:54.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:36:54.514 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=282] [conn=2] [job="ID:282, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:280, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:54.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:54.530 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=196] [neededSchemaVersion=197] ["elapsed time"=2.510821ms] [gotSchemaVersion=197] [phyTblIDs="[280]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:54.534 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=282] [version=197] [2025/04/04 10:36:54.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=197] ["take time"=9.613781ms] [job="ID:282, Type:drop table, State:running, SchemaState:write only, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:54.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:54.545 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=282] [conn=2] [job="ID:282, Type:drop table, State:running, SchemaState:write only, SchemaID:278, TableID:280, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:54.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:54.562 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=197] [neededSchemaVersion=198] ["elapsed time"=2.346153ms] [gotSchemaVersion=198] [phyTblIDs="[280]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:54.565 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=282] [version=198] [2025/04/04 10:36:54.567 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=198] ["take time"=10.010031ms] [job="ID:282, Type:drop table, State:running, SchemaState:delete only, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:54.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:54.575 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=282] [conn=2] [job="ID:282, Type:drop table, State:running, SchemaState:delete only, SchemaID:278, TableID:280, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:54.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:54.582 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 280, Old Table Name: t)"] [2025/04/04 10:36:54.596 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=198] [neededSchemaVersion=199] ["elapsed time"=1.270625ms] [gotSchemaVersion=199] [phyTblIDs="[280]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:54.599 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=282] [version=199] [2025/04/04 10:36:54.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=199] ["take time"=8.481032ms] [job="ID:282, Type:drop table, State:done, SchemaState:none, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:54.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:54.610 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=282] [tableIDs="[280]"] [comment="drop table: table ID"] [2025/04/04 10:36:54.614 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=282] [jobType="drop table"] [2025/04/04 10:36:54.616 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=282] [conn=2] [job="ID:282, Type:drop table, State:synced, SchemaState:none, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:54.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:54.635 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=282] [2025/04/04 10:36:54.635 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=199] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 10:36:54.648 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:284, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:54.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:54.648 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:284, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:54.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int default 100);"] [2025/04/04 10:36:54.654 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=284] [conn=2] [job="ID:284, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:54.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:54.659 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 283, Table Name: t)"] [2025/04/04 10:36:54.676 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=199] [neededSchemaVersion=200] ["elapsed time"=1.861482ms] [gotSchemaVersion=200] [phyTblIDs="[283]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:54.680 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=284] [version=200] [2025/04/04 10:36:54.681 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=200] ["take time"=9.251336ms] [job="ID:284, Type:create table, State:done, SchemaState:public, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:54.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:54.693 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=284] [conn=2] [job="ID:284, Type:create table, State:synced, SchemaState:public, SchemaID:278, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:54.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:54.705 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=284] [2025/04/04 10:36:54.705 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=200] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int default 100);"] [user=root@%] [2025/04/04 10:36:54.711 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:54.760 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:36:54.781 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=51] [task-id=51] [data-size=24B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:54.797 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=51] [2025/04/04 10:36:54.797 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:54.899 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:54.901 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:54.902 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=51] [curr-step=init] [next-step=import] [2025/04/04 10:36:54.910 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:54.913 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:54.913 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=24] [2025/04/04 10:36:54.913 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=24] [cost=80.217µs] [2025/04/04 10:36:54.913 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=201.503µs] [] [2025/04/04 10:36:54.913 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=51] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:54.914 +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=36] [subtasks=1] [2025/04/04 10:36:54.956 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=51] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:54.976 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=51] [step=import] [2025/04/04 10:36:54.976 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:54.984 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:54.984 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:54.985 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:54.985 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:54.985 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:54.985 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:54.985 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:54.985 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:54.986 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:54.986 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:54.999 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:55.001 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:55.001 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:55.001 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=51] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:55.001 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=51] [disk-quota=347.8GiB] [2025/04/04 10:36:55.001 +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=36, Mem=16GiB]"] [2025/04/04 10:36:55.006 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=51] [mode=Import] [2025/04/04 10:36:55.009 +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 10:36:55.009 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=51] [step=import] [subtask-id=97] [2025/04/04 10:36:55.014 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:55.017 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:55.017 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=283] [2025/04/04 10:36:55.025 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=51] [2025/04/04 10:36:55.057 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=283] [key=input-cnt-mismatch.csv:0] [2025/04/04 10:36:55.059 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=283] [key=input-cnt-mismatch.csv:0] [readDur=933.6µs] [encodeDur=249.593µs] [checksum="{cksum=14192221556862743119,size=79,kvs=2}"] [deliverDur=254.157µs] [type=file] [takeTime=1.761674ms] [] [2025/04/04 10:36:55.059 +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/ff80a1d7-b7d1-40ad-9178-a64877e7804a.sst] [firstKey=74800000000000011B5F728000000000000001] [lastKey=74800000000000011B5F728000000000000002] [2025/04/04 10:36:55.059 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=51] [step=import] [engine-id=0] [2025/04/04 10:36:55.060 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=51] [step=import] [engine-id=0] [2025/04/04 10:36:55.060 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:55.062 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=2.599865ms] [] [2025/04/04 10:36:55.062 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 10:36:55.066 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:55.088 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=79] [2025/04/04 10:36:55.088 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:55.090 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000011b5f728000000000000001] [endOfAllRanges=74800000000000011b5f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff1b5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff1b5f728000000000ff0000030000000000fa] [2025/04/04 10:36:55.103 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=79] [kvs=2] [importedSize=79] [importedCount=2] [2025/04/04 10:36:55.105 +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.995521ms] [] [2025/04/04 10:36:55.105 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:55.107 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.223743ms] [] [2025/04/04 10:36:55.107 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=51] [step=import] [engine-id=0] [2025/04/04 10:36:55.107 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:55.111 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=3.898633ms] [] [2025/04/04 10:36:55.111 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 10:36:55.115 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:55.115 +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.786626ms] [] [2025/04/04 10:36:55.115 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:55.116 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.115366ms] [] [2025/04/04 10:36:55.116 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=51] [step=import] [subtask-id=97] [takeTime=106.629119ms] [] [2025/04/04 10:36:55.116 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [subtaskID=97] [step=import] [takeTime=106.782124ms] [] [2025/04/04 10:36:55.207 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:55.209 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:55.210 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=51] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:55.210 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=51] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:55.240 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=51] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:36:55.241 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=51] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:55.241 +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=36] [subtasks=1] [2025/04/04 10:36:55.264 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:36:55.265 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=51] [step=import] [2025/04/04 10:36:55.267 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:55.267 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:55.267 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:55.267 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:55.267 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:55.267 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:55.267 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:55.267 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:55.267 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-50] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:55.267 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:55.268 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:55.268 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:55.270 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:55.270 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:55.270 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:55.270 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:55.270 +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=36, Mem=16GiB]"] [takeTime=269.037465ms] [] [2025/04/04 10:36:55.270 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=51] [type=ImportInto] [2025/04/04 10:36:55.275 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=51] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:55.296 +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=36, Mem=16GiB]"] [2025/04/04 10:36:55.304 +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 10:36:55.304 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [2025/04/04 10:36:55.304 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [2025/04/04 10:36:55.304 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [2025/04/04 10:36:55.310 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [takeTime=5.748232ms] [] [2025/04/04 10:36:55.310 +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 10:36:55.310 +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 10:36:55.310 +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 10:36:55.310 +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 10:36:55.312 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=283] [physicalTableID=283] [indexID=-1] [checksum=14192221556862743119] [totalKvs=2] [totalBytes=79] [2025/04/04 10:36:55.312 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:55.313 +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 10:36:55.313 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [takeTime=8.341425ms] [] [2025/04/04 10:36:55.313 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [takeTime=8.516602ms] [] [2025/04/04 10:36:55.313 +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.655668ms] [] [2025/04/04 10:36:55.338 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:55.405 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:55.405 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=51] [step=post-process] [state=running] [] [2025/04/04 10:36:55.408 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=51] [2025/04/04 10:36:55.432 +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=36, Mem=16GiB]"] [takeTime=135.298774ms] [] [2025/04/04 10:36:55.432 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=51] [type=ImportInto] [2025/04/04 10:36:55.500 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=51] [2025/04/04 10:36:55.506 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:55.506 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=51] [2025/04/04 10:36:55.527 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:55.698 +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.992074395\n# Parse_time: 0.000066813\n# Compile_time: 0.000587412\n# Rewrite_time: 0.000203314\n# Optimize_time: 0.000293198\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MS4xbXMsIG9wZW46NjYzbnMsIGNsb3NlOjY3Nm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5MS4xbXMsIG9wZW46NjYzbnMsIGNsb3NlOjY3Nm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 10:36:55.712 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:285, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:55.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:55.712 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:285, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:55.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:36:55.717 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=285] [conn=2] [job="ID:285, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:55.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:55.733 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=200] [neededSchemaVersion=201] ["elapsed time"=2.253378ms] [gotSchemaVersion=201] [phyTblIDs="[283]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:55.736 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=285] [version=201] [2025/04/04 10:36:55.738 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=201] ["take time"=9.305637ms] [job="ID:285, Type:drop table, State:running, SchemaState:write only, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:55.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:55.747 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=285] [conn=2] [job="ID:285, Type:drop table, State:running, SchemaState:write only, SchemaID:278, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:55.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:55.766 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=201] [neededSchemaVersion=202] ["elapsed time"=5.001215ms] [gotSchemaVersion=202] [phyTblIDs="[283]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:55.769 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=285] [version=202] [2025/04/04 10:36:55.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=202] ["take time"=12.164213ms] [job="ID:285, Type:drop table, State:running, SchemaState:delete only, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:55.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:55.779 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=285] [conn=2] [job="ID:285, Type:drop table, State:running, SchemaState:delete only, SchemaID:278, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:55.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:55.785 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 283, Old Table Name: t)"] [2025/04/04 10:36:55.799 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=202] [neededSchemaVersion=203] ["elapsed time"=1.054964ms] [gotSchemaVersion=203] [phyTblIDs="[283]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:36:55.803 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=285] [version=203] [2025/04/04 10:36:55.804 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=203] ["take time"=8.017528ms] [job="ID:285, Type:drop table, State:done, SchemaState:none, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:55.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:55.813 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=285] [tableIDs="[283]"] [comment="drop table: table ID"] [2025/04/04 10:36:55.817 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=285] [jobType="drop table"] [2025/04/04 10:36:55.818 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=285] [conn=2] [job="ID:285, Type:drop table, State:synced, SchemaState:none, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:55.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:55.835 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=285] [2025/04/04 10:36:55.835 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=203] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 10:36:55.849 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:287, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:286, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:55.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:36:55.849 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:287, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:286, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:55.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:55.855 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=287] [conn=2] [job="ID:287, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:286, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:55.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:55.860 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 286, Table Name: t)"] [2025/04/04 10:36:55.876 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=203] [neededSchemaVersion=204] ["elapsed time"=1.811266ms] [gotSchemaVersion=204] [phyTblIDs="[286]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:55.879 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=287] [version=204] [2025/04/04 10:36:55.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=204] ["take time"=9.052811ms] [job="ID:287, Type:create table, State:done, SchemaState:public, SchemaID:278, TableID:286, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:55.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:55.893 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=287] [conn=2] [job="ID:287, Type:create table, State:synced, SchemaState:public, SchemaID:278, TableID:286, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:55.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:55.905 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=287] [2025/04/04 10:36:55.905 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=204] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/04 10:36:55.912 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:55.961 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`, `b`, @`1`)\",\"set-clause\":\"`c`=COALESCE(@`1`, 100)\",\"file-location\":\"gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:36:55.982 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=52] [task-id=52] [data-size=24B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:55.996 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=52] [2025/04/04 10:36:55.996 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:56.098 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:56.100 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:56.101 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=52] [curr-step=init] [next-step=import] [2025/04/04 10:36:56.109 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:56.111 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:56.111 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=24] [2025/04/04 10:36:56.111 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=24] [cost=38.638µs] [2025/04/04 10:36:56.111 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=125.295µs] [] [2025/04/04 10:36:56.111 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=52] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:56.111 +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=36] [subtasks=1] [2025/04/04 10:36:56.145 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=52] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:56.165 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=52] [step=import] [2025/04/04 10:36:56.166 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:56.174 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:56.174 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:56.174 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:56.174 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:56.175 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:56.175 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:56.175 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:56.175 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:56.175 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:56.176 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:56.188 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:56.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 10:36:56.189 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:56.190 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=52] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:56.190 +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=36, Mem=16GiB]"] [2025/04/04 10:36:56.190 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=52] [disk-quota=347.8GiB] [2025/04/04 10:36:56.198 +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 10:36:56.198 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=52] [step=import] [subtask-id=99] [2025/04/04 10:36:56.202 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:56.204 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=52] [mode=Import] [2025/04/04 10:36:56.205 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:56.205 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=286] [2025/04/04 10:36:56.221 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=286] [key=input-cnt-mismatch.csv:0] [2025/04/04 10:36:56.223 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=286] [key=input-cnt-mismatch.csv:0] [readDur=968.158µs] [encodeDur=209.985µs] [checksum="{cksum=4856294282864387256,size=82,kvs=2}"] [deliverDur=219.929µs] [type=file] [takeTime=1.682357ms] [] [2025/04/04 10:36:56.223 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=52] [2025/04/04 10:36:56.223 +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/b73c8359-f931-4f03-9dc2-e91c1ae8d1a9.sst] [firstKey=74800000000000011E5F728000000000000001] [lastKey=74800000000000011E5F728000000000000002] [2025/04/04 10:36:56.223 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=52] [step=import] [engine-id=0] [2025/04/04 10:36:56.223 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=52] [step=import] [engine-id=0] [2025/04/04 10:36:56.223 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:56.225 +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.823733ms] [] [2025/04/04 10:36:56.225 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 10:36:56.230 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:56.251 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=82] [2025/04/04 10:36:56.252 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:56.254 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000011e5f728000000000000001] [endOfAllRanges=74800000000000011e5f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff1e5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff1e5f728000000000ff0000030000000000fa] [2025/04/04 10:36:56.265 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=82] [kvs=2] [importedSize=82] [importedCount=2] [2025/04/04 10:36:56.267 +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.459109ms] [] [2025/04/04 10:36:56.267 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:56.268 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.157487ms] [] [2025/04/04 10:36:56.268 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=52] [step=import] [engine-id=0] [2025/04/04 10:36:56.268 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:56.270 +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.564326ms] [] [2025/04/04 10:36:56.270 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 10:36:56.274 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:56.274 +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.805434ms] [] [2025/04/04 10:36:56.274 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:56.275 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.041146ms] [] [2025/04/04 10:36:56.275 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=52] [step=import] [subtask-id=99] [takeTime=77.192383ms] [] [2025/04/04 10:36:56.275 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [subtaskID=99] [step=import] [takeTime=77.349486ms] [] [2025/04/04 10:36:56.305 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:56.306 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:56.308 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=52] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:56.308 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=52] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:56.338 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=52] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:36:56.339 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=52] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:56.339 +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=36] [subtasks=1] [2025/04/04 10:36:56.360 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:56.369 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=52] [step=import] [2025/04/04 10:36:56.372 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:56.372 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:56.372 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:56.372 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:56.372 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:56.372 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:56.372 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:56.372 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:56.372 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:56.372 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-51] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:56.372 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:56.372 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:56.375 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:56.375 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:56.375 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:56.375 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:56.375 +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=36, Mem=16GiB]"] [takeTime=185.447933ms] [] [2025/04/04 10:36:56.376 +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=36, Mem=16GiB]"] [2025/04/04 10:36:56.384 +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 10:36:56.385 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [2025/04/04 10:36:56.385 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [2025/04/04 10:36:56.385 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [2025/04/04 10:36:56.391 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [takeTime=6.074406ms] [] [2025/04/04 10:36:56.391 +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 10:36:56.391 +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 10:36:56.391 +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 10:36:56.391 +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 10:36:56.393 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=286] [physicalTableID=286] [indexID=-1] [checksum=4856294282864387256] [totalKvs=2] [totalBytes=82] [2025/04/04 10:36:56.394 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:56.394 +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 10:36:56.394 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [takeTime=9.009134ms] [] [2025/04/04 10:36:56.394 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [takeTime=9.139081ms] [] [2025/04/04 10:36:56.394 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [subtaskID=100] [step=post-process] [takeTime=9.280556ms] [] [2025/04/04 10:36:56.410 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:56.504 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:56.504 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=52] [step=post-process] [state=running] [] [2025/04/04 10:36:56.507 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=52] [2025/04/04 10:36:56.537 +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=36, Mem=16GiB]"] [takeTime=160.442239ms] [] [2025/04/04 10:36:56.537 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=52] [type=ImportInto] [2025/04/04 10:36:56.599 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=52] [2025/04/04 10:36:56.603 +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.696962506\n# Parse_time: 0.00024412\n# Compile_time: 0.00066299\n# Rewrite_time: 0.000212809\n# Optimize_time: 0.000258027\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5NS43bXMsIG9wZW46Njc4bnMsIGNsb3NlOjEuMTPCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY5NS43bXMsIG9wZW46Njc4bnMsIGNsb3NlOjEuMTPCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\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/';"] [2025/04/04 10:36:56.606 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:56.606 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=52] --- PASS: TestImportInto/TestInputCountMisMatchAndDefault (3.38s) === NAME TestImportInto === RUN TestImportInto/TestInputNull [2025/04/04 10:36:56.621 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:288, Type:drop schema, State:queueing, SchemaState:public, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:56.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 10:36:56.621 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:288, Type:drop schema, State:queueing, SchemaState:public, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:56.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:56.627 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=288] [conn=2] [job="ID:288, Type:drop schema, State:queueing, SchemaState:public, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:56.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:56.631 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:56.647 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=204] [neededSchemaVersion=205] ["elapsed time"=1.950118ms] [gotSchemaVersion=205] [phyTblIDs="[286]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:56.651 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=288] [version=205] [2025/04/04 10:36:56.653 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=205] ["take time"=9.794957ms] [job="ID:288, Type:drop schema, State:running, SchemaState:write only, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:56.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:56.663 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=288] [conn=2] [job="ID:288, Type:drop schema, State:running, SchemaState:write only, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:56.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:56.676 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=205] [neededSchemaVersion=206] ["elapsed time"=134.973µs] [gotSchemaVersion=206] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:56.679 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=288] [version=206] [2025/04/04 10:36:56.681 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=206] ["take time"=7.348208ms] [job="ID:288, Type:drop schema, State:running, SchemaState:delete only, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:56.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:56.690 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=288] [conn=2] [job="ID:288, Type:drop schema, State:running, SchemaState:delete only, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:56.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:56.695 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:36:56.706 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=206] [neededSchemaVersion=207] ["elapsed time"=133.652µs] [gotSchemaVersion=207] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:36:56.710 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=288] [version=207] [2025/04/04 10:36:56.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=207] ["take time"=7.901337ms] [job="ID:288, Type:drop schema, State:done, SchemaState:none, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:56.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:56.720 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=288] [tableIDs="[286]"] [comment="drop schema: table IDs"] [2025/04/04 10:36:56.725 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=288] [jobType="drop schema"] [2025/04/04 10:36:56.726 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=288] [conn=2] [job="ID:288, Type:drop schema, State:synced, SchemaState:none, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:56.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:56.741 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=288] [2025/04/04 10:36:56.741 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=207] [cur_db=] [sql="drop database if exists load_data"] [user=root@%] [2025/04/04 10:36:56.753 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:290, Type:create schema, State:queueing, SchemaState:none, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:56.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:56.753 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:290, Type:create schema, State:queueing, SchemaState:none, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:56.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 10:36:56.757 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=290] [conn=2] [job="ID:290, Type:create schema, State:queueing, SchemaState:none, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:56.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:56.771 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=207] [neededSchemaVersion=208] ["elapsed time"=739.88µs] [gotSchemaVersion=208] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:36:56.775 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=290] [version=208] [2025/04/04 10:36:56.777 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=208] ["take time"=8.327274ms] [job="ID:290, Type:create schema, State:done, SchemaState:public, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:56.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:56.787 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=290] [conn=2] [job="ID:290, Type:create schema, State:synced, SchemaState:public, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:56.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:56.797 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=290] [2025/04/04 10:36:56.798 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=208] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/04 10:36:56.800 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=208] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 10:36:56.813 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:292, Type:create table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:56.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:56.813 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:292, Type:create table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:56.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:36:56.819 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=292] [conn=2] [job="ID:292, Type:create table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:56.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:56.824 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 291, Table Name: t)"] [2025/04/04 10:36:56.839 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=208] [neededSchemaVersion=209] ["elapsed time"=1.93952ms] [gotSchemaVersion=209] [phyTblIDs="[291]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:56.843 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=209] [2025/04/04 10:36:56.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=209] ["take time"=9.34594ms] [job="ID:292, Type:create table, State:done, SchemaState:public, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:56.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:56.856 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=292] [conn=2] [job="ID:292, Type:create table, State:synced, SchemaState:public, SchemaID:289, TableID:291, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:56.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:56.869 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=292] [2025/04/04 10:36:56.869 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=209] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/04 10:36:56.875 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:56.921 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/nil-input.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:56.940 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=53] [task-id=53] [data-size=18B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:56.955 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=53] [2025/04/04 10:36:56.955 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:57.058 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:57.060 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:57.061 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=53] [curr-step=init] [next-step=import] [2025/04/04 10:36:57.069 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:57.072 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:57.073 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/04 10:36:57.073 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=45.147µs] [2025/04/04 10:36:57.073 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=135.157µs] [] [2025/04/04 10:36:57.073 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=53] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:57.073 +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=36] [subtasks=1] [2025/04/04 10:36:57.105 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=53] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:57.126 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=53] [step=import] [2025/04/04 10:36:57.126 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:57.135 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:57.135 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:57.135 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:57.135 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:57.136 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:57.136 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:57.136 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:57.136 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:57.136 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:57.136 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:57.149 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:57.151 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:57.151 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:57.151 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=53] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:57.151 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=53] [disk-quota=347.8GiB] [2025/04/04 10:36:57.151 +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=36, Mem=16GiB]"] [2025/04/04 10:36:57.160 +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 10:36:57.160 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=53] [step=import] [subtask-id=101] [2025/04/04 10:36:57.163 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:57.164 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=53] [mode=Import] [2025/04/04 10:36:57.167 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:57.167 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=291] [2025/04/04 10:36:57.180 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=291] [key=nil-input.tsv:0] [2025/04/04 10:36:57.182 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=291] [key=nil-input.tsv:0] [readDur=1.104915ms] [encodeDur=229.274µs] [checksum="{cksum=18253638469051024344,size=74,kvs=2}"] [deliverDur=281.86µs] [type=file] [takeTime=1.979462ms] [] [2025/04/04 10:36:57.183 +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/b13a9c98-4698-444e-aa6c-697dc3eb7220.sst] [firstKey=7480000000000001235F728000000000000001] [lastKey=7480000000000001235F728000000000000002] [2025/04/04 10:36:57.183 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=53] [step=import] [engine-id=0] [2025/04/04 10:36:57.183 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=53] [step=import] [engine-id=0] [2025/04/04 10:36:57.183 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:57.183 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=53] [2025/04/04 10:36:57.185 +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.975679ms] [] [2025/04/04 10:36:57.185 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 10:36:57.189 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:57.211 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=74] [2025/04/04 10:36:57.212 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:57.213 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001235f728000000000000001] [endOfAllRanges=7480000000000001235f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff235f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff235f728000000000ff0000030000000000fa] [2025/04/04 10:36:57.224 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=74] [kvs=2] [importedSize=74] [importedCount=2] [2025/04/04 10:36:57.226 +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.607774ms] [] [2025/04/04 10:36:57.226 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:57.227 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=984.843µs] [] [2025/04/04 10:36:57.227 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=53] [step=import] [engine-id=0] [2025/04/04 10:36:57.227 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:57.229 +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.409088ms] [] [2025/04/04 10:36:57.229 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 10:36:57.232 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:57.232 +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.760164ms] [] [2025/04/04 10:36:57.232 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:57.234 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.168519ms] [] [2025/04/04 10:36:57.234 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=53] [step=import] [subtask-id=101] [takeTime=74.105654ms] [] [2025/04/04 10:36:57.234 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [subtaskID=101] [step=import] [takeTime=74.280525ms] [] [2025/04/04 10:36:57.263 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:57.264 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:57.265 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=53] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:57.265 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=53] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:57.295 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=53] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:36:57.297 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=53] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:57.297 +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=36] [subtasks=1] [2025/04/04 10:36:57.328 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:36:57.335 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=53] [step=import] [2025/04/04 10:36:57.337 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:57.337 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:57.337 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:57.337 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:57.337 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:57.337 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:57.337 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:57.338 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:57.338 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:57.337 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-52] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:57.338 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:57.338 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:57.340 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:57.340 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:57.340 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:57.340 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:57.340 +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=36, Mem=16GiB]"] [takeTime=188.712528ms] [] [2025/04/04 10:36:57.341 +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=36, Mem=16GiB]"] [2025/04/04 10:36:57.354 +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 10:36:57.354 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [2025/04/04 10:36:57.354 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [2025/04/04 10:36:57.354 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [2025/04/04 10:36:57.360 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [takeTime=6.123124ms] [] [2025/04/04 10:36:57.360 +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 10:36:57.361 +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 10:36:57.361 +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 10:36:57.361 +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 10:36:57.363 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=291] [physicalTableID=291] [indexID=-1] [checksum=18253638469051024344] [totalKvs=2] [totalBytes=74] [2025/04/04 10:36:57.363 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:57.363 +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 10:36:57.363 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [takeTime=9.247403ms] [] [2025/04/04 10:36:57.363 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [takeTime=9.38889ms] [] [2025/04/04 10:36:57.364 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [subtaskID=102] [step=post-process] [takeTime=9.529855ms] [] [2025/04/04 10:36:57.384 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:57.463 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:57.463 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=53] [step=post-process] [state=running] [] [2025/04/04 10:36:57.466 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=53] [2025/04/04 10:36:57.484 +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=36, Mem=16GiB]"] [takeTime=142.733093ms] [] [2025/04/04 10:36:57.484 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=53] [type=ImportInto] [2025/04/04 10:36:57.556 +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.686792823\n# Parse_time: 0.000104303\n# Compile_time: 0.000565691\n# Rewrite_time: 0.000164635\n# Optimize_time: 0.000276752\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4NS44bXMsIG9wZW46NTkwbnMsIGNsb3NlOjgwOG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4NS44bXMsIG9wZW46NTkwbnMsIGNsb3NlOjgwOG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/nil-input.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/04 10:36:57.558 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=53] [2025/04/04 10:36:57.564 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:57.565 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=53] [2025/04/04 10:36:57.572 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:294, Type:truncate table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:57.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:57.572 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:294, Type:truncate table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:57.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:36:57.578 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=294] [conn=2] [job="ID:294, Type:truncate table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:57.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:57.587 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 293, Table Name: t, Old Table ID: 291, Old Table Name: t)"] [2025/04/04 10:36:57.588 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:57.601 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=209] [neededSchemaVersion=210] ["elapsed time"=2.036914ms] [gotSchemaVersion=210] [phyTblIDs="[291,293]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:36:57.605 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=294] [version=210] [2025/04/04 10:36:57.607 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=210] ["take time"=7.473697ms] [job="ID:294, Type:truncate table, State:done, SchemaState:public, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:57.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:57.619 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=294] [tableIDs="[291]"] [comment="truncate table: table ID"] [2025/04/04 10:36:57.623 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=294] [jobType="truncate table"] [2025/04/04 10:36:57.624 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=294] [conn=2] [job="ID:294, Type:truncate table, State:synced, SchemaState:public, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:57.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:57.641 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=294] [2025/04/04 10:36:57.641 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=210] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/04 10:36:57.648 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:57.696 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`, @`1`, `c`)\",\"set-clause\":\"`b`=COALESCE(@`1`, _UTF8MB4'def')\",\"file-location\":\"gs://test-multi-load/nil-input.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 10:36:57.717 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=54] [task-id=54] [data-size=18B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:57.731 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=54] [2025/04/04 10:36:57.731 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:57.835 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:57.836 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:57.838 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=54] [curr-step=init] [next-step=import] [2025/04/04 10:36:57.846 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:57.850 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:57.850 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/04 10:36:57.850 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=62.602µs] [2025/04/04 10:36:57.850 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=177.855µs] [] [2025/04/04 10:36:57.850 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=54] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:57.850 +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=36] [subtasks=1] [2025/04/04 10:36:57.886 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=54] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:57.908 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=54] [step=import] [2025/04/04 10:36:57.909 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:57.918 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:57.918 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:57.918 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:57.919 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:57.919 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:57.919 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:57.919 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:57.919 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:57.920 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:57.920 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:57.933 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:57.935 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:57.935 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:36:57.935 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=54] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:57.935 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=54] [disk-quota=347.8GiB] [2025/04/04 10:36:57.935 +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=36, Mem=16GiB]"] [2025/04/04 10:36:57.941 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=54] [mode=Import] [2025/04/04 10:36:57.943 +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 10:36:57.943 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=54] [step=import] [subtask-id=103] [2025/04/04 10:36:57.946 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:57.950 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:57.950 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=293] [2025/04/04 10:36:57.960 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=54] [2025/04/04 10:36:57.991 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=293] [key=nil-input.tsv:0] [2025/04/04 10:36:57.993 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=293] [key=nil-input.tsv:0] [readDur=1.076879ms] [encodeDur=360.524µs] [checksum="{cksum=5368846511036415957,size=80,kvs=2}"] [deliverDur=247.204µs] [type=file] [takeTime=2.074368ms] [] [2025/04/04 10:36:57.994 +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/b2cd1176-35cd-4f3c-b2c2-94c187d532fa.sst] [firstKey=7480000000000001255F728000000000000001] [lastKey=7480000000000001255F728000000000000002] [2025/04/04 10:36:57.994 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=54] [step=import] [engine-id=0] [2025/04/04 10:36:57.994 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=54] [step=import] [engine-id=0] [2025/04/04 10:36:57.994 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:57.996 +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.129215ms] [] [2025/04/04 10:36:57.996 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 10:36:58.000 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:58.022 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=80] [2025/04/04 10:36:58.023 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:58.025 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001255f728000000000000001] [endOfAllRanges=7480000000000001255f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff255f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff255f728000000000ff0000030000000000fa] [2025/04/04 10:36:58.036 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=80] [kvs=2] [importedSize=80] [importedCount=2] [2025/04/04 10:36:58.038 +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.93691ms] [] [2025/04/04 10:36:58.038 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:36:58.039 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.153032ms] [] [2025/04/04 10:36:58.039 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=54] [step=import] [engine-id=0] [2025/04/04 10:36:58.039 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:58.041 +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.458453ms] [] [2025/04/04 10:36:58.041 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 10:36:58.045 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:58.045 +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.769744ms] [] [2025/04/04 10:36:58.045 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:36:58.046 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.12544ms] [] [2025/04/04 10:36:58.046 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=54] [step=import] [subtask-id=103] [takeTime=103.449375ms] [] [2025/04/04 10:36:58.046 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [subtaskID=103] [step=import] [takeTime=103.620307ms] [] [2025/04/04 10:36:58.140 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:58.142 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:58.143 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=54] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:58.143 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=54] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:58.177 +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}"] [Pipeline] // stage [2025/04/04 10:36:58.179 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=54] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:36:58.179 +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=36] [subtasks=1] [2025/04/04 10:36:58.204 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:36:58.204 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=54] [step=import] [2025/04/04 10:36:58.207 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:58.207 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:58.207 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:58.207 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:58.207 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:58.207 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:58.207 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:58.207 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:58.207 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-53] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:58.207 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:58.207 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:58.207 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:58.210 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:58.210 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:58.210 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:58.210 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:58.210 +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=36, Mem=16GiB]"] [takeTime=274.804638ms] [] [2025/04/04 10:36:58.210 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=54] [type=ImportInto] [2025/04/04 10:36:58.215 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=54] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:58.237 +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=36, Mem=16GiB]"] [2025/04/04 10:36:58.245 +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 10:36:58.245 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [2025/04/04 10:36:58.245 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [2025/04/04 10:36:58.245 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [2025/04/04 10:36:58.251 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [takeTime=5.95318ms] [] [2025/04/04 10:36:58.251 +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 10:36:58.251 +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 10:36:58.251 +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 10:36:58.251 +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 10:36:58.254 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=293] [physicalTableID=293] [indexID=-1] [checksum=5368846511036415957] [totalKvs=2] [totalBytes=80] [2025/04/04 10:36:58.255 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:36:58.255 +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 10:36:58.255 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [takeTime=9.605233ms] [] [2025/04/04 10:36:58.255 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [takeTime=9.753524ms] [] [2025/04/04 10:36:58.255 +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.91735ms] [] [2025/04/04 10:36:58.283 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:36:58.340 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:36:58.340 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=54] [step=post-process] [state=running] [] [2025/04/04 10:36:58.343 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=54] [2025/04/04 10:36:58.360 +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=36, Mem=16GiB]"] [takeTime=122.353066ms] [] [2025/04/04 10:36:58.360 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=54] [type=ImportInto] [2025/04/04 10:36:58.434 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=54] [2025/04/04 10:36:58.441 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:58.441 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=54] [2025/04/04 10:36:58.463 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:58.633 +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.990984064\n# Parse_time: 0.000152021\n# Compile_time: 0.000600664\n# Rewrite_time: 0.000207172\n# Optimize_time: 0.00029279\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MG1zLCBvcGVuOjY4Nm5zLCBjbG9zZTo2OTBucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjk5MG1zLCBvcGVuOjY4Nm5zLCBjbG9zZTo2OTBucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_data`.`t` (`a`,@`1`,`c`) SET `b`=COALESCE(@`1`, _UTF8MB4'def') FROM 'gs://test-multi-load/nil-input.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] --- PASS: TestImportInto/TestInputNull (2.03s) === NAME TestImportInto === RUN TestImportInto/TestJobFailWhenDispatchSubtask [2025/04/04 10:36:58.637 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=210] [cur_db=load_data] [sql="drop database if exists fail_job_after_import"] [user=root@%] [2025/04/04 10:36:58.649 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:296, Type:create schema, State:queueing, SchemaState:none, SchemaID:295, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:58.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:58.649 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:296, Type:create schema, State:queueing, SchemaState:none, SchemaID:295, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:58.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database fail_job_after_import"] [2025/04/04 10:36:58.655 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=296] [conn=2] [job="ID:296, Type:create schema, State:queueing, SchemaState:none, SchemaID:295, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:58.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:58.669 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=210] [neededSchemaVersion=211] ["elapsed time"=704.645µs] [gotSchemaVersion=211] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:36:58.672 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=296] [version=211] [2025/04/04 10:36:58.674 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=211] ["take time"=8.310632ms] [job="ID:296, Type:create schema, State:done, SchemaState:public, SchemaID:295, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:58.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:58.685 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=296] [conn=2] [job="ID:296, Type:create schema, State:synced, SchemaState:public, SchemaID:295, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:58.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:58.695 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=296] [2025/04/04 10:36:58.695 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=211] [cur_db=load_data] [sql="create database fail_job_after_import"] [user=root@%] [2025/04/04 10:36:58.709 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:298, Type:create table, State:queueing, SchemaState:none, SchemaID:295, TableID:297, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:58.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:58.709 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:298, Type:create table, State:queueing, SchemaState:none, SchemaID:295, TableID:297, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:58.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/04 10:36:58.715 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=298] [conn=2] [job="ID:298, Type:create table, State:queueing, SchemaState:none, SchemaID:295, TableID:297, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:58.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:58.719 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 297, Table Name: t1)"] [2025/04/04 10:36:58.733 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=211] [neededSchemaVersion=212] ["elapsed time"=1.617572ms] [gotSchemaVersion=212] [phyTblIDs="[297]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:58.737 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=298] [version=212] [2025/04/04 10:36:58.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=212] ["take time"=9.230595ms] [job="ID:298, Type:create table, State:done, SchemaState:public, SchemaID:295, TableID:297, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:58.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:58.750 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=298] [conn=2] [job="ID:298, Type:create table, State:synced, SchemaState:public, SchemaID:295, TableID:297, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:58.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:58.761 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=298] [2025/04/04 10:36:58.761 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=212] [cur_db=fail_job_after_import] [sql="CREATE TABLE t1 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/04 10:36:58.768 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:58.815 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://fail_job_after_import/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:36:58.832 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=55] [task-id=55] [data-size=3B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:58.845 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=55] [2025/04/04 10:36:58.845 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:58.947 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:58.948 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:58.949 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=55] [curr-step=init] [next-step=import] [2025/04/04 10:36:58.956 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:58.958 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/04 10:36:58.959 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/04 10:36:58.959 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=46.339µs] [2025/04/04 10:36:58.959 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=145.499µs] [] [2025/04/04 10:36:58.959 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=55] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:58.959 +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=36] [subtasks=1] [2025/04/04 10:36:58.995 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=55] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:59.016 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=55] [step=import] [2025/04/04 10:36:59.016 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:59.023 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:59.023 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:59.024 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:59.024 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:59.024 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:59.024 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:59.024 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:59.024 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:59.025 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:59.025 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:36:59.036 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:36:59.038 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:36:59.038 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t1] [quota=373.5GB] [2025/04/04 10:36:59.038 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=55] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:36:59.038 +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=36, Mem=16GiB]"] [2025/04/04 10:36:59.038 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=55] [disk-quota=347.8GiB] [2025/04/04 10:36:59.046 +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 10:36:59.046 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=55] [step=import] [subtask-id=105] [2025/04/04 10:36:59.050 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [2025/04/04 10:36:59.053 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=55] [mode=Import] [2025/04/04 10:36:59.053 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [2025/04/04 10:36:59.054 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=297] [2025/04/04 10:36:59.074 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=55] [2025/04/04 10:36:59.080 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=297] [key=t.csv:0] [2025/04/04 10:36:59.083 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=297] [key=t.csv:0] [readDur=929.8µs] [encodeDur=745.795µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=159.972µs] [type=file] [takeTime=2.109521ms] [] [2025/04/04 10:36:59.083 +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/a5127a51-3683-400e-b064-c042b44bd60d.sst] [firstKey=7480000000000001295F728000000000000001] [lastKey=7480000000000001295F728000000000000002] [2025/04/04 10:36:59.084 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=55] [step=import] [engine-id=0] [2025/04/04 10:36:59.084 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=55] [step=import] [engine-id=0] [2025/04/04 10:36:59.084 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [2025/04/04 10:36:59.086 +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.193279ms] [] [2025/04/04 10:36:59.086 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [retryCnt=0] [2025/04/04 10:36:59.090 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:36:59.112 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] ["region ranges"=1] [count=2] [size=50] [2025/04/04 10:36:59.112 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:36:59.114 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001295f728000000000000001] [endOfAllRanges=7480000000000001295f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff295f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff295f728000000000ff0000030000000000fa] [2025/04/04 10:36:59.125 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/04 10:36:59.127 +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.990827ms] [] [2025/04/04 10:36:59.127 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [2025/04/04 10:36:59.128 +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.147027ms] [] [2025/04/04 10:36:59.128 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=55] [step=import] [engine-id=0] [2025/04/04 10:36:59.128 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [2025/04/04 10:36:59.130 +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.485892ms] [] [2025/04/04 10:36:59.130 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [retryCnt=0] [2025/04/04 10:36:59.134 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=d169a211-a2c0-545c-894b-6412e8ed0fb5] [2025/04/04 10:36:59.134 +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.554311ms] [] [2025/04/04 10:36:59.134 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [2025/04/04 10:36:59.135 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [takeTime=1.159529ms] [] [2025/04/04 10:36:59.135 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=55] [step=import] [subtask-id=105] [takeTime=88.457001ms] [] [2025/04/04 10:36:59.135 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=55] [task-type=ImportInto] [server-id=:4000] [subtaskID=105] [step=import] [takeTime=88.603849ms] [] [2025/04/04 10:36:59.153 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:36:59.154 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:59.154 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=55] [curr-step=import] [next-step=post-process] [2025/04/04 10:36:59.154 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=55] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:36:59.173 +00:00] [WARN] [scheduler.go:486] ["generate part of subtasks failed"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [error="injected error after ImportStepImport"] [errorVerbose="injected error after ImportStepImport\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:324\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:59.173 +00:00] [WARN] [scheduler.go:571] ["generate plan failed"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [error="injected error after ImportStepImport"] [errorVerbose="injected error after ImportStepImport\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:324\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [state=running] [2025/04/04 10:36:59.182 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=55] [step=import] [2025/04/04 10:36:59.184 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:36:59.184 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:36:59.184 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:36:59.184 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:36:59.184 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:36:59.184 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:36:59.185 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:36:59.185 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:59.184 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-54] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:59.185 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:59.185 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:59.185 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:36:59.187 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:36:59.187 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:36:59.187 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:36:59.187 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:36:59.187 +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=36, Mem=16GiB]"] [takeTime=148.31227ms] [] [2025/04/04 10:36:59.187 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=55] [type=ImportInto] [2025/04/04 10:36:59.252 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=55] [step=import] [state=reverting] [error="injected error after ImportStepImport"] [errorVerbose="injected error after ImportStepImport\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:324\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:36:59.253 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=55] [step=import] [mode=Normal] [2025/04/04 10:36:59.259 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=55] [2025/04/04 10:36:59.347 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=55] [2025/04/04 10:36:59.355 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:36:59.355 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=55] [2025/04/04 10:36:59.374 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:36:59.445 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=55] [error="[0]injected error after ImportStepImport"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestJobFailWhenDispatchSubtask\n\ttests/realtikvtest/importintotest/job_test.go:599\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 10:36:59.445 +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.682655664\n# Parse_time: 0.000097974\n# Compile_time: 0.000581221\n# Rewrite_time: 0.000162379\n# Optimize_time: 0.000250765\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('SPBHMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjY4MS43bXMsIG9wZW46NjY1bnMsIGNsb3NlOjk3Mm5zLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjgBQAFSA04vQVoudGltZTo2ODEuN21zLCBvcGVuOjY2NW5zLCBjbG9zZTo5NzJucywgbG9vcHM6MXD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nuse fail_job_after_import;\nIMPORT INTO `fail_job_after_import`.`t1` FROM 'gs://fail_job_after_import/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestJobFailWhenDispatchSubtask (0.81s) === NAME TestImportInto === RUN TestImportInto/TestKillBeforeFinish [2025/04/04 10:36:59.473 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=212] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS kill_job;"] [user=root@%] [2025/04/04 10:36:59.486 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:300, Type:create schema, State:queueing, SchemaState:none, SchemaID:299, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:59.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE kill_job;"] [2025/04/04 10:36:59.486 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:300, Type:create schema, State:queueing, SchemaState:none, SchemaID:299, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:59.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:59.491 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=300] [conn=2] [job="ID:300, Type:create schema, State:queueing, SchemaState:none, SchemaID:299, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:59.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:59.505 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=212] [neededSchemaVersion=213] ["elapsed time"=750.052µs] [gotSchemaVersion=213] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:36:59.509 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=300] [version=213] [2025/04/04 10:36:59.511 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=213] ["take time"=8.573612ms] [job="ID:300, Type:create schema, State:done, SchemaState:public, SchemaID:299, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:59.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:59.521 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=300] [conn=2] [job="ID:300, Type:create schema, State:synced, SchemaState:public, SchemaID:299, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:59.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:59.530 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=300] [2025/04/04 10:36:59.531 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=213] [cur_db=fail_job_after_import] [sql="CREATE DATABASE kill_job;"] [user=root@%] [2025/04/04 10:36:59.544 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:299, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:59.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:36:59.544 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:299, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:59.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE kill_job.t (a INT, b INT, c int);"] [2025/04/04 10:36:59.550 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=302] [conn=2] [job="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:299, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:59.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:59.554 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 301, Table Name: t)"] [2025/04/04 10:36:59.571 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=213] [neededSchemaVersion=214] ["elapsed time"=1.936948ms] [gotSchemaVersion=214] [phyTblIDs="[301]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:36:59.575 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=302] [version=214] [2025/04/04 10:36:59.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=214] ["take time"=8.817455ms] [job="ID:302, Type:create table, State:done, SchemaState:public, SchemaID:299, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 10:36:59.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:59.587 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=302] [conn=2] [job="ID:302, Type:create table, State:synced, SchemaState:public, SchemaID:299, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-04 10:36:59.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:36:59.599 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=302] [2025/04/04 10:36:59.599 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=214] [cur_db=fail_job_after_import] [sql="CREATE TABLE kill_job.t (a INT, b INT, c int);"] [user=root@%] [2025/04/04 10:36:59.606 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:59.653 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/t-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:36:59.674 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=56] [task-id=56] [data-size=8B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:36:59.688 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=56] [2025/04/04 10:36:59.688 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:36:59.790 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:36:59.791 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:36:59.793 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=56] [curr-step=init] [next-step=import] [2025/04/04 10:36:59.801 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:59.803 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:36:59.803 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=8] [2025/04/04 10:36:59.803 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=47.361µs] [2025/04/04 10:36:59.803 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=145.604µs] [] [2025/04/04 10:36:59.803 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=56] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:36:59.803 +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=36] [subtasks=1] [2025/04/04 10:36:59.835 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=56] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:36:59.855 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=56] [step=import] [2025/04/04 10:36:59.856 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:36:59.864 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:36:59.865 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:36:59.987 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:36:59.987 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:36:59.987 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:36:59.987 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:36:59.987 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:36:59.988 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:36:59.988 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:36:59.989 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:00.000 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=56] [mode=Import] [2025/04/04 10:37:00.005 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:00.007 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:00.007 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:37:00.008 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=56] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:00.008 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=56] [disk-quota=347.8GiB] [2025/04/04 10:37:00.008 +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=36, Mem=16GiB]"] [2025/04/04 10:37:00.017 +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 10:37:00.017 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=56] [step=import] [subtask-id=106] [2025/04/04 10:37:00.021 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [2025/04/04 10:37:00.022 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=56] [2025/04/04 10:37:00.025 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/04 10:37:00.025 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=301] [2025/04/04 10:37:00.039 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=301] [key=t-1.tsv:0] [2025/04/04 10:37:00.042 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=301] [key=t-1.tsv:0] [readDur=1.386278ms] [encodeDur=439.517µs] [checksum="{cksum=11381722441307210293,size=37,kvs=1}"] [deliverDur=286.48µs] [type=file] [takeTime=2.494206ms] [] [2025/04/04 10:37:00.042 +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/127ff1c3-ff88-4a71-bd13-1b0151d78c0e.sst] [firstKey=74800000000000012D5F728000000000000001] [lastKey=74800000000000012D5F728000000000000001] [2025/04/04 10:37:00.042 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=56] [step=import] [engine-id=0] [2025/04/04 10:37:00.042 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=56] [step=import] [engine-id=0] [2025/04/04 10:37:00.043 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [2025/04/04 10:37:00.045 +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.067605ms] [] [2025/04/04 10:37:00.045 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [retryCnt=0] [2025/04/04 10:37:00.049 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:00.071 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=64636ef9-3fe4-5434-ae74-7ab09274a71e] ["region ranges"=1] [count=1] [size=37] [2025/04/04 10:37:00.071 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:00.074 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000012d5f728000000000000001] [endOfAllRanges=74800000000000012d5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff2d5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff2d5f728000000000ff0000020000000000fa] [2025/04/04 10:37:00.086 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=64636ef9-3fe4-5434-ae74-7ab09274a71e] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 10:37:00.088 +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=43.250078ms] [] [2025/04/04 10:37:00.088 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [2025/04/04 10:37:00.090 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [takeTime=1.37803ms] [] [2025/04/04 10:37:00.090 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=56] [step=import] [engine-id=0] [2025/04/04 10:37:00.090 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/04 10:37:00.090 +00:00] [INFO] [scheduler.go:152] ["task state/step changed by user or other scheduler"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [old-state=running] [new-state=cancelling] [old-step=import] [new-step=import] [2025/04/04 10:37:00.091 +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.605886ms] [] [2025/04/04 10:37:00.091 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [retryCnt=0] [2025/04/04 10:37:00.092 +00:00] [INFO] [scheduler.go:269] ["on cancelling state"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=cancelling] [step=import] [2025/04/04 10:37:00.095 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/04 10:37:00.095 +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.818803ms] [] [2025/04/04 10:37:00.095 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/04 10:37:00.097 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [takeTime=1.101324ms] [] [2025/04/04 10:37:00.097 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=56] [step=import] [subtask-id=106] [takeTime=79.462689ms] [] [2025/04/04 10:37:00.097 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=56] [task-type=ImportInto] [server-id=:4000] [subtaskID=106] [step=import] [takeTime=79.619906ms] [] [2025/04/04 10:37:00.106 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=56] [step=import] [2025/04/04 10:37:00.109 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:00.109 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:00.109 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:00.109 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:00.109 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:00.109 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:00.109 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:00.109 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:00.110 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:00.110 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:00.109 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-55] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:00.110 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:00.112 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:00.112 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:00.112 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:00.112 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:00.112 +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=36, Mem=16GiB]"] [takeTime=104.554689ms] [] [2025/04/04 10:37:00.112 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=56] [type=ImportInto] [2025/04/04 10:37:00.196 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=56] [step=import] [state=reverting] [error="cancelled by user"] [errorVerbose="cancelled by user\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onCancelling\n\tpkg/disttask/framework/scheduler/scheduler.go:272\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:199\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:00.197 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=56] [step=import] [mode=Normal] [2025/04/04 10:37:00.213 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=56] [2025/04/04 10:37:00.290 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=56] [2025/04/04 10:37:00.297 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:00.297 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=56] [2025/04/04 10:37:00.320 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:00.355 +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.754273595\n# Parse_time: 0.000254557\n# Compile_time: 0.000484428\n# Rewrite_time: 0.000128412\n# Optimize_time: 0.000036779\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('SLgwCTU5XzIJMAkwCU4vQQkwCXRpbWU6NzUzLjNtcywgb3Blbjo1NzBucywgY2xvcwUbAQ08bG9vcHM6MQlOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YeAKXQoMSW1wb3J0SW50b18yOAFAAVIDTi9BWi50aW1lOjc1My4zbXMsIG9wZW46NTcwbnMsIGNsb3MFGwENIGxvb3BzOjFw/xEBNAF4////////////ARgB')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `kill_job`.`t` FROM 'gs://test-load/t-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 10:37:01.100 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] --- PASS: TestImportInto/TestKillBeforeFinish (1.92s) === NAME TestImportInto === RUN TestImportInto/TestLoadSQLDump [2025/04/04 10:37:01.382 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:303, Type:drop schema, State:queueing, SchemaState:public, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:01.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:01.382 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:303, Type:drop schema, State:queueing, SchemaState:public, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:01.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_csv;"] [2025/04/04 10:37:01.388 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=2] [job="ID:303, Type:drop schema, State:queueing, SchemaState:public, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:01.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:01.407 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=214] [neededSchemaVersion=215] ["elapsed time"=2.602108ms] [gotSchemaVersion=215] [phyTblIDs="[231,233]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:01.411 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=215] [2025/04/04 10:37:01.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=215] ["take time"=10.77368ms] [job="ID:303, Type:drop schema, State:running, SchemaState:write only, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:01.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:01.424 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=2] [job="ID:303, Type:drop schema, State:running, SchemaState:write only, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:01.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:01.439 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=215] [neededSchemaVersion=216] ["elapsed time"=160.502µs] [gotSchemaVersion=216] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:01.443 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=216] [2025/04/04 10:37:01.445 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=216] ["take time"=8.40296ms] [job="ID:303, Type:drop schema, State:running, SchemaState:delete only, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:01.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:01.456 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=2] [job="ID:303, Type:drop schema, State:running, SchemaState:delete only, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:01.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:01.463 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:37:01.476 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=216] [neededSchemaVersion=217] ["elapsed time"=153.362µs] [gotSchemaVersion=217] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:01.480 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=217] [2025/04/04 10:37:01.481 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=217] ["take time"=8.508491ms] [job="ID:303, Type:drop schema, State:done, SchemaState:none, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:01.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:01.491 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=303] [tableIDs="[231,233]"] [comment="drop schema: table IDs"] [2025/04/04 10:37:01.496 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=303] [jobType="drop schema"] [2025/04/04 10:37:01.497 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=303] [conn=2] [job="ID:303, Type:drop schema, State:synced, SchemaState:none, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:01.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:01.514 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=303] [2025/04/04 10:37:01.514 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=217] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS load_csv;"] [user=root@%] [2025/04/04 10:37:01.527 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:305, Type:create schema, State:queueing, SchemaState:none, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:01.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:01.526 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:305, Type:create schema, State:queueing, SchemaState:none, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:01.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/04 10:37:01.532 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=305] [conn=2] [job="ID:305, Type:create schema, State:queueing, SchemaState:none, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:01.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:01.547 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=217] [neededSchemaVersion=218] ["elapsed time"=791.537µs] [gotSchemaVersion=218] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:37:01.551 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=305] [version=218] [2025/04/04 10:37:01.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=218] ["take time"=8.76606ms] [job="ID:305, Type:create schema, State:done, SchemaState:public, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:01.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:01.564 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=305] [conn=2] [job="ID:305, Type:create schema, State:synced, SchemaState:public, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:01.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:01.574 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=305] [2025/04/04 10:37:01.575 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=218] [cur_db=fail_job_after_import] [sql="CREATE DATABASE load_csv;"] [user=root@%] [2025/04/04 10:37:01.588 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:307, Type:create table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:01.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:01.588 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:307, Type:create table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:01.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_csv.t (id INT, c VARCHAR(20));"] [2025/04/04 10:37:01.594 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=307] [conn=2] [job="ID:307, Type:create table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:01.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:01.599 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 306, Table Name: t)"] [2025/04/04 10:37:01.615 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=218] [neededSchemaVersion=219] ["elapsed time"=1.810319ms] [gotSchemaVersion=219] [phyTblIDs="[306]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:01.619 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=307] [version=219] [2025/04/04 10:37:01.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=219] ["take time"=9.478379ms] [job="ID:307, Type:create table, State:done, SchemaState:public, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:01.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:01.632 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=307] [conn=2] [job="ID:307, Type:create table, State:synced, SchemaState:public, SchemaID:304, TableID:306, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:01.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:01.644 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=307] [2025/04/04 10:37:01.645 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=219] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_csv.t (id INT, c VARCHAR(20));"] [user=root@%] [2025/04/04 10:37:01.652 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:01.701 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load-parquet/p?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"sql\"}"] [dist-task-enabled=true] [2025/04/04 10:37:01.720 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=57] [task-id=57] [data-size=42B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:37:01.735 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=57] [2025/04/04 10:37:01.735 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:37:01.839 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:01.840 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:01.842 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=57] [curr-step=init] [next-step=import] [2025/04/04 10:37:01.851 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:01.854 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:37:01.854 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=42] [2025/04/04 10:37:01.854 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=42] [cost=45.983µs] [2025/04/04 10:37:01.854 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=144.999µs] [] [2025/04/04 10:37:01.854 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=57] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:01.854 +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=36] [subtasks=1] [2025/04/04 10:37:01.886 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=57] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:37:01.906 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=57] [step=import] [2025/04/04 10:37:01.906 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:01.914 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:01.914 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:01.915 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:01.915 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:01.915 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:01.915 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:01.915 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:01.915 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:01.916 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:01.916 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:01.928 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:01.931 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:01.931 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:37:01.931 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=57] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:01.931 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=57] [disk-quota=347.8GiB] [2025/04/04 10:37:01.931 +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=36, Mem=16GiB]"] [2025/04/04 10:37:01.939 +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 10:37:01.939 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=57] [step=import] [subtask-id=107] [2025/04/04 10:37:01.943 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:37:01.945 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=57] [mode=Import] [2025/04/04 10:37:01.947 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:37:01.947 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=306] [2025/04/04 10:37:01.973 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=57] [2025/04/04 10:37:01.995 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=306] [key=p:0] [2025/04/04 10:37:01.997 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=306] [key=p:0] [readDur=883.526µs] [encodeDur=243.813µs] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [deliverDur=271.78µs] [type=file] [takeTime=1.729454ms] [] [2025/04/04 10:37:01.998 +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/644036d8-ac29-42c7-b651-bc800caa9789.sst] [firstKey=7480000000000001325F728000000000000001] [lastKey=7480000000000001325F728000000000000002] [2025/04/04 10:37:01.998 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=57] [step=import] [engine-id=0] [2025/04/04 10:37:01.998 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=57] [step=import] [engine-id=0] [2025/04/04 10:37:01.998 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:37:02.000 +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.135304ms] [] [2025/04/04 10:37:02.000 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/04 10:37:02.005 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:02.027 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=2] [size=66] [2025/04/04 10:37:02.027 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:02.029 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001325f728000000000000001] [endOfAllRanges=7480000000000001325f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff325f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff325f728000000000ff0000030000000000fa] [2025/04/04 10:37:02.040 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/04 10:37:02.042 +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.893094ms] [] [2025/04/04 10:37:02.042 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:37:02.044 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.360565ms] [] [2025/04/04 10:37:02.044 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=57] [step=import] [engine-id=0] [2025/04/04 10:37:02.044 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:37:02.046 +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.818928ms] [] [2025/04/04 10:37:02.046 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/04 10:37:02.050 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:37:02.050 +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.707771ms] [] [2025/04/04 10:37:02.050 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:37:02.051 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=924.524µs] [] [2025/04/04 10:37:02.051 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=57] [step=import] [subtask-id=107] [takeTime=111.512033ms] [] [2025/04/04 10:37:02.051 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [subtaskID=107] [step=import] [takeTime=112.148593ms] [] [2025/04/04 10:37:02.143 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:02.144 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:02.146 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=57] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:02.146 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=57] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:02.177 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=57] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:37:02.179 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=57] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:02.179 +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=36] [subtasks=1] [2025/04/04 10:37:02.202 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:37:02.202 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=57] [step=import] [2025/04/04 10:37:02.205 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:02.205 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:02.205 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:02.205 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:02.205 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:02.205 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:02.205 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:02.205 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:02.205 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:02.205 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-56] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:02.205 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:02.205 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:02.208 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:02.208 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:02.208 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:02.208 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:02.208 +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=36, Mem=16GiB]"] [takeTime=277.087286ms] [] [2025/04/04 10:37:02.208 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=57] [type=ImportInto] [2025/04/04 10:37:02.215 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=57] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:37:02.238 +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=36, Mem=16GiB]"] [2025/04/04 10:37:02.245 +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 10:37:02.245 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [2025/04/04 10:37:02.246 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [2025/04/04 10:37:02.246 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [2025/04/04 10:37:02.251 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [takeTime=5.63879ms] [] [2025/04/04 10:37:02.251 +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 10:37:02.251 +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 10:37:02.251 +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 10:37:02.251 +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 10:37:02.253 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=306] [physicalTableID=306] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/04 10:37:02.254 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:02.254 +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 10:37:02.254 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [takeTime=8.231126ms] [] [2025/04/04 10:37:02.254 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [takeTime=8.378358ms] [] [2025/04/04 10:37:02.254 +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.520885ms] [] [2025/04/04 10:37:02.274 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:02.343 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:02.343 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=57] [step=post-process] [state=running] [] [2025/04/04 10:37:02.345 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=57] [2025/04/04 10:37:02.378 +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=36, Mem=16GiB]"] [takeTime=139.544075ms] [] [2025/04/04 10:37:02.378 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=57] [type=ImportInto] [2025/04/04 10:37:02.438 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=57] [2025/04/04 10:37:02.444 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:02.445 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=57] [2025/04/04 10:37:02.471 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:02.638 +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.992690739\n# Parse_time: 0.000082664\n# Compile_time: 0.000671735\n# Rewrite_time: 0.000222447\n# Optimize_time: 0.000038101\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MS43bXMsIG9wZW46NjEybnMsIGNsb3NlOjYxNG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5MS43bXMsIG9wZW46NjEybnMsIGNsb3NlOjYxNG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_csv`.`t` FROM 'gs://test-load-parquet/p?endpoint=http://127.0.0.1:4443/storage/v1/' FORMAT 'SQL';"] [2025/04/04 10:37:02.655 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:309, Type:truncate table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:02.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_csv.t;"] [2025/04/04 10:37:02.655 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:309, Type:truncate table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:02.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:02.663 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=309] [conn=2] [job="ID:309, Type:truncate table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:02.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:02.671 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 308, Table Name: t, Old Table ID: 306, Old Table Name: t)"] [2025/04/04 10:37:02.689 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=219] [neededSchemaVersion=220] ["elapsed time"=1.841808ms] [gotSchemaVersion=220] [phyTblIDs="[306,308]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:37:02.693 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=309] [version=220] [2025/04/04 10:37:02.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=220] ["take time"=9.442928ms] [job="ID:309, Type:truncate table, State:done, SchemaState:public, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:02.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:02.705 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=309] [tableIDs="[306]"] [comment="truncate table: table ID"] [2025/04/04 10:37:02.711 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=309] [jobType="truncate table"] [2025/04/04 10:37:02.712 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=309] [conn=2] [job="ID:309, Type:truncate table, State:synced, SchemaState:public, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:02.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:02.731 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=309] [2025/04/04 10:37:02.731 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=220] [cur_db=fail_job_after_import] [sql="TRUNCATE TABLE load_csv.t;"] [user=root@%] [2025/04/04 10:37:02.778 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestLoadSQLDump1980000251/001/test.sql\",\"format\":\"sql\"}"] [dist-task-enabled=true] [2025/04/04 10:37:02.779 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:37:02.779 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=42] [2025/04/04 10:37:02.779 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=42] [cost=54.556µs] [2025/04/04 10:37:02.779 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=187.491µs] [] [2025/04/04 10:37:02.798 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=58] [task-id=58] [data-size=42B] [thread-cnt=8] [global-sort=false] [2025/04/04 10:37:02.816 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=58] [2025/04/04 10:37:02.816 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:37:02.919 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:02.920 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:02.922 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=58] [curr-step=init] [next-step=import] [2025/04/04 10:37:02.931 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=58] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:02.931 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 10:37:02.969 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=58] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:37:02.991 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=58] [step=import] [2025/04/04 10:37:02.998 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:02.998 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:02.999 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:02.999 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:02.999 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:02.999 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:02.999 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:02.999 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:03.000 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:03.000 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:03.013 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:03.015 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:03.015 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:37:03.015 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=58] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:03.015 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=58] [disk-quota=347.8GiB] [2025/04/04 10:37:03.015 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:03.025 +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 10:37:03.025 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=58] [step=import] [subtask-id=109] [2025/04/04 10:37:03.028 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=58] [mode=Import] [2025/04/04 10:37:03.029 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:37:03.033 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:37:03.033 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=308] [2025/04/04 10:37:03.047 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=58] [2025/04/04 10:37:03.070 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=308] [key=test.sql:0] [2025/04/04 10:37:03.071 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=308] [key=test.sql:0] [readDur=63.976µs] [encodeDur=337.742µs] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [deliverDur=235.925µs] [type=file] [takeTime=947.161µs] [] [2025/04/04 10:37:03.072 +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/c843e2d2-2c59-46dd-8cff-c30db1b9e9f1.sst] [firstKey=7480000000000001345F728000000000000001] [lastKey=7480000000000001345F728000000000000002] [2025/04/04 10:37:03.072 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=58] [step=import] [engine-id=0] [2025/04/04 10:37:03.072 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=58] [step=import] [engine-id=0] [2025/04/04 10:37:03.072 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:37:03.074 +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.244291ms] [] [2025/04/04 10:37:03.074 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/04 10:37:03.078 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:03.100 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=2] [size=66] [2025/04/04 10:37:03.100 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:03.102 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001345f728000000000000001] [endOfAllRanges=7480000000000001345f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff345f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff345f728000000000ff0000030000000000fa] [2025/04/04 10:37:03.114 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/04 10:37:03.116 +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.336582ms] [] [2025/04/04 10:37:03.116 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:37:03.117 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.237801ms] [] [2025/04/04 10:37:03.117 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=58] [step=import] [engine-id=0] [2025/04/04 10:37:03.117 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:37:03.119 +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.653752ms] [] [2025/04/04 10:37:03.119 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/04 10:37:03.122 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:37:03.123 +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.781208ms] [] [2025/04/04 10:37:03.123 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:37:03.124 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=1.294903ms] [] [2025/04/04 10:37:03.124 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=58] [step=import] [subtask-id=109] [takeTime=99.212314ms] [] [2025/04/04 10:37:03.124 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [subtaskID=109] [step=import] [takeTime=99.371076ms] [] [2025/04/04 10:37:03.225 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:03.226 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:03.227 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=58] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:03.227 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=58] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:03.258 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=58] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:37:03.259 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=58] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:03.259 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:37:03.278 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:37:03.278 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=58] [step=import] [2025/04/04 10:37:03.281 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:03.281 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:03.281 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:03.281 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:03.281 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:03.281 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:03.281 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:03.281 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:03.281 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:03.281 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-57] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:03.281 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:03.281 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:03.283 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:03.283 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:03.283 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:03.283 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:03.283 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=267.758157ms] [] [2025/04/04 10:37:03.283 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=58] [type=ImportInto] [2025/04/04 10:37:03.296 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=58] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:37:03.317 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:03.324 +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 10:37:03.325 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [2025/04/04 10:37:03.325 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [2025/04/04 10:37:03.325 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [2025/04/04 10:37:03.331 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [takeTime=5.873311ms] [] [2025/04/04 10:37:03.331 +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 10:37:03.331 +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 10:37:03.331 +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 10:37:03.331 +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 10:37:03.333 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=308] [physicalTableID=308] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/04 10:37:03.333 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:03.333 +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 10:37:03.333 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [takeTime=8.595022ms] [] [2025/04/04 10:37:03.333 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [takeTime=8.760892ms] [] [2025/04/04 10:37:03.333 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [subtaskID=110] [step=post-process] [takeTime=8.948742ms] [] [2025/04/04 10:37:03.350 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:03.424 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:03.424 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=58] [step=post-process] [state=running] [] [2025/04/04 10:37:03.427 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=58] [2025/04/04 10:37:03.454 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=137.175873ms] [] [2025/04/04 10:37:03.454 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=58] [type=ImportInto] [2025/04/04 10:37:03.519 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=58] [2025/04/04 10:37:03.525 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:03.525 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=58] [2025/04/04 10:37:03.548 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:03.714 +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.982468626\n# Parse_time: 0.000091127\n# Compile_time: 0.000545607\n# Rewrite_time: 0.000174817\n# Optimize_time: 0.00023367\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4MS40bXMsIG9wZW46NzgzbnMsIGNsb3NlOjgxOG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4MS40bXMsIG9wZW46NzgzbnMsIGNsb3NlOjgxOG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_csv`.`t` FROM '/tmp/TestImportIntoTestLoadSQLDump1980000251/001/test.sql' FORMAT 'SQL';"] --- PASS: TestImportInto/TestLoadSQLDump (2.35s) === NAME TestImportInto === RUN TestImportInto/TestMaxWriteSpeed [2025/04/04 10:37:03.719 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=220] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS load_test_write_speed;"] [user=root@%] [2025/04/04 10:37:03.732 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:311, Type:create schema, State:queueing, SchemaState:none, SchemaID:310, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:03.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:03.732 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:311, Type:create schema, State:queueing, SchemaState:none, SchemaID:310, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:03.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_test_write_speed;"] [2025/04/04 10:37:03.738 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=311] [conn=2] [job="ID:311, Type:create schema, State:queueing, SchemaState:none, SchemaID:310, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:03.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:03.752 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=220] [neededSchemaVersion=221] ["elapsed time"=733.101µs] [gotSchemaVersion=221] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:37:03.756 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=311] [version=221] [2025/04/04 10:37:03.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=221] ["take time"=8.249888ms] [job="ID:311, Type:create schema, State:done, SchemaState:public, SchemaID:310, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:03.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:03.768 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=311] [conn=2] [job="ID:311, Type:create schema, State:synced, SchemaState:public, SchemaID:310, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:03.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:03.778 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=311] [2025/04/04 10:37:03.779 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=221] [cur_db=fail_job_after_import] [sql="CREATE DATABASE load_test_write_speed;"] [user=root@%] [2025/04/04 10:37:03.792 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:313, Type:create table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:03.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:03.792 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:313, Type:create table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:03.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_test_write_speed.t(a int, b int)"] [2025/04/04 10:37:03.798 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=313] [conn=2] [job="ID:313, Type:create table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:03.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:03.803 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 312, Table Name: t)"] [2025/04/04 10:37:03.818 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=221] [neededSchemaVersion=222] ["elapsed time"=1.618027ms] [gotSchemaVersion=222] [phyTblIDs="[312]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:03.822 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=222] [2025/04/04 10:37:03.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=222] ["take time"=8.664184ms] [job="ID:313, Type:create table, State:done, SchemaState:public, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:03.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:03.835 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=313] [conn=2] [job="ID:313, Type:create table, State:synced, SchemaState:public, SchemaID:310, TableID:312, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:03.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:03.846 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=313] [2025/04/04 10:37:03.847 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=222] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_test_write_speed.t(a int, b int)"] [user=root@%] [2025/04/04 10:37:03.856 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:03.903 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/speed-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:37:03.921 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=59] [task-id=59] [data-size=7.598KiB] [thread-cnt=36] [global-sort=false] [2025/04/04 10:37:03.935 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=59] [2025/04/04 10:37:03.935 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:37:04.037 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:04.038 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:04.039 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=59] [curr-step=init] [next-step=import] [2025/04/04 10:37:04.047 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:04.049 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:37:04.049 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=7780] [2025/04/04 10:37:04.049 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7780] [cost=43.895µs] [2025/04/04 10:37:04.049 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=129.171µs] [] [2025/04/04 10:37:04.049 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=59] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:04.049 +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=36] [subtasks=1] [2025/04/04 10:37:04.085 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=59] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:37:04.106 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=59] [step=import] [2025/04/04 10:37:04.106 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:04.113 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:04.113 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:04.113 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:04.113 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:04.114 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:04.114 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:04.114 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:04.114 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:04.114 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:04.114 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:04.126 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:04.128 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:04.128 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:37:04.128 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=59] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:04.128 +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=36, Mem=16GiB]"] [2025/04/04 10:37:04.128 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=59] [disk-quota=347.8GiB] [2025/04/04 10:37:04.136 +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 10:37:04.136 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=59] [step=import] [subtask-id=111] [2025/04/04 10:37:04.140 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/04 10:37:04.143 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=59] [mode=Import] [2025/04/04 10:37:04.144 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 10:37:04.144 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=312] [2025/04/04 10:37:04.166 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=59] [2025/04/04 10:37:04.185 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=312] [key=speed-test.csv:0] [2025/04/04 10:37:04.214 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=312] [key=speed-test.csv:0] [readDur=5.878791ms] [encodeDur=17.605095ms] [checksum="{cksum=16176383463214450733,size=34744,kvs=1000}"] [deliverDur=2.614357ms] [type=file] [takeTime=28.123785ms] [] [2025/04/04 10:37:04.214 +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/7d5779af-cb41-4e50-a3d5-0561b7370a2f.sst] [firstKey=7480000000000001385F728000000000000001] [lastKey=7480000000000001385F7280000000000003E8] [2025/04/04 10:37:04.214 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=59] [step=import] [engine-id=0] [2025/04/04 10:37:04.215 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=59] [step=import] [engine-id=0] [2025/04/04 10:37:04.215 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/04 10:37:04.217 +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.960462ms] [] [2025/04/04 10:37:04.217 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [retryCnt=0] [2025/04/04 10:37:04.221 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:04.243 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=9b4a6271-0aef-5059-a34e-0bbb1ee21829] ["region ranges"=1] [count=1000] [size=34744] [2025/04/04 10:37:04.243 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:04.245 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001385f728000000000000001] [endOfAllRanges=7480000000000001385f7280000000000003e9] [startKeyOfFirstRegion=7480000000000001ff385f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff385f728000000000ff0003e90000000000fa] [2025/04/04 10:37:04.264 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [size=34744] [kvs=1000] [importedSize=34744] [importedCount=1000] [2025/04/04 10:37:04.265 +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=48.660638ms] [] [2025/04/04 10:37:04.265 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/04 10:37:04.267 +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.113657ms] [] [2025/04/04 10:37:04.267 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=59] [step=import] [engine-id=0] [2025/04/04 10:37:04.267 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 10:37:04.268 +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.429754ms] [] [2025/04/04 10:37:04.268 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [retryCnt=0] [2025/04/04 10:37:04.272 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 10:37:04.272 +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.58741ms] [] [2025/04/04 10:37:04.272 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 10:37:04.273 +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.089483ms] [] [2025/04/04 10:37:04.273 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=59] [step=import] [subtask-id=111] [takeTime=136.967648ms] [] [2025/04/04 10:37:04.273 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [subtaskID=111] [step=import] [takeTime=137.096569ms] [] [2025/04/04 10:37:04.342 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:04.343 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:04.344 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=59] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:04.344 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=59] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:04.375 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=59] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1000}"] [2025/04/04 10:37:04.376 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=59] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:04.376 +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=36] [subtasks=1] [2025/04/04 10:37:04.410 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:37:04.417 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=59] [step=import] [2025/04/04 10:37:04.419 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:04.419 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:04.419 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:04.419 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:04.419 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:04.419 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:04.419 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:04.419 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:04.419 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:04.419 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-58] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:04.420 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:04.420 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:04.422 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:04.422 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:04.422 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:04.422 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:04.422 +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=36, Mem=16GiB]"] [takeTime=293.612993ms] [] [2025/04/04 10:37:04.423 +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=36, Mem=16GiB]"] [2025/04/04 10:37:04.430 +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 10:37:04.430 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [2025/04/04 10:37:04.430 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [2025/04/04 10:37:04.430 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [2025/04/04 10:37:04.436 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [takeTime=5.468159ms] [] [2025/04/04 10:37:04.436 +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 10:37:04.436 +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 10:37:04.436 +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 10:37:04.436 +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 10:37:04.438 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=312] [physicalTableID=312] [indexID=-1] [checksum=16176383463214450733] [totalKvs=1000] [totalBytes=34744] [2025/04/04 10:37:04.439 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:04.439 +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 10:37:04.439 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [takeTime=8.666719ms] [] [2025/04/04 10:37:04.439 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [takeTime=8.848678ms] [] [2025/04/04 10:37:04.439 +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=8.999068ms] [] [2025/04/04 10:37:04.458 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:04.543 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:04.543 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=59] [step=post-process] [state=running] [] [2025/04/04 10:37:04.545 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=59] [2025/04/04 10:37:04.576 +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=36, Mem=16GiB]"] [takeTime=152.69866ms] [] [2025/04/04 10:37:04.576 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=59] [type=ImportInto] [2025/04/04 10:37:04.637 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=59] [2025/04/04 10:37:04.643 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:04.643 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=59] [2025/04/04 10:37:04.664 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:04.838 +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.987117655\n# Parse_time: 0.000104469\n# Compile_time: 0.000594835\n# Rewrite_time: 0.000147248\n# Optimize_time: 0.000258866\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ni4ybXMsIG9wZW46NzAxbnMsIGNsb3NlOjEuMTHCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk4Ni4ybXMsIG9wZW46NzAxbnMsIGNsb3NlOjEuMTHCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_test_write_speed`.`t` FROM 'gs://test-load/speed-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 10:37:04.855 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:315, Type:truncate table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:04.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:04.855 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:315, Type:truncate table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:04.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_test_write_speed.t;"] [2025/04/04 10:37:04.862 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=315] [conn=2] [job="ID:315, Type:truncate table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:04.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:04.870 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 314, Table Name: t, Old Table ID: 312, Old Table Name: t)"] [2025/04/04 10:37:04.885 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=222] [neededSchemaVersion=223] ["elapsed time"=1.829142ms] [gotSchemaVersion=223] [phyTblIDs="[312,314]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:37:04.889 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=315] [version=223] [2025/04/04 10:37:04.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=223] ["take time"=9.615675ms] [job="ID:315, Type:truncate table, State:done, SchemaState:public, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:04.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:04.901 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=315] [tableIDs="[312]"] [comment="truncate table: table ID"] [2025/04/04 10:37:04.906 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=315] [jobType="truncate table"] [2025/04/04 10:37:04.907 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=315] [conn=2] [job="ID:315, Type:truncate table, State:synced, SchemaState:public, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:04.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:04.924 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=315] [2025/04/04 10:37:04.925 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=223] [cur_db=fail_job_after_import] [sql="TRUNCATE TABLE load_test_write_speed.t;"] [user=root@%] [2025/04/04 10:37:04.931 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:04.979 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/speed-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"max_write_speed\":\"6000\"}}"] [dist-task-enabled=true] [2025/04/04 10:37:05.000 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=60] [task-id=60] [data-size=7.598KiB] [thread-cnt=36] [global-sort=false] [2025/04/04 10:37:05.015 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=60] [2025/04/04 10:37:05.015 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:37:05.117 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:05.118 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:05.119 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=60] [curr-step=init] [next-step=import] [2025/04/04 10:37:05.127 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:05.129 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:37:05.130 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=7780] [2025/04/04 10:37:05.130 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7780] [cost=45.195µs] [2025/04/04 10:37:05.130 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=148.678µs] [] [2025/04/04 10:37:05.130 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=60] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:05.130 +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=36] [subtasks=1] [2025/04/04 10:37:05.167 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=60] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:37:05.187 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=60] [step=import] [2025/04/04 10:37:05.187 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:05.198 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:05.198 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:05.198 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:05.198 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:05.198 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:05.198 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:05.198 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:05.199 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:05.199 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:05.199 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:05.212 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:05.213 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:05.213 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:37:05.214 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=60] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:05.214 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=60] [disk-quota=347.8GiB] [2025/04/04 10:37:05.214 +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=36, Mem=16GiB]"] [2025/04/04 10:37:05.222 +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 10:37:05.222 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=60] [step=import] [subtask-id=113] [2025/04/04 10:37:05.224 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=60] [mode=Import] [2025/04/04 10:37:05.226 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/04 10:37:05.229 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 10:37:05.230 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=314] [2025/04/04 10:37:05.243 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=60] [2025/04/04 10:37:05.269 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=314] [key=speed-test.csv:0] [2025/04/04 10:37:05.302 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=314] [key=speed-test.csv:0] [readDur=7.353031ms] [encodeDur=21.153391ms] [checksum="{cksum=16176383463214450733,size=34744,kvs=1000}"] [deliverDur=2.604771ms] [type=file] [takeTime=33.071041ms] [] [2025/04/04 10:37:05.303 +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/20e764cf-7232-4c64-babf-001d223ba1a8.sst] [firstKey=74800000000000013A5F728000000000000001] [lastKey=74800000000000013A5F7280000000000003E8] [2025/04/04 10:37:05.303 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=60] [step=import] [engine-id=0] [2025/04/04 10:37:05.303 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=60] [step=import] [engine-id=0] [2025/04/04 10:37:05.303 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/04 10:37:05.305 +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.432468ms] [] [2025/04/04 10:37:05.305 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [retryCnt=0] [2025/04/04 10:37:05.310 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:05.332 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=9b4a6271-0aef-5059-a34e-0bbb1ee21829] ["region ranges"=1] [count=1000] [size=34744] [2025/04/04 10:37:05.332 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:05.334 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000013a5f728000000000000001] [endOfAllRanges=74800000000000013a5f7280000000000003e9] [startKeyOfFirstRegion=7480000000000001ff3a5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff3a5f728000000000ff0003e90000000000fa] [2025/04/04 10:37:07.204 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:37:13.100 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:37:14.885 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [size=34744] [kvs=1000] [importedSize=34744] [importedCount=1000] [2025/04/04 10:37:14.887 +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.581559798s] [] [2025/04/04 10:37:14.887 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/04 10:37:14.889 +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.358543ms] [] [2025/04/04 10:37:14.889 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=60] [step=import] [engine-id=0] [2025/04/04 10:37:14.889 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 10:37:14.891 +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.841811ms] [] [2025/04/04 10:37:14.891 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [retryCnt=0] [2025/04/04 10:37:14.895 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 10:37:14.895 +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.086835ms] [] [2025/04/04 10:37:14.895 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 10:37:14.896 +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.031423ms] [] [2025/04/04 10:37:14.896 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=60] [step=import] [subtask-id=113] [takeTime=9.674065571s] [] [2025/04/04 10:37:14.896 +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.674204537s] [] [2025/04/04 10:37:14.923 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:14.924 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:14.925 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=60] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:14.925 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=60] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:14.957 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=60] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1000}"] [2025/04/04 10:37:14.958 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=60] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:14.958 +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=36] [subtasks=1] [2025/04/04 10:37:14.981 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:37:14.988 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=60] [step=import] [2025/04/04 10:37:14.991 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:14.991 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:14.991 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:14.991 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:14.991 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:14.991 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:14.991 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:14.991 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:14.991 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:14.991 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-59] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:14.991 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:14.991 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:14.994 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:14.994 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:14.994 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:14.994 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:14.994 +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=36, Mem=16GiB]"] [takeTime=9.779914283s] [] [2025/04/04 10:37:14.995 +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=36, Mem=16GiB]"] [2025/04/04 10:37:15.003 +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 10:37:15.003 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [2025/04/04 10:37:15.003 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [2025/04/04 10:37:15.003 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [2025/04/04 10:37:15.009 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [takeTime=5.825795ms] [] [2025/04/04 10:37:15.009 +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 10:37:15.009 +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 10:37:15.009 +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 10:37:15.009 +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 10:37:15.012 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=314] [physicalTableID=314] [indexID=-1] [checksum=16176383463214450733] [totalKvs=1000] [totalBytes=34744] [2025/04/04 10:37:15.012 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:15.012 +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 10:37:15.012 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [takeTime=9.480118ms] [] [2025/04/04 10:37:15.012 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [takeTime=9.634671ms] [] [2025/04/04 10:37:15.012 +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.76175ms] [] [2025/04/04 10:37:15.022 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:15.023 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=60] [step=post-process] [state=running] [] [2025/04/04 10:37:15.024 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:15.025 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=60] [2025/04/04 10:37:15.041 +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=36, Mem=16GiB]"] [takeTime=45.816931ms] [] [2025/04/04 10:37:15.041 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=60] [type=ImportInto] [2025/04/04 10:37:15.117 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=60] [2025/04/04 10:37:15.124 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:15.124 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=60] [2025/04/04 10:37:15.145 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:15.217 +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.292159916\n# Parse_time: 0.000102312\n# Compile_time: 0.000541673\n# Rewrite_time: 0.000159986\n# Optimize_time: 0.000504641\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEwLjNzLCBvcGVuOjYxNW5zLCBjbG9zZTo4NjJucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEwLjNzLCBvcGVuOjYxNW5zLCBjbG9zZTo4NjJucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_test_write_speed`.`t` FROM 'gs://test-load/speed-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH max_write_speed=_UTF8MB4'6000';"] --- PASS: TestImportInto/TestMaxWriteSpeed (11.50s) === NAME TestImportInto === RUN TestImportInto/TestMultiValueIndex [2025/04/04 10:37:15.235 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:316, Type:drop schema, State:queueing, SchemaState:public, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:15.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_csv;"] [2025/04/04 10:37:15.235 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:316, Type:drop schema, State:queueing, SchemaState:public, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:15.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:15.241 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=316] [conn=2] [job="ID:316, Type:drop schema, State:queueing, SchemaState:public, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:15.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:15.263 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=223] [neededSchemaVersion=224] ["elapsed time"=2.131105ms] [gotSchemaVersion=224] [phyTblIDs="[308]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:15.266 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=224] [2025/04/04 10:37:15.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=224] ["take time"=10.14063ms] [job="ID:316, Type:drop schema, State:running, SchemaState:write only, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:15.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:15.279 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=316] [conn=2] [job="ID:316, Type:drop schema, State:running, SchemaState:write only, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:15.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:15.293 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=224] [neededSchemaVersion=225] ["elapsed time"=141.919µs] [gotSchemaVersion=225] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:15.297 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=225] [2025/04/04 10:37:15.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=225] ["take time"=7.988897ms] [job="ID:316, Type:drop schema, State:running, SchemaState:delete only, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:15.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:15.307 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=316] [conn=2] [job="ID:316, Type:drop schema, State:running, SchemaState:delete only, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:15.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:15.313 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:37:15.324 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=225] [neededSchemaVersion=226] ["elapsed time"=138.791µs] [gotSchemaVersion=226] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:15.328 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=226] [2025/04/04 10:37:15.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=226] ["take time"=7.811279ms] [job="ID:316, Type:drop schema, State:done, SchemaState:none, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:15.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:15.339 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=316] [tableIDs="[308]"] [comment="drop schema: table IDs"] [2025/04/04 10:37:15.343 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=316] [jobType="drop schema"] [2025/04/04 10:37:15.344 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=316] [conn=2] [job="ID:316, Type:drop schema, State:synced, SchemaState:none, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:15.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:15.361 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=316] [2025/04/04 10:37:15.361 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=226] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS load_csv;"] [user=root@%] [2025/04/04 10:37:15.373 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:318, Type:create schema, State:queueing, SchemaState:none, SchemaID:317, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:15.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/04 10:37:15.373 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:318, Type:create schema, State:queueing, SchemaState:none, SchemaID:317, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:15.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:15.379 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=318] [conn=2] [job="ID:318, Type:create schema, State:queueing, SchemaState:none, SchemaID:317, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:15.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:15.393 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=226] [neededSchemaVersion=227] ["elapsed time"=705.638µs] [gotSchemaVersion=227] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:37:15.396 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=318] [version=227] [2025/04/04 10:37:15.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=227] ["take time"=10.992767ms] [job="ID:318, Type:create schema, State:done, SchemaState:public, SchemaID:317, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:15.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:15.412 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=318] [conn=2] [job="ID:318, Type:create schema, State:synced, SchemaState:public, SchemaID:317, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:15.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:15.422 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=318] [2025/04/04 10:37:15.422 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=227] [cur_db=fail_job_after_import] [sql="CREATE DATABASE load_csv;"] [user=root@%] [2025/04/04 10:37:15.438 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:320, Type:create table, State:queueing, SchemaState:none, SchemaID:317, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:15.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:15.438 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:320, Type:create table, State:queueing, SchemaState:none, SchemaID:317, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:15.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_csv.t (\n\t\ti INT, j JSON,\n\t\tKEY idx ((cast(j as signed array)))\n\t\t);"] [2025/04/04 10:37:15.444 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=320] [conn=2] [job="ID:320, Type:create table, State:queueing, SchemaState:none, SchemaID:317, TableID:319, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:15.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:15.450 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 319, Table Name: t)"] [2025/04/04 10:37:15.468 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=227] [neededSchemaVersion=228] ["elapsed time"=2.210372ms] [gotSchemaVersion=228] [phyTblIDs="[319]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:15.472 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=320] [version=228] [2025/04/04 10:37:15.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=228] ["take time"=9.836483ms] [job="ID:320, Type:create table, State:done, SchemaState:public, SchemaID:317, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:15.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:15.485 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=320] [conn=2] [job="ID:320, Type:create table, State:synced, SchemaState:public, SchemaID:317, TableID:319, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:15.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:15.498 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=320] [2025/04/04 10:37:15.498 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=228] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_csv.t (\n\t\ti INT, j JSON,\n\t\tKEY idx ((cast(j as signed array)))\n\t\t);"] [user=root@%] [2025/04/04 10:37:15.505 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:15.552 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load-csv/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"skip_rows\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:37:15.573 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=61] [task-id=61] [data-size=27B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:37:15.588 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=61] [2025/04/04 10:37:15.588 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:37:15.690 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:15.692 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:15.693 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=61] [curr-step=init] [next-step=import] [2025/04/04 10:37:15.702 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:15.704 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:37:15.704 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=27] [2025/04/04 10:37:15.704 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=27] [cost=48.594µs] [2025/04/04 10:37:15.704 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=171.608µs] [] [2025/04/04 10:37:15.704 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=61] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:15.704 +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=36] [subtasks=1] [2025/04/04 10:37:15.746 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=61] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:37:15.766 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=61] [step=import] [2025/04/04 10:37:15.767 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:15.775 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:15.775 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:15.776 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:15.776 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:15.776 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:15.776 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:15.776 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:15.776 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:15.777 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:15.777 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:15.789 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:15.791 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:15.791 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:37:15.791 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=61] [step=import] [data-buf-limit=170.7MiB] [per-index-buf-limit=56.89MiB] [index-buf-block-size=56.89MiB] [2025/04/04 10:37:15.792 +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=36, Mem=16GiB]"] [2025/04/04 10:37:15.792 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=61] [disk-quota=347.8GiB] [2025/04/04 10:37:15.797 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=61] [mode=Import] [2025/04/04 10:37:15.799 +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 10:37:15.799 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=61] [step=import] [subtask-id=115] [2025/04/04 10:37:15.804 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:37:15.807 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:37:15.808 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=319] [2025/04/04 10:37:15.833 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=61] [2025/04/04 10:37:15.852 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=319] [key=1.csv:0] [2025/04/04 10:37:15.854 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=319] [key=1.csv:0] [readDur=79.92µs] [encodeDur=474.823µs] [checksum="{cksum=759382885805277567,size=388,kvs=8}"] [deliverDur=454.835µs] [type=file] [takeTime=1.366146ms] [] [2025/04/04 10:37:15.855 +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/25b945fa-4d6f-4192-8cfb-01fc4c7a3b77.sst] [firstKey=74800000000000013F5F728000000000000001] [lastKey=74800000000000013F5F728000000000000002] [2025/04/04 10:37:15.855 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=61] [step=import] [engine-id=0] [2025/04/04 10:37:15.855 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=61] [step=import] [engine-id=0] [2025/04/04 10:37:15.855 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:37:15.857 +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.313362ms] [] [2025/04/04 10:37:15.857 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/04 10:37:15.862 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:15.884 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=2] [size=160] [2025/04/04 10:37:15.884 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:15.886 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000013f5f728000000000000001] [endOfAllRanges=74800000000000013f5f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff3f5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff3f5f728000000000ff0000030000000000fa] [2025/04/04 10:37:15.897 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=160] [kvs=2] [importedSize=160] [importedCount=2] [2025/04/04 10:37:15.899 +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.343065ms] [] [2025/04/04 10:37:15.899 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:37:15.900 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.109151ms] [] [2025/04/04 10:37:15.900 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=61] [step=import] [engine-id=0] [2025/04/04 10:37:15.900 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:37:15.900 +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/5db1a93c-a573-4142-935d-2593b25d4fb8.sst] [firstKey=74800000000000013F5F698000000000000001038000000000000001038000000000000001] [lastKey=74800000000000013F5F698000000000000001038000000000000004038000000000000002] [2025/04/04 10:37:15.903 +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.479149ms] [] [2025/04/04 10:37:15.903 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/04 10:37:15.907 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:15.929 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=922fc444-c86f-5359-8d65-4e59ab5cb948] ["region ranges"=1] [count=6] [size=228] [2025/04/04 10:37:15.929 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:15.931 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000013f5f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=74800000000000013f5f69800000000000000103800000000000000403800000000000000200] [startKeyOfFirstRegion=7480000000000001ff3f5f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000001ff3f5f698000000000ff0000010380000000ff0000000403800000ff0000000002000000fd] [2025/04/04 10:37:15.944 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=922fc444-c86f-5359-8d65-4e59ab5cb948] [size=228] [kvs=6] [importedSize=228] [importedCount=6] [2025/04/04 10:37:15.947 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [takeTime=43.983174ms] [] [2025/04/04 10:37:15.947 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:37:15.948 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=1.512679ms] [] [2025/04/04 10:37:15.949 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=61] [step=import] [subtask-id=115] [takeTime=149.040009ms] [] [2025/04/04 10:37:15.949 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [subtaskID=115] [step=import] [takeTime=149.195307ms] [] [2025/04/04 10:37:15.995 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:15.997 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:15.998 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=61] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:15.998 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=61] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:16.028 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=61] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:37:16.029 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=61] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:16.029 +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=36] [subtasks=1] [2025/04/04 10:37:16.053 +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 10:37:16.060 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=61] [step=import] [2025/04/04 10:37:16.065 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:16.065 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:16.065 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:16.065 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:16.065 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:16.065 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:16.065 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-60] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:16.065 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:16.065 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:16.065 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:16.065 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:16.065 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:16.067 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:16.067 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:16.067 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:16.067 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:16.067 +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=36, Mem=16GiB]"] [takeTime=275.30331ms] [] [2025/04/04 10:37:16.068 +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=36, Mem=16GiB]"] [2025/04/04 10:37:16.076 +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 10:37:16.076 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [2025/04/04 10:37:16.076 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [2025/04/04 10:37:16.076 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [2025/04/04 10:37:16.083 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [takeTime=6.296694ms] [] [2025/04/04 10:37:16.083 +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 10:37:16.083 +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 10:37:16.083 +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 10:37:16.083 +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 10:37:16.083 +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 10:37:16.088 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=319] [physicalTableID=319] [indexID=-1] [checksum=15615775900203205091] [totalKvs=2] [totalBytes=160] [2025/04/04 10:37:16.090 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=319] [physicalTableID=319] [indexID=1] [checksum=15150038536865480860] [totalKvs=6] [totalBytes=228] [2025/04/04 10:37:16.090 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:16.090 +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 10:37:16.090 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [takeTime=13.984237ms] [] [2025/04/04 10:37:16.090 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [takeTime=14.142635ms] [] [2025/04/04 10:37:16.090 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [subtaskID=116] [step=post-process] [takeTime=14.299881ms] [] [2025/04/04 10:37:16.103 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:16.196 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:16.196 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=61] [step=post-process] [state=running] [] [2025/04/04 10:37:16.199 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=61] [2025/04/04 10:37:16.216 +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=36, Mem=16GiB]"] [takeTime=147.191105ms] [] [2025/04/04 10:37:16.216 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=61] [type=ImportInto] [2025/04/04 10:37:16.290 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=61] [2025/04/04 10:37:16.297 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:16.297 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=61] [2025/04/04 10:37:16.321 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:16.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.991362879\n# Parse_time: 0.000128724\n# Compile_time: 0.000766559\n# Rewrite_time: 0.000363576\n# Optimize_time: 0.00066746\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MC4ybXMsIG9wZW46NjA3bnMsIGNsb3NlOjEuMjbCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk5MC4ybXMsIG9wZW46NjA3bnMsIGNsb3NlOjEuMjbCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\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.27s) === NAME TestImportInto === RUN TestImportInto/TestOtherCharset [2025/04/04 10:37:16.507 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:321, Type:drop schema, State:queueing, SchemaState:public, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:16.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:16.507 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:321, Type:drop schema, State:queueing, SchemaState:public, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:16.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_charset;"] [2025/04/04 10:37:16.513 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=2] [job="ID:321, Type:drop schema, State:queueing, SchemaState:public, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:16.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:16.531 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=228] [neededSchemaVersion=229] ["elapsed time"=2.132089ms] [gotSchemaVersion=229] [phyTblIDs="[222,226]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:16.535 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=229] [2025/04/04 10:37:16.537 +00:00] [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"=9.703412ms] [job="ID:321, Type:drop schema, State:running, SchemaState:write only, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:16.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:16.547 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=2] [job="ID:321, Type:drop schema, State:running, SchemaState:write only, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:16.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:16.559 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=229] [neededSchemaVersion=230] ["elapsed time"=142.677µs] [gotSchemaVersion=230] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:16.563 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=230] [2025/04/04 10:37:16.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=230] ["take time"=7.728811ms] [job="ID:321, Type:drop schema, State:running, SchemaState:delete only, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:16.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:16.573 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=2] [job="ID:321, Type:drop schema, State:running, SchemaState:delete only, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:16.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:16.579 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:37:16.589 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=230] [neededSchemaVersion=231] ["elapsed time"=131.89µs] [gotSchemaVersion=231] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:16.593 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=231] [2025/04/04 10:37:16.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=231] ["take time"=7.550402ms] [job="ID:321, Type:drop schema, State:done, SchemaState:none, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:16.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:16.603 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=321] [tableIDs="[222,226]"] [comment="drop schema: table IDs"] [2025/04/04 10:37:16.608 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=321] [jobType="drop schema"] [2025/04/04 10:37:16.609 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=321] [conn=2] [job="ID:321, Type:drop schema, State:synced, SchemaState:none, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:16.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:16.625 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=321] [2025/04/04 10:37:16.625 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=231] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS load_charset;"] [user=root@%] [2025/04/04 10:37:16.637 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:323, Type:create schema, State:queueing, SchemaState:none, SchemaID:322, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:16.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:16.637 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:323, Type:create schema, State:queueing, SchemaState:none, SchemaID:322, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:16.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_charset;"] [2025/04/04 10:37:16.642 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=323] [conn=2] [job="ID:323, Type:create schema, State:queueing, SchemaState:none, SchemaID:322, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:16.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:16.656 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=231] [neededSchemaVersion=232] ["elapsed time"=680.126µs] [gotSchemaVersion=232] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:37:16.659 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=323] [version=232] [2025/04/04 10:37:16.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=232] ["take time"=8.118212ms] [job="ID:323, Type:create schema, State:done, SchemaState:public, SchemaID:322, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:16.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:16.671 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=323] [conn=2] [job="ID:323, Type:create schema, State:synced, SchemaState:public, SchemaID:322, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:16.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:16.681 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=323] [2025/04/04 10:37:16.681 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=232] [cur_db=fail_job_after_import] [sql="CREATE DATABASE load_charset;"] [user=root@%] [2025/04/04 10:37:16.695 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:16.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:16.695 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:16.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.utf8 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8;"] [2025/04/04 10:37:16.700 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=325] [conn=2] [job="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:324, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:16.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:16.705 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 324, Table Name: utf8)"] [2025/04/04 10:37:16.720 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=232] [neededSchemaVersion=233] ["elapsed time"=1.723709ms] [gotSchemaVersion=233] [phyTblIDs="[324]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:16.724 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=325] [version=233] [2025/04/04 10:37:16.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=233] ["take time"=8.886914ms] [job="ID:325, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:16.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:16.736 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=325] [conn=2] [job="ID:325, Type:create table, State:synced, SchemaState:public, SchemaID:322, TableID:324, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:16.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:16.748 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=325] [2025/04/04 10:37:16.748 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=233] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.utf8 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8;"] [user=root@%] [2025/04/04 10:37:16.761 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:327, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:16.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:16.761 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:327, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:16.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.utf8mb4 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8mb4;"] [2025/04/04 10:37:16.768 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=327] [conn=2] [job="ID:327, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:16.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:16.772 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 326, Table Name: utf8mb4)"] [2025/04/04 10:37:16.787 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=233] [neededSchemaVersion=234] ["elapsed time"=1.663846ms] [gotSchemaVersion=234] [phyTblIDs="[326]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:16.791 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=327] [version=234] [2025/04/04 10:37:16.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=234] ["take time"=9.062874ms] [job="ID:327, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:16.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:16.804 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=327] [conn=2] [job="ID:327, Type:create table, State:synced, SchemaState:public, SchemaID:322, TableID:326, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:16.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:16.816 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=327] [2025/04/04 10:37:16.816 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=234] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.utf8mb4 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8mb4;"] [user=root@%] [2025/04/04 10:37:16.823 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:16.870 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/utf8.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"utf8\"}}"] [dist-task-enabled=true] [2025/04/04 10:37:16.889 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=62] [task-id=62] [data-size=29B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:37:16.903 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=62] [2025/04/04 10:37:16.903 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:37:17.005 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:17.006 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:17.007 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=62] [curr-step=init] [next-step=import] [2025/04/04 10:37:17.015 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:17.017 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8] [2025/04/04 10:37:17.017 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8] [before=536870912000] [after=29] [2025/04/04 10:37:17.017 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=29] [cost=45.436µs] [2025/04/04 10:37:17.017 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8] [takeTime=184.625µs] [] [2025/04/04 10:37:17.017 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=62] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:17.017 +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=36] [subtasks=1] [2025/04/04 10:37:17.057 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=62] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:37:17.077 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=62] [step=import] [2025/04/04 10:37:17.077 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:17.085 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:17.085 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:17.085 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:17.086 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:17.086 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:17.086 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:17.086 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:17.086 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:17.086 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:17.087 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:17.098 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:17.100 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:17.100 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=utf8] [quota=373.5GB] [2025/04/04 10:37:17.100 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=62] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:17.101 +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=36, Mem=16GiB]"] [2025/04/04 10:37:17.101 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8] [import-id=62] [disk-quota=347.8GiB] [2025/04/04 10:37:17.108 +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 10:37:17.108 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=62] [step=import] [subtask-id=117] [2025/04/04 10:37:17.111 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=62] [mode=Import] [2025/04/04 10:37:17.112 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [2025/04/04 10:37:17.116 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/04 10:37:17.116 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=324] [2025/04/04 10:37:17.131 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=62] [2025/04/04 10:37:17.154 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=324] [key=utf8.tsv:0] [2025/04/04 10:37:17.156 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=324] [key=utf8.tsv:0] [readDur=965.12µs] [encodeDur=239.809µs] [checksum="{cksum=13472460632354338593,size=88,kvs=2}"] [deliverDur=217.222µs] [type=file] [takeTime=1.66546ms] [] [2025/04/04 10:37:17.156 +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/a13b5e65-5048-406c-9aa0-511c11c3be1f.sst] [firstKey=7480000000000001445F728000000000000001] [lastKey=7480000000000001445F728000000000000002] [2025/04/04 10:37:17.156 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=62] [step=import] [engine-id=0] [2025/04/04 10:37:17.156 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=62] [step=import] [engine-id=0] [2025/04/04 10:37:17.157 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [2025/04/04 10:37:17.159 +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.019169ms] [] [2025/04/04 10:37:17.159 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [retryCnt=0] [2025/04/04 10:37:17.163 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:17.185 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=11721d0c-587e-542e-9623-9a54305cb4a0] ["region ranges"=1] [count=2] [size=88] [2025/04/04 10:37:17.185 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:17.187 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001445f728000000000000001] [endOfAllRanges=7480000000000001445f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff445f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff445f728000000000ff0000030000000000fa] [2025/04/04 10:37:17.199 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=11721d0c-587e-542e-9623-9a54305cb4a0] [size=88] [kvs=2] [importedSize=88] [importedCount=2] [2025/04/04 10:37:17.201 +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=42.163542ms] [] [2025/04/04 10:37:17.201 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [2025/04/04 10:37:17.202 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [takeTime=1.114086ms] [] [2025/04/04 10:37:17.202 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=62] [step=import] [engine-id=0] [2025/04/04 10:37:17.202 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/04 10:37:17.204 +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.595763ms] [] [2025/04/04 10:37:17.204 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [retryCnt=0] [2025/04/04 10:37:17.208 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/04 10:37:17.208 +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.76217ms] [] [2025/04/04 10:37:17.208 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/04 10:37:17.209 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [takeTime=997.607µs] [] [2025/04/04 10:37:17.209 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=62] [step=import] [subtask-id=117] [takeTime=100.365325ms] [] [2025/04/04 10:37:17.210 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [subtaskID=117] [step=import] [takeTime=101.594122ms] [] [2025/04/04 10:37:17.311 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:17.312 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:17.313 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=62] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:17.313 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=62] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:17.344 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=62] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:37:17.345 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=62] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:17.345 +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=36] [subtasks=1] [2025/04/04 10:37:17.486 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:37:17.486 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=62] [step=import] [2025/04/04 10:37:17.490 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:17.491 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:17.491 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:17.491 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:17.491 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:17.491 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:17.491 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:17.491 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:17.491 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:17.491 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:17.491 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:17.491 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-61] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:17.495 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:17.495 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:17.495 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:17.495 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:17.495 +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=36, Mem=16GiB]"] [takeTime=394.101132ms] [] [2025/04/04 10:37:17.495 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=62] [type=ImportInto] [2025/04/04 10:37:17.508 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=62] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:37:17.528 +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=36, Mem=16GiB]"] [2025/04/04 10:37:17.536 +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 10:37:17.536 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [2025/04/04 10:37:17.536 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [2025/04/04 10:37:17.536 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [2025/04/04 10:37:17.542 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [takeTime=5.907169ms] [] [2025/04/04 10:37:17.542 +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 10:37:17.543 +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 10:37:17.543 +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 10:37:17.543 +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 10:37:17.545 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=324] [physicalTableID=324] [indexID=-1] [checksum=13472460632354338593] [totalKvs=2] [totalBytes=88] [2025/04/04 10:37:17.545 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:17.545 +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 10:37:17.546 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [takeTime=9.070068ms] [] [2025/04/04 10:37:17.546 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [takeTime=9.294283ms] [] [2025/04/04 10:37:17.546 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [subtaskID=118] [step=post-process] [takeTime=9.424011ms] [] [2025/04/04 10:37:17.573 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:17.610 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:17.610 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=62] [step=post-process] [state=running] [] [2025/04/04 10:37:17.613 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=62] [2025/04/04 10:37:17.634 +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=36, Mem=16GiB]"] [takeTime=105.55727ms] [] [2025/04/04 10:37:17.634 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=62] [type=ImportInto] [2025/04/04 10:37:17.705 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=62] [2025/04/04 10:37:17.711 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:17.711 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=62] [2025/04/04 10:37:17.732 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:17.807 +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.989708244\n# Parse_time: 0.000183807\n# Compile_time: 0.000769312\n# Rewrite_time: 0.000231551\n# Optimize_time: 0.000289864\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OC40bXMsIG9wZW46ODIxbnMsIGNsb3NlOjU1OW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OC40bXMsIG9wZW46ODIxbnMsIGNsb3NlOjU1OW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_charset`.`utf8` FROM 'gs://test-load/utf8.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'utf8';"] [2025/04/04 10:37:17.817 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:17.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 10:37:17.888 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=63] [task-id=63] [data-size=29B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:37:17.903 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=63] [2025/04/04 10:37:17.903 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:37:18.005 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:18.006 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:18.007 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=63] [curr-step=init] [next-step=import] [2025/04/04 10:37:18.016 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:18.019 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8mb4] [2025/04/04 10:37:18.019 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8mb4] [before=536870912000] [after=29] [2025/04/04 10:37:18.019 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8mb4] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=29] [cost=38.168µs] [2025/04/04 10:37:18.019 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8mb4] [takeTime=132.409µs] [] [2025/04/04 10:37:18.019 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=63] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:18.019 +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=36] [subtasks=1] [2025/04/04 10:37:18.056 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=63] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:37:18.076 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=63] [step=import] [2025/04/04 10:37:18.077 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:18.085 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:18.085 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:18.085 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:18.085 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:18.086 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:18.086 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:18.086 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:18.086 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:18.087 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:18.087 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:18.100 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:18.102 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:18.102 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=utf8mb4] [quota=373.5GB] [2025/04/04 10:37:18.102 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=63] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:18.102 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8mb4] [import-id=63] [disk-quota=347.8GiB] [2025/04/04 10:37:18.102 +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=36, Mem=16GiB]"] [2025/04/04 10:37:18.110 +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 10:37:18.110 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=63] [step=import] [subtask-id=119] [2025/04/04 10:37:18.113 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=63] [mode=Import] [2025/04/04 10:37:18.114 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 10:37:18.119 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 10:37:18.119 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=326] [2025/04/04 10:37:18.132 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=63] [2025/04/04 10:37:18.157 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=326] [key=utf8.tsv:0] [2025/04/04 10:37:18.159 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=326] [key=utf8.tsv:0] [readDur=1.18499ms] [encodeDur=234.182µs] [checksum="{cksum=13472460632354338593,size=88,kvs=2}"] [deliverDur=203.511µs] [type=file] [takeTime=1.934832ms] [] [2025/04/04 10:37:18.160 +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/90225080-ec89-4adc-a51b-44473276d4e7.sst] [firstKey=7480000000000001465F728000000000000001] [lastKey=7480000000000001465F728000000000000002] [2025/04/04 10:37:18.160 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=63] [step=import] [engine-id=0] [2025/04/04 10:37:18.160 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=63] [step=import] [engine-id=0] [2025/04/04 10:37:18.160 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 10:37:18.163 +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.427753ms] [] [2025/04/04 10:37:18.163 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [retryCnt=0] [2025/04/04 10:37:18.167 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:18.189 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] ["region ranges"=1] [count=2] [size=88] [2025/04/04 10:37:18.189 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:18.191 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001465f728000000000000001] [endOfAllRanges=7480000000000001465f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff465f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff465f728000000000ff0000030000000000fa] [2025/04/04 10:37:18.203 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [size=88] [kvs=2] [importedSize=88] [importedCount=2] [2025/04/04 10:37:18.204 +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.409652ms] [] [2025/04/04 10:37:18.204 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 10:37:18.206 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [takeTime=1.471442ms] [] [2025/04/04 10:37:18.206 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=63] [step=import] [engine-id=0] [2025/04/04 10:37:18.206 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 10:37:18.208 +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.607866ms] [] [2025/04/04 10:37:18.208 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [retryCnt=0] [2025/04/04 10:37:18.211 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 10:37:18.211 +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.684734ms] [] [2025/04/04 10:37:18.212 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 10:37:18.212 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [takeTime=901.767µs] [] [2025/04/04 10:37:18.213 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=63] [step=import] [subtask-id=119] [takeTime=102.152153ms] [] [2025/04/04 10:37:18.213 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [subtaskID=119] [step=import] [takeTime=102.296175ms] [] [2025/04/04 10:37:18.310 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:18.311 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:18.312 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=63] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:18.312 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=63] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:18.342 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=63] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:37:18.344 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=63] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:18.344 +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=36] [subtasks=1] [2025/04/04 10:37:18.363 +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 10:37:18.363 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=63] [step=import] [2025/04/04 10:37:18.365 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:18.365 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:18.365 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:18.365 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:18.365 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:18.365 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:18.365 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:18.366 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:18.366 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:18.366 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:18.366 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:18.365 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-62] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:18.368 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:18.368 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:18.368 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:18.368 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:18.368 +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=36, Mem=16GiB]"] [takeTime=265.282122ms] [] [2025/04/04 10:37:18.368 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=63] [type=ImportInto] [2025/04/04 10:37:18.376 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=63] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:37:18.395 +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=36, Mem=16GiB]"] [2025/04/04 10:37:18.403 +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 10:37:18.403 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [2025/04/04 10:37:18.403 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [2025/04/04 10:37:18.403 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [2025/04/04 10:37:18.409 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [takeTime=5.719711ms] [] [2025/04/04 10:37:18.409 +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 10:37:18.409 +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 10:37:18.409 +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 10:37:18.409 +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 10:37:18.411 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=326] [physicalTableID=326] [indexID=-1] [checksum=13472460632354338593] [totalKvs=2] [totalBytes=88] [2025/04/04 10:37:18.411 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:18.411 +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 10:37:18.412 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [takeTime=8.342662ms] [] [2025/04/04 10:37:18.412 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [takeTime=8.528752ms] [] [2025/04/04 10:37:18.412 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [subtaskID=120] [step=post-process] [takeTime=8.68462ms] [] [2025/04/04 10:37:18.437 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:18.510 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:18.511 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=63] [step=post-process] [state=running] [] [2025/04/04 10:37:18.513 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=63] [2025/04/04 10:37:18.533 +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=36, Mem=16GiB]"] [takeTime=137.276742ms] [] [2025/04/04 10:37:18.533 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=63] [type=ImportInto] [2025/04/04 10:37:18.605 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=63] [2025/04/04 10:37:18.612 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:18.612 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=63] [2025/04/04 10:37:18.634 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:18.806 +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.994859371\n# Parse_time: 0.000115323\n# Compile_time: 0.000621406\n# Rewrite_time: 0.00019976\n# Optimize_time: 0.000306618\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5My44bXMsIG9wZW46NjE4bnMsIGNsb3NlOjEuMjfCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk5My44bXMsIG9wZW46NjE4bnMsIGNsb3NlOjEuMjfCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_charset`.`utf8mb4` FROM 'gs://test-load/utf8.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'utf8';"] [2025/04/04 10:37:18.824 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:329, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:18.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.latin1 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET latin1;"] [2025/04/04 10:37:18.824 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:329, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:18.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:18.830 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=329] [conn=2] [job="ID:329, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:328, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:18.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:18.835 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 328, Table Name: latin1)"] [2025/04/04 10:37:18.851 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=234] [neededSchemaVersion=235] ["elapsed time"=1.850271ms] [gotSchemaVersion=235] [phyTblIDs="[328]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:18.855 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=329] [version=235] [2025/04/04 10:37:18.857 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=235] ["take time"=10.200634ms] [job="ID:329, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:18.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:18.869 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=329] [conn=2] [job="ID:329, Type:create table, State:synced, SchemaState:public, SchemaID:322, TableID:328, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:18.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:18.881 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=329] [2025/04/04 10:37:18.882 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=235] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.latin1 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET latin1;"] [user=root@%] [2025/04/04 10:37:18.888 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:18.937 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/latin1.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"latin1\"}}"] [dist-task-enabled=true] [2025/04/04 10:37:18.957 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=64] [task-id=64] [data-size=13B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:37:18.972 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=64] [2025/04/04 10:37:18.972 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:37:19.075 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:19.076 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:19.077 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=64] [curr-step=init] [next-step=import] [2025/04/04 10:37:19.085 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:19.088 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=latin1] [2025/04/04 10:37:19.088 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=latin1] [before=536870912000] [after=13] [2025/04/04 10:37:19.088 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=latin1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=13] [cost=48.678µs] [2025/04/04 10:37:19.088 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=latin1] [takeTime=150.002µs] [] [2025/04/04 10:37:19.088 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=64] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:19.088 +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=36] [subtasks=1] [2025/04/04 10:37:19.125 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=64] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:37:19.146 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=64] [step=import] [2025/04/04 10:37:19.146 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:19.155 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:19.155 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:19.155 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:19.155 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:19.155 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:19.155 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:19.156 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:19.156 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:19.156 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:19.156 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:19.162 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=72] [new=16] [2025/04/04 10:37:19.170 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:19.172 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:19.172 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=latin1] [quota=373.5GB] [2025/04/04 10:37:19.172 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=latin1] [import-id=64] [disk-quota=347.8GiB] [2025/04/04 10:37:19.172 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=64] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:19.173 +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=36, Mem=16GiB]"] [2025/04/04 10:37:19.181 +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 10:37:19.182 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=64] [step=import] [subtask-id=121] [2025/04/04 10:37:19.183 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=64] [mode=Import] [2025/04/04 10:37:19.185 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [2025/04/04 10:37:19.189 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/04 10:37:19.190 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=328] [2025/04/04 10:37:19.204 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=64] [2025/04/04 10:37:19.231 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=328] [key=latin1.tsv:0] [2025/04/04 10:37:19.232 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=328] [key=latin1.tsv:0] [readDur=1.007763ms] [encodeDur=270.647µs] [checksum="{cksum=3436636415173179895,size=84,kvs=2}"] [deliverDur=267.812µs] [type=file] [takeTime=1.81717ms] [] [2025/04/04 10:37:19.233 +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/7f0867fe-076b-48ea-ab4f-ceb28eee6758.sst] [firstKey=7480000000000001485F728000000000000001] [lastKey=7480000000000001485F728000000000000002] [2025/04/04 10:37:19.233 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=64] [step=import] [engine-id=0] [2025/04/04 10:37:19.233 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=64] [step=import] [engine-id=0] [2025/04/04 10:37:19.233 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [2025/04/04 10:37:19.235 +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.122156ms] [] [2025/04/04 10:37:19.236 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [retryCnt=0] [2025/04/04 10:37:19.240 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:19.261 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ece7d91b-221a-5440-8076-d026d7718798] ["region ranges"=1] [count=2] [size=84] [2025/04/04 10:37:19.262 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:19.263 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001485f728000000000000001] [endOfAllRanges=7480000000000001485f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff485f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff485f728000000000ff0000030000000000fa] [2025/04/04 10:37:19.275 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ece7d91b-221a-5440-8076-d026d7718798] [size=84] [kvs=2] [importedSize=84] [importedCount=2] [2025/04/04 10:37:19.277 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [retryCnt=0] [takeTime=41.280546ms] [] [2025/04/04 10:37:19.277 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [2025/04/04 10:37:19.278 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [takeTime=1.38192ms] [] [2025/04/04 10:37:19.278 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=64] [step=import] [engine-id=0] [2025/04/04 10:37:19.278 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/04 10:37:19.280 +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.86224ms] [] [2025/04/04 10:37:19.280 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [retryCnt=0] [2025/04/04 10:37:19.285 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/04 10:37:19.285 +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=4.093082ms] [] [2025/04/04 10:37:19.285 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/04 10:37:19.286 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [takeTime=1.113158ms] [] [2025/04/04 10:37:19.286 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=64] [step=import] [subtask-id=121] [takeTime=104.381486ms] [] [2025/04/04 10:37:19.286 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [subtaskID=121] [step=import] [takeTime=104.516721ms] [] [2025/04/04 10:37:19.380 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:19.381 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:19.382 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=64] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:19.382 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=64] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:19.412 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=64] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:37:19.413 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=64] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:19.413 +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=36] [subtasks=1] [2025/04/04 10:37:19.433 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:37:19.440 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=64] [step=import] [2025/04/04 10:37:19.443 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:19.443 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:19.443 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:19.443 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:19.443 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:19.443 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:19.443 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:19.443 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:19.443 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:19.443 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-63] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:19.443 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:19.443 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:19.445 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:19.445 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:19.445 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:19.446 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:19.446 +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=36, Mem=16GiB]"] [takeTime=272.898808ms] [] [2025/04/04 10:37:19.447 +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=36, Mem=16GiB]"] [2025/04/04 10:37:19.455 +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 10:37:19.455 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [2025/04/04 10:37:19.455 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [2025/04/04 10:37:19.455 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [2025/04/04 10:37:19.461 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [takeTime=5.625652ms] [] [2025/04/04 10:37:19.461 +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 10:37:19.461 +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 10:37:19.461 +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 10:37:19.461 +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 10:37:19.463 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=328] [physicalTableID=328] [indexID=-1] [checksum=3436636415173179895] [totalKvs=2] [totalBytes=84] [2025/04/04 10:37:19.464 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:19.464 +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 10:37:19.464 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [takeTime=8.568176ms] [] [2025/04/04 10:37:19.464 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [takeTime=8.698466ms] [] [2025/04/04 10:37:19.464 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [subtaskID=122] [step=post-process] [takeTime=8.824556ms] [] [2025/04/04 10:37:19.474 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:19.479 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:19.479 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=64] [step=post-process] [state=running] [] [2025/04/04 10:37:19.481 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=64] [2025/04/04 10:37:19.509 +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=36, Mem=16GiB]"] [takeTime=62.649481ms] [] [2025/04/04 10:37:19.509 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=64] [type=ImportInto] [2025/04/04 10:37:19.574 +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.691813371\n# Parse_time: 0.000093268\n# Compile_time: 0.000606214\n# Rewrite_time: 0.000210239\n# Optimize_time: 0.000272424\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MC44bXMsIG9wZW46NjM0bnMsIGNsb3NlOjc4M25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5MC44bXMsIG9wZW46NjM0bnMsIGNsb3NlOjc4M25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_charset`.`latin1` FROM 'gs://test-load/latin1.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'latin1';"] [2025/04/04 10:37:19.574 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=64] [2025/04/04 10:37:19.580 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:19.580 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=64] [2025/04/04 10:37:19.590 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:331, Type:truncate table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:19.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:19.590 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:331, Type:truncate table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:19.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_charset.utf8mb4;"] [2025/04/04 10:37:19.596 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=331] [conn=2] [job="ID:331, Type:truncate table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:19.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:19.602 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:19.604 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 330, Table Name: utf8mb4, Old Table ID: 326, Old Table Name: utf8mb4)"] [2025/04/04 10:37:19.619 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=235] [neededSchemaVersion=236] ["elapsed time"=1.828157ms] [gotSchemaVersion=236] [phyTblIDs="[326,330]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:37:19.623 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=236] [2025/04/04 10:37:19.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=236] ["take time"=8.865746ms] [job="ID:331, Type:truncate table, State:done, SchemaState:public, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:19.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:19.635 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=331] [tableIDs="[326]"] [comment="truncate table: table ID"] [2025/04/04 10:37:19.639 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=331] [jobType="truncate table"] [2025/04/04 10:37:19.640 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=331] [conn=2] [job="ID:331, Type:truncate table, State:synced, SchemaState:public, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:19.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:19.658 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=331] [2025/04/04 10:37:19.658 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=236] [cur_db=fail_job_after_import] [sql="TRUNCATE TABLE load_charset.utf8mb4;"] [user=root@%] [2025/04/04 10:37:19.664 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:19.712 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/latin1.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"latin1\"}}"] [dist-task-enabled=true] [2025/04/04 10:37:19.732 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=65] [task-id=65] [data-size=13B] [thread-cnt=8] [global-sort=false] [2025/04/04 10:37:19.746 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=65] [2025/04/04 10:37:19.746 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:37:19.848 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:19.849 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:19.850 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=65] [curr-step=init] [next-step=import] [2025/04/04 10:37:19.858 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:19.861 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8mb4] [2025/04/04 10:37:19.861 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8mb4] [before=536870912000] [after=13] [2025/04/04 10:37:19.861 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8mb4] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=13] [cost=47.381µs] [2025/04/04 10:37:19.861 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8mb4] [takeTime=139.177µs] [] [2025/04/04 10:37:19.861 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=65] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:19.861 +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=8] [subtasks=1] [2025/04/04 10:37:19.896 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=65] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:37:19.915 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=65] [step=import] [2025/04/04 10:37:19.916 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:19.923 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:19.923 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:19.924 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:19.924 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:19.924 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:19.924 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:19.924 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:19.924 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:19.925 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:19.925 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:19.936 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:19.938 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:19.938 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=utf8mb4] [quota=373.5GB] [2025/04/04 10:37:19.939 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=65] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:19.939 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8mb4] [import-id=65] [disk-quota=347.8GiB] [2025/04/04 10:37:19.939 +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=8, Mem=3.556GiB]"] [2025/04/04 10:37:19.946 +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 10:37:19.946 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=65] [step=import] [subtask-id=123] [2025/04/04 10:37:19.951 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 10:37:19.954 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 10:37:19.954 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=330] [2025/04/04 10:37:19.954 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=65] [mode=Import] [2025/04/04 10:37:19.974 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=65] [2025/04/04 10:37:19.994 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=330] [key=latin1.tsv:0] [2025/04/04 10:37:19.996 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=330] [key=latin1.tsv:0] [readDur=931.206µs] [encodeDur=259.009µs] [checksum="{cksum=383903096968287332,size=84,kvs=2}"] [deliverDur=258.308µs] [type=file] [takeTime=1.718486ms] [] [2025/04/04 10:37:19.997 +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/e23f0254-b9f9-470f-93eb-8791235859c9.sst] [firstKey=74800000000000014A5F728000000000000001] [lastKey=74800000000000014A5F728000000000000002] [2025/04/04 10:37:19.997 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=65] [step=import] [engine-id=0] [2025/04/04 10:37:19.997 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=65] [step=import] [engine-id=0] [2025/04/04 10:37:19.997 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 10:37:19.999 +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.12372ms] [] [2025/04/04 10:37:19.999 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [retryCnt=0] [2025/04/04 10:37:20.004 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:20.026 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] ["region ranges"=1] [count=2] [size=84] [2025/04/04 10:37:20.026 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:20.028 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000014a5f728000000000000001] [endOfAllRanges=74800000000000014a5f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff4a5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff4a5f728000000000ff0000030000000000fa] [2025/04/04 10:37:20.040 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [size=84] [kvs=2] [importedSize=84] [importedCount=2] [2025/04/04 10:37:20.042 +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.35461ms] [] [2025/04/04 10:37:20.042 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 10:37:20.043 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [takeTime=1.14442ms] [] [2025/04/04 10:37:20.043 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=65] [step=import] [engine-id=0] [2025/04/04 10:37:20.043 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 10:37:20.045 +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.780928ms] [] [2025/04/04 10:37:20.045 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [retryCnt=0] [2025/04/04 10:37:20.049 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 10:37:20.049 +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.735334ms] [] [2025/04/04 10:37:20.049 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 10:37:20.050 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [takeTime=1.002074ms] [] [2025/04/04 10:37:20.050 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=65] [step=import] [subtask-id=123] [takeTime=103.642544ms] [] [2025/04/04 10:37:20.050 +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.783967ms] [] [2025/04/04 10:37:20.154 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:20.155 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:20.156 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=65] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:20.156 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=65] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:20.187 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=65] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:37:20.188 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=65] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:20.188 +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=8] [subtasks=1] [2025/04/04 10:37:20.210 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:37:20.210 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=65] [step=import] [2025/04/04 10:37:20.213 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:20.213 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:20.213 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:20.213 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:20.213 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:20.213 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:20.213 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:20.213 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:20.213 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:20.213 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:20.213 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:20.213 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-64] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:20.215 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:20.215 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:20.215 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:20.215 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:20.215 +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=8, Mem=3.556GiB]"] [takeTime=276.577331ms] [] [2025/04/04 10:37:20.215 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=65] [type=ImportInto] [2025/04/04 10:37:20.226 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=65] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:37:20.246 +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=8, Mem=3.556GiB]"] [2025/04/04 10:37:20.253 +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 10:37:20.253 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [2025/04/04 10:37:20.253 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [2025/04/04 10:37:20.254 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [2025/04/04 10:37:20.259 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [takeTime=5.622467ms] [] [2025/04/04 10:37:20.259 +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 10:37:20.259 +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 10:37:20.259 +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 10:37:20.259 +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 10:37:20.261 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=330] [physicalTableID=330] [indexID=-1] [checksum=383903096968287332] [totalKvs=2] [totalBytes=84] [2025/04/04 10:37:20.262 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:20.262 +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 10:37:20.262 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [takeTime=8.241101ms] [] [2025/04/04 10:37:20.262 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [takeTime=8.395125ms] [] [2025/04/04 10:37:20.262 +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.551626ms] [] [2025/04/04 10:37:20.284 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:20.353 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:20.353 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=65] [step=post-process] [state=running] [] [2025/04/04 10:37:20.356 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=65] [2025/04/04 10:37:20.383 +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=8, Mem=3.556GiB]"] [takeTime=136.744703ms] [] [2025/04/04 10:37:20.383 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=65] [type=ImportInto] [2025/04/04 10:37:20.449 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=65] [2025/04/04 10:37:20.455 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:20.455 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=65] [2025/04/04 10:37:20.477 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:20.649 +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.990133804\n# Parse_time: 0.000093154\n# Compile_time: 0.000532759\n# Rewrite_time: 0.000169456\n# Optimize_time: 0.000309814\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OS4zbXMsIG9wZW46Njc1bnMsIGNsb3NlOjczOW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OS4zbXMsIG9wZW46Njc1bnMsIGNsb3NlOjczOW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_charset`.`utf8mb4` FROM 'gs://test-load/latin1.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'latin1';"] [2025/04/04 10:37:20.666 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:20.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:20.666 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:20.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.ascii (\n\t\tj VARCHAR(255)\n\t\t) CHARACTER SET ascii;"] [2025/04/04 10:37:20.672 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=333] [conn=2] [job="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:20.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:20.676 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 332, Table Name: ascii)"] [2025/04/04 10:37:20.690 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=236] [neededSchemaVersion=237] ["elapsed time"=1.594379ms] [gotSchemaVersion=237] [phyTblIDs="[332]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:20.694 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=333] [version=237] [2025/04/04 10:37:20.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=237] ["take time"=9.423466ms] [job="ID:333, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:20.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:20.708 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=333] [conn=2] [job="ID:333, Type:create table, State:synced, SchemaState:public, SchemaID:322, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:20.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:20.719 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=333] [2025/04/04 10:37:20.719 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=237] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.ascii (\n\t\tj VARCHAR(255)\n\t\t) CHARACTER SET ascii;"] [user=root@%] [2025/04/04 10:37:20.732 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:335, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:20.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:20.732 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:335, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:20.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.binary (\n\t\tj VARCHAR(255)\n\t\t) CHARACTER SET binary;"] [2025/04/04 10:37:20.737 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=335] [conn=2] [job="ID:335, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:334, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:20.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:20.742 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 334, Table Name: binary)"] [2025/04/04 10:37:20.756 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=237] [neededSchemaVersion=238] ["elapsed time"=1.585689ms] [gotSchemaVersion=238] [phyTblIDs="[334]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:20.760 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=335] [version=238] [2025/04/04 10:37:20.762 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=238] ["take time"=8.926528ms] [job="ID:335, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:20.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:20.773 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=335] [conn=2] [job="ID:335, Type:create table, State:synced, SchemaState:public, SchemaID:322, TableID:334, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:20.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:20.784 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=335] [2025/04/04 10:37:20.784 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=238] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.binary (\n\t\tj VARCHAR(255)\n\t\t) CHARACTER SET binary;"] [user=root@%] [2025/04/04 10:37:20.790 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:20.838 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/ascii.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"ascii\"}}"] [dist-task-enabled=true] [2025/04/04 10:37:20.856 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=66] [task-id=66] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/04 10:37:20.871 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=66] [2025/04/04 10:37:20.871 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:37:20.973 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:20.974 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:20.975 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=66] [curr-step=init] [next-step=import] [2025/04/04 10:37:20.983 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [Pipeline] // dir [2025/04/04 10:37:20.986 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=ascii] [2025/04/04 10:37:20.986 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=ascii] [before=536870912000] [after=8] [2025/04/04 10:37:20.986 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=ascii] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=45.782µs] [2025/04/04 10:37:20.986 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=ascii] [takeTime=142.003µs] [] [2025/04/04 10:37:20.986 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=66] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:20.986 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 10:37:21.016 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=66] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:37:21.035 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=66] [step=import] [2025/04/04 10:37:21.036 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:21.043 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:21.044 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:21.044 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:21.044 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:21.044 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:21.044 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:21.044 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:21.045 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:21.045 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:21.045 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:21.058 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:21.060 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:21.060 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=ascii] [quota=373.5GB] [2025/04/04 10:37:21.060 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=66] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:21.060 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:21.060 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=ascii] [import-id=66] [disk-quota=347.8GiB] [2025/04/04 10:37:21.068 +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 10:37:21.068 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=66] [step=import] [subtask-id=125] [2025/04/04 10:37:21.072 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [2025/04/04 10:37:21.076 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/04 10:37:21.076 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=332] [2025/04/04 10:37:21.079 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=66] [mode=Import] [2025/04/04 10:37:21.098 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=66] [2025/04/04 10:37:21.116 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=332] [key=ascii.tsv:0] [2025/04/04 10:37:21.118 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=332] [key=ascii.tsv:0] [readDur=944.724µs] [encodeDur=194.384µs] [checksum="{cksum=14561097866271024819,size=36,kvs=1}"] [deliverDur=240.501µs] [type=file] [takeTime=1.683955ms] [] [2025/04/04 10:37:21.118 +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/0f07bd5e-05c7-46f7-baab-cf9b8d589dbc.sst] [firstKey=74800000000000014C5F728000000000000001] [lastKey=74800000000000014C5F728000000000000001] [2025/04/04 10:37:21.118 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=66] [step=import] [engine-id=0] [2025/04/04 10:37:21.118 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=66] [step=import] [engine-id=0] [2025/04/04 10:37:21.118 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [2025/04/04 10:37:21.121 +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.231565ms] [] [2025/04/04 10:37:21.121 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [retryCnt=0] [2025/04/04 10:37:21.125 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:21.147 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] ["region ranges"=1] [count=1] [size=36] [2025/04/04 10:37:21.147 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:21.148 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000014c5f728000000000000001] [endOfAllRanges=74800000000000014c5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff4c5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff4c5f728000000000ff0000020000000000fa] [2025/04/04 10:37:21.160 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [size=36] [kvs=1] [importedSize=36] [importedCount=1] [2025/04/04 10:37:21.162 +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.110382ms] [] [2025/04/04 10:37:21.162 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [2025/04/04 10:37:21.163 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [takeTime=1.359706ms] [] [2025/04/04 10:37:21.163 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=66] [step=import] [engine-id=0] [2025/04/04 10:37:21.164 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/04 10:37:21.165 +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.838416ms] [] [2025/04/04 10:37:21.166 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [retryCnt=0] [2025/04/04 10:37:21.170 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/04 10:37:21.170 +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=4.036824ms] [] [2025/04/04 10:37:21.170 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/04 10:37:21.171 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [takeTime=1.276904ms] [] [2025/04/04 10:37:21.171 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=66] [step=import] [subtask-id=125] [takeTime=103.282314ms] [] [2025/04/04 10:37:21.171 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [subtaskID=125] [step=import] [takeTime=103.479031ms] [] [2025/04/04 10:37:21.280 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:21.281 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:21.283 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=66] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:21.283 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=66] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:21.315 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=66] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 10:37:21.316 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=66] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:21.316 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:37:21.326 +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 10:37:21.326 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=66] [step=import] [2025/04/04 10:37:21.329 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:21.329 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:21.329 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:21.329 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:21.329 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:21.329 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:21.329 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:21.329 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:21.329 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-65] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:21.329 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:21.329 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:21.329 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:21.331 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:21.331 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:21.331 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:21.331 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:21.331 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=271.098ms] [] [2025/04/04 10:37:21.331 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=66] [type=ImportInto] [2025/04/04 10:37:21.357 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=66] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:37:21.378 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:21.385 +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 10:37:21.386 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [2025/04/04 10:37:21.386 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [2025/04/04 10:37:21.386 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [2025/04/04 10:37:21.391 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [takeTime=5.708242ms] [] [2025/04/04 10:37:21.391 +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 10:37:21.392 +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 10:37:21.392 +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 10:37:21.392 +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 10:37:21.393 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=332] [physicalTableID=332] [indexID=-1] [checksum=14561097866271024819] [totalKvs=1] [totalBytes=36] [2025/04/04 10:37:21.394 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:21.394 +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 10:37:21.394 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [takeTime=8.248719ms] [] [2025/04/04 10:37:21.394 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [takeTime=8.400476ms] [] [2025/04/04 10:37:21.394 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [subtaskID=126] [step=post-process] [takeTime=8.542461ms] [] [2025/04/04 10:37:21.419 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:21.480 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:21.480 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=66] [step=post-process] [state=running] [] [2025/04/04 10:37:21.482 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=66] [2025/04/04 10:37:21.499 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=120.729145ms] [] [2025/04/04 10:37:21.499 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=66] [type=ImportInto] [2025/04/04 10:37:21.573 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=66] [2025/04/04 10:37:21.580 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:21.580 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=66] [2025/04/04 10:37:21.601 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:21.775 +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.990394582\n# Parse_time: 0.000095787\n# Compile_time: 0.000576487\n# Rewrite_time: 0.00016068\n# Optimize_time: 0.000260571\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OS41bXMsIG9wZW46NjUwbnMsIGNsb3NlOjcwMW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OS41bXMsIG9wZW46NjUwbnMsIGNsb3NlOjcwMW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_charset`.`ascii` FROM 'gs://test-load/ascii.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'ascii';"] [2025/04/04 10:37:21.785 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:21.834 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/ascii.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"binary\"}}"] [dist-task-enabled=true] [2025/04/04 10:37:21.854 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=67] [task-id=67] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/04 10:37:21.870 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=67] [2025/04/04 10:37:21.871 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:37:21.973 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:21.974 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:21.974 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=67] [curr-step=init] [next-step=import] [2025/04/04 10:37:21.982 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:21.985 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=binary] [2025/04/04 10:37:21.985 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=binary] [before=536870912000] [after=8] [2025/04/04 10:37:21.985 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=binary] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=39.758µs] [2025/04/04 10:37:21.985 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=binary] [takeTime=133.597µs] [] [2025/04/04 10:37:21.985 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=67] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:21.985 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 10:37:22.017 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=67] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:37:22.037 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=67] [step=import] [2025/04/04 10:37:22.037 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:22.045 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:22.045 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:22.046 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:22.046 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:22.046 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:22.046 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:22.046 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:22.046 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:22.047 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:22.047 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:22.059 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:22.060 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:22.061 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=binary] [quota=373.5GB] [2025/04/04 10:37:22.061 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=67] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:22.061 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:22.061 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=binary] [import-id=67] [disk-quota=347.8GiB] [2025/04/04 10:37:22.068 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [subtaskID=127] [step=import] [2025/04/04 10:37:22.068 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=67] [step=import] [subtask-id=127] [2025/04/04 10:37:22.072 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [2025/04/04 10:37:22.075 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [2025/04/04 10:37:22.076 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=334] [2025/04/04 10:37:22.079 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=67] [mode=Import] [2025/04/04 10:37:22.090 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=334] [key=ascii.tsv:0] [2025/04/04 10:37:22.092 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=334] [key=ascii.tsv:0] [readDur=891.63µs] [encodeDur=289.316µs] [checksum="{cksum=12243767325807307949,size=36,kvs=1}"] [deliverDur=222.595µs] [type=file] [takeTime=1.688167ms] [] [2025/04/04 10:37:22.093 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=36] [kvs=1] [files=1] [sstFileSize=934] [file=/tmp/tidb/import-4000/67/e8c1bd97-5d12-591a-8a3b-5cf4944c05d0.sst/41c43668-e20d-4a21-bde0-d45d83413382.sst] [firstKey=74800000000000014E5F728000000000000001] [lastKey=74800000000000014E5F728000000000000001] [2025/04/04 10:37:22.093 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=67] [step=import] [engine-id=0] [2025/04/04 10:37:22.093 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=67] [step=import] [engine-id=0] [2025/04/04 10:37:22.093 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [2025/04/04 10:37:22.095 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [takeTime=2.049666ms] [] [2025/04/04 10:37:22.095 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [retryCnt=0] [2025/04/04 10:37:22.100 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=67] [2025/04/04 10:37:22.101 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:22.122 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] ["region ranges"=1] [count=1] [size=36] [2025/04/04 10:37:22.122 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:22.124 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000014e5f728000000000000001] [endOfAllRanges=74800000000000014e5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff4e5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff4e5f728000000000ff0000020000000000fa] [2025/04/04 10:37:22.135 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [size=36] [kvs=1] [importedSize=36] [importedCount=1] [2025/04/04 10:37:22.137 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [retryCnt=0] [takeTime=41.513761ms] [] [2025/04/04 10:37:22.137 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [2025/04/04 10:37:22.138 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [takeTime=1.296328ms] [] [2025/04/04 10:37:22.138 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=67] [step=import] [engine-id=0] [2025/04/04 10:37:22.138 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [2025/04/04 10:37:22.140 +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.786072ms] [] [2025/04/04 10:37:22.140 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [retryCnt=0] [2025/04/04 10:37:22.144 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [2025/04/04 10:37:22.144 +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.576572ms] [] [2025/04/04 10:37:22.144 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [2025/04/04 10:37:22.145 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [takeTime=1.045495ms] [] [2025/04/04 10:37:22.145 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=67] [step=import] [subtask-id=127] [takeTime=76.933687ms] [] [2025/04/04 10:37:22.145 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [subtaskID=127] [step=import] [takeTime=77.089809ms] [] [2025/04/04 10:37:22.178 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:22.179 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:22.179 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=67] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:22.179 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=67] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:22.210 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=67] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 10:37:22.211 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=67] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:22.211 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:37:22.232 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:37:22.239 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=67] [step=import] [2025/04/04 10:37:22.241 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:22.241 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:22.241 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:22.241 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:22.241 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:22.242 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:22.242 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:22.242 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:22.242 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:22.242 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-66] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:22.242 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:22.242 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:22.244 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:22.244 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:22.244 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:22.244 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:22.244 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=183.223652ms] [] [2025/04/04 10:37:22.245 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:22.252 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [subtaskID=128] [step=post-process] [2025/04/04 10:37:22.252 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [2025/04/04 10:37:22.252 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [2025/04/04 10:37:22.252 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [2025/04/04 10:37:22.258 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [takeTime=5.565326ms] [] [2025/04/04 10:37:22.258 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [groupId=-1] [size=36] [kvs=1] [checksum=12243767325807307949] [2025/04/04 10:37:22.258 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [checksum="{cksum=12243767325807307949,size=36,kvs=1}"] [2025/04/04 10:37:22.258 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [weight=30] [2025/04/04 10:37:22.258 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [concurrency=15] [2025/04/04 10:37:22.260 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=334] [physicalTableID=334] [indexID=-1] [checksum=12243767325807307949] [totalKvs=1] [totalBytes=36] [2025/04/04 10:37:22.260 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:22.260 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [local="{cksum=12243767325807307949,size=36,kvs=1}"] [2025/04/04 10:37:22.260 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [takeTime=8.159687ms] [] [2025/04/04 10:37:22.261 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [takeTime=8.299207ms] [] [2025/04/04 10:37:22.261 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [subtaskID=128] [step=post-process] [takeTime=8.419104ms] [] [2025/04/04 10:37:22.273 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:22.278 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:22.278 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=67] [step=post-process] [state=running] [] [2025/04/04 10:37:22.280 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=67] [2025/04/04 10:37:22.306 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=60.726321ms] [] [2025/04/04 10:37:22.306 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=67] [type=ImportInto] [2025/04/04 10:37:22.373 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=67] [2025/04/04 10:37:22.379 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:22.379 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=67] [2025/04/04 10:37:22.400 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:22.471 +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.692175091\n# Parse_time: 0.000094322\n# Compile_time: 0.000571019\n# Rewrite_time: 0.000161783\n# Optimize_time: 0.00025567\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('SLgwCTU5XzIJMAkwCU4vQQkxCXRpbWU6NjkxLjNtcywgb3Blbjo1NzBucywgY2xvcwEbADcBDTxsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y+gKXwoMSW1wb3J0SW50b18yMAE4AUABUgNOL0FaLnRpbWU6NjkxLjNtcywgb3Blbjo1NzBucywgY2xvcwEbADcBDSBsb29wczoycP8RATQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\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.98s) === NAME TestImportInto === RUN TestImportInto/TestPreCheckCDCPiTRTasks [2025/04/04 10:37:22.489 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:336, Type:drop schema, State:queueing, SchemaState:public, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:22.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:22.489 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:336, Type:drop schema, State:queueing, SchemaState:public, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:22.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 10:37:22.494 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=336] [conn=2] [job="ID:336, Type:drop schema, State:queueing, SchemaState:public, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:22.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:22.512 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=238] [neededSchemaVersion=239] ["elapsed time"=1.714435ms] [gotSchemaVersion=239] [phyTblIDs="[293]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:22.516 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=336] [version=239] [Pipeline] } [2025/04/04 10:37:22.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=239] ["take time"=9.099479ms] [job="ID:336, Type:drop schema, State:running, SchemaState:write only, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:22.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:22.528 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=336] [conn=2] [job="ID:336, Type:drop schema, State:running, SchemaState:write only, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:22.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:22.541 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=239] [neededSchemaVersion=240] ["elapsed time"=124.191µs] [gotSchemaVersion=240] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:22.545 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=336] [version=240] [2025/04/04 10:37:22.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=240] ["take time"=7.71957ms] [job="ID:336, Type:drop schema, State:running, SchemaState:delete only, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:22.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:22.555 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=336] [conn=2] [job="ID:336, Type:drop schema, State:running, SchemaState:delete only, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:22.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:22.561 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:37:22.571 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=240] [neededSchemaVersion=241] ["elapsed time"=137.426µs] [gotSchemaVersion=241] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:22.575 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=336] [version=241] [2025/04/04 10:37:22.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=241] ["take time"=7.41021ms] [job="ID:336, Type:drop schema, State:done, SchemaState:none, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:22.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:22.585 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=336] [tableIDs="[293]"] [comment="drop schema: table IDs"] [2025/04/04 10:37:22.590 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=336] [jobType="drop schema"] [2025/04/04 10:37:22.591 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=336] [conn=2] [job="ID:336, Type:drop schema, State:synced, SchemaState:none, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:22.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:22.607 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=336] [2025/04/04 10:37:22.608 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=241] [cur_db=fail_job_after_import] [sql="drop database if exists load_data"] [user=root@%] [2025/04/04 10:37:22.619 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:338, Type:create schema, State:queueing, SchemaState:none, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:22.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:22.619 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:338, Type:create schema, State:queueing, SchemaState:none, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:22.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 10:37:22.625 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=338] [conn=2] [job="ID:338, Type:create schema, State:queueing, SchemaState:none, SchemaID:337, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:22.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:22.639 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=241] [neededSchemaVersion=242] ["elapsed time"=725.261µs] [gotSchemaVersion=242] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:37:22.642 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=338] [version=242] [2025/04/04 10:37:22.644 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=242] ["take time"=8.161989ms] [job="ID:338, Type:create schema, State:done, SchemaState:public, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:22.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:22.654 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=338] [conn=2] [job="ID:338, Type:create schema, State:synced, SchemaState:public, SchemaID:337, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:22.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:22.664 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=338] [2025/04/04 10:37:22.665 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=242] [cur_db=fail_job_after_import] [sql="create database load_data"] [user=root@%] [2025/04/04 10:37:22.667 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=242] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 10:37:22.680 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:22.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:22.680 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:22.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/04 10:37:22.686 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=340] [conn=2] [job="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:337, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:22.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:22.691 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 339, Table Name: t)"] [2025/04/04 10:37:22.707 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=242] [neededSchemaVersion=243] ["elapsed time"=1.800356ms] [gotSchemaVersion=243] [phyTblIDs="[339]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:22.710 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=340] [version=243] [2025/04/04 10:37:22.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=243] ["take time"=9.257806ms] [job="ID:340, Type:create table, State:done, SchemaState:public, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:22.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:22.723 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=340] [conn=2] [job="ID:340, Type:create table, State:synced, SchemaState:public, SchemaID:337, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:22.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:22.735 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=340] [2025/04/04 10:37:22.735 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=243] [cur_db=load_data] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=root@%] [2025/04/04 10:37:22.748 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:337, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:22.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:22.748 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:337, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:22.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dst (a bigint primary key, b varchar(100), c int);"] [2025/04/04 10:37:22.754 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=342] [conn=2] [job="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:337, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:22.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:22.759 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 341, Table Name: dst)"] [2025/04/04 10:37:22.776 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=243] [neededSchemaVersion=244] ["elapsed time"=1.829491ms] [gotSchemaVersion=244] [phyTblIDs="[341]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:22.780 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=342] [version=244] [2025/04/04 10:37:22.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=244] ["take time"=9.021307ms] [job="ID:342, Type:create table, State:done, SchemaState:public, SchemaID:337, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:22.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:22.793 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=342] [conn=2] [job="ID:342, Type:create table, State:synced, SchemaState:public, SchemaID:337, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:22.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:22.804 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=342] [2025/04/04 10:37:22.804 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=244] [cur_db=load_data] [sql="create table dst (a bigint primary key, b varchar(100), c int);"] [user=root@%] [2025/04/04 10:37:22.810 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Add(dummy-task)] [2025/04/04 10:37:22.811 +00:00] [INFO] [db.go:135] ["inc log backup task"] [count=1] [2025/04/04 10:37:22.811 +00:00] [INFO] [advancer.go:430] ["get global checkpoint"] [checkpoint=0] [2025/04/04 10:37:22.813 +00:00] [INFO] [advancer.go:436] ["added event"] [task="name:\"dummy-task\" "] [ranges={}] [current-checkpoint=18446744073709551615] [2025/04/04 10:37:22.814 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:22.815 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Pause(dummy-task)] [2025/04/04 10:37:22.816 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Pause(dummy-task)] [2025/04/04 10:37:22.817 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Pause(dummy-task)] [2025/04/04 10:37:22.829 +00:00] [ERROR] [precheck_test.go:103] [error] [error="[executor:8173]PreCheck failed: found PiTR log streaming task(s): [dummy-task],"] [stack="tests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestPreCheckCDCPiTRTasks\n\ttests/realtikvtest/importintotest/precheck_test.go:103\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 10:37:22.836 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:22.881 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://precheck-cdc-pitr/file.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"disable_precheck\":null}}"] [dist-task-enabled=true] [2025/04/04 10:37:22.902 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=68] [task-id=68] [data-size=10B] [thread-cnt=8] [global-sort=false] [2025/04/04 10:37:22.917 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=68] [2025/04/04 10:37:22.917 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:37:23.019 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:23.020 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:23.022 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=68] [curr-step=init] [next-step=import] [2025/04/04 10:37:23.030 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:23.032 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:37:23.032 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=10] [2025/04/04 10:37:23.033 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=10] [cost=46.279µs] [2025/04/04 10:37:23.033 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=150.113µs] [] [2025/04/04 10:37:23.033 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=68] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:23.033 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 10:37:23.066 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=68] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:37:23.086 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=68] [step=import] [2025/04/04 10:37:23.086 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:23.093 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:23.093 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:23.094 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:23.094 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:23.094 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:23.094 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:23.094 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:23.094 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:23.094 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:23.095 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:23.106 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:23.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 10:37:23.108 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:37:23.108 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=68] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:23.108 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=68] [disk-quota=347.8GiB] [2025/04/04 10:37:23.108 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:23.115 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [subtaskID=129] [step=import] [2025/04/04 10:37:23.115 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=68] [step=import] [subtask-id=129] [2025/04/04 10:37:23.119 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:37:23.122 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:37:23.122 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=339] [2025/04/04 10:37:23.125 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=68] [mode=Import] [2025/04/04 10:37:23.145 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=68] [2025/04/04 10:37:23.149 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=339] [key=file.csv:0] [2025/04/04 10:37:23.151 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=339] [key=file.csv:0] [readDur=1.02784ms] [encodeDur=276.756µs] [checksum="{cksum=13354276772020868135,size=37,kvs=1}"] [deliverDur=38.045µs] [type=file] [takeTime=1.657987ms] [] [2025/04/04 10:37:23.152 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=37] [kvs=1] [files=1] [sstFileSize=935] [file=/tmp/tidb/import-4000/68/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/7900e989-b0f2-4a1a-adb8-cad3222f19c1.sst] [firstKey=7480000000000001535F728000000000000001] [lastKey=7480000000000001535F728000000000000001] [2025/04/04 10:37:23.152 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=68] [step=import] [engine-id=0] [2025/04/04 10:37:23.152 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=68] [step=import] [engine-id=0] [2025/04/04 10:37:23.152 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:37:23.154 +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.056892ms] [] [2025/04/04 10:37:23.154 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 10:37:23.159 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:23.180 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=1] [size=37] [2025/04/04 10:37:23.181 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:23.182 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001535f728000000000000001] [endOfAllRanges=7480000000000001535f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff535f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff535f728000000000ff0000020000000000fa] [2025/04/04 10:37:23.193 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 10:37:23.195 +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.126185ms] [] [2025/04/04 10:37:23.195 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:37:23.196 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.272793ms] [] [2025/04/04 10:37:23.196 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=68] [step=import] [engine-id=0] [2025/04/04 10:37:23.196 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:37:23.198 +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.646976ms] [] [2025/04/04 10:37:23.198 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 10:37:23.202 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:37:23.202 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [takeTime=4.484035ms] [] [2025/04/04 10:37:23.202 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:37:23.204 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.066907ms] [] [2025/04/04 10:37:23.204 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=68] [step=import] [subtask-id=129] [takeTime=88.310924ms] [] [2025/04/04 10:37:23.204 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [subtaskID=129] [step=import] [takeTime=88.451601ms] [] [2025/04/04 10:37:23.224 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:23.225 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:23.226 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=68] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:23.226 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=68] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:23.255 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=68] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 10:37:23.257 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=68] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:23.257 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:37:23.278 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:37:23.284 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=68] [step=import] [2025/04/04 10:37:23.287 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:23.287 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:23.287 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:23.287 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:23.287 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:23.287 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:23.288 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:23.288 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:23.288 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:23.287 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-67] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:23.288 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:23.288 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:23.290 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:23.290 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:23.290 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:23.290 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:23.290 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=181.92422ms] [] [2025/04/04 10:37:23.291 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:23.299 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [subtaskID=130] [step=post-process] [2025/04/04 10:37:23.299 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [2025/04/04 10:37:23.299 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [2025/04/04 10:37:23.299 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [2025/04/04 10:37:23.299 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [takeTime=2.089µs] [] [2025/04/04 10:37:23.299 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [groupId=-1] [size=37] [kvs=1] [checksum=13354276772020868135] [2025/04/04 10:37:23.299 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [checksum="{cksum=13354276772020868135,size=37,kvs=1}"] [2025/04/04 10:37:23.299 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [weight=30] [2025/04/04 10:37:23.299 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [concurrency=15] [2025/04/04 10:37:23.301 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=339] [physicalTableID=339] [indexID=-1] [checksum=13354276772020868135] [totalKvs=1] [totalBytes=37] [2025/04/04 10:37:23.302 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:23.302 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [local="{cksum=13354276772020868135,size=37,kvs=1}"] [2025/04/04 10:37:23.302 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [takeTime=3.038537ms] [] [2025/04/04 10:37:23.302 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [takeTime=3.173653ms] [] [2025/04/04 10:37:23.302 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [subtaskID=130] [step=post-process] [takeTime=3.347907ms] [] [2025/04/04 10:37:23.319 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:23.324 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:23.324 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=68] [step=post-process] [state=running] [] [2025/04/04 10:37:23.327 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=68] [2025/04/04 10:37:23.349 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=57.613292ms] [] [2025/04/04 10:37:23.349 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=68] [type=ImportInto] [2025/04/04 10:37:23.419 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=68] [2025/04/04 10:37:23.425 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:23.425 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=68] [2025/04/04 10:37:23.448 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:23.520 +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.690411461\n# Parse_time: 0.000100887\n# Compile_time: 0.00059949\n# Rewrite_time: 0.000162961\n# Optimize_time: 0.00026933\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4OS40bXMsIG9wZW46ODQ1bnMsIGNsb3NlOjg0NG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4OS40bXMsIG9wZW46ODQ1bnMsIGNsb3NlOjg0NG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://precheck-cdc-pitr/file.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH disable_precheck;"] [2025/04/04 10:37:23.534 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:37:23.534 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=244] [error="[executor:8173]PreCheck failed: found PiTR log streaming task(s): [dummy-task],"] [session="{\n \"currDBName\": \"load_data\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": {\n \"Username\": \"root\",\n \"Hostname\": \"localhost\",\n \"CurrentUser\": false,\n \"AuthUsername\": \"root\",\n \"AuthHostname\": \"%\",\n \"AuthPlugin\": \"\"\n }\n}"] [2025/04/04 10:37:23.534 +00:00] [ERROR] [precheck_test.go:112] [error] [error="[executor:8173]PreCheck failed: found PiTR log streaming task(s): [dummy-task],"] [errorVerbose="[executor:8173]PreCheck failed: found PiTR log streaming task(s): [dummy-task],\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:443\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestPreCheckCDCPiTRTasks\n\ttests/realtikvtest/importintotest/precheck_test.go:111\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="tests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestPreCheckCDCPiTRTasks\n\ttests/realtikvtest/importintotest/precheck_test.go:112\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 10:37:23.574 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=a017f20d-1560-4ba3-aac6-319b289116a3] [concurrency=2] [target-table=`load_data`.`dst`] [target-table-id=341] [2025/04/04 10:37:23.581 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:23.582 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:23.582 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:23.582 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:23.582 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:23.582 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:23.582 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:23.583 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:23.583 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:23.583 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:23.595 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:23.597 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:23.597 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=373.5GB] [2025/04/04 10:37:23.601 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [2025/04/04 10:37:23.604 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/04 10:37:23.635 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=a017f20d-1560-4ba3-aac6-319b289116a3] [key=import-from-select] [2025/04/04 10:37:23.635 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=a017f20d-1560-4ba3-aac6-319b289116a3] [key=import-from-select] [2025/04/04 10:37:23.635 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=a017f20d-1560-4ba3-aac6-319b289116a3] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=193.622µs] [] [2025/04/04 10:37:23.636 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=a017f20d-1560-4ba3-aac6-319b289116a3] [key=import-from-select] [readDur=10.287µs] [encodeDur=352.969µs] [checksum="{cksum=13133787126228658672,size=37,kvs=1}"] [deliverDur=513.131µs] [type=query] [takeTime=1.118008ms] [] [2025/04/04 10:37:23.637 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [2025/04/04 10:37:23.637 +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/a017f20d-1560-4ba3-aac6-319b289116a3/aae7ed10-3950-5c5f-b1f6-563a3ef43f6a.sst/a2d6f946-dcdc-4c7f-9036-5ebf53fec2d9.sst] [firstKey=7480000000000001555F728000000000000001] [lastKey=7480000000000001555F728000000000000001] [2025/04/04 10:37:23.640 +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.746862ms] [] [2025/04/04 10:37:23.640 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [retryCnt=0] [2025/04/04 10:37:23.645 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:23.666 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] ["region ranges"=1] [count=1] [size=37] [2025/04/04 10:37:23.667 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:23.668 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001555f728000000000000001] [endOfAllRanges=7480000000000001555f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff555f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff555f728000000000ff0000020000000000fa] [2025/04/04 10:37:23.679 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 10:37:23.681 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [retryCnt=0] [takeTime=40.815696ms] [] [2025/04/04 10:37:23.681 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/04 10:37:23.682 +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.444782ms] [] [2025/04/04 10:37:23.683 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [retryCnt=0] [2025/04/04 10:37:23.686 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/04 10:37:23.686 +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.825813ms] [] [2025/04/04 10:37:23.686 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=a017f20d-1560-4ba3-aac6-319b289116a3] [checksum="{\"id=-1\"=\"{cksum=13133787126228658672,size=37,kvs=1}\"}"] [2025/04/04 10:37:23.686 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=a017f20d-1560-4ba3-aac6-319b289116a3] [2025/04/04 10:37:23.687 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=a017f20d-1560-4ba3-aac6-319b289116a3] [takeTime=2.237µs] [] [2025/04/04 10:37:23.687 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=a017f20d-1560-4ba3-aac6-319b289116a3] [checksum="{cksum=13133787126228658672,size=37,kvs=1}"] [2025/04/04 10:37:23.687 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=a017f20d-1560-4ba3-aac6-319b289116a3] [weight=30] [2025/04/04 10:37:23.687 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=a017f20d-1560-4ba3-aac6-319b289116a3] [concurrency=15] [2025/04/04 10:37:23.689 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=341] [physicalTableID=341] [indexID=-1] [checksum=13133787126228658672] [totalKvs=1] [totalBytes=37] [2025/04/04 10:37:23.689 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:23.689 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=a017f20d-1560-4ba3-aac6-319b289116a3] [local="{cksum=13133787126228658672,size=37,kvs=1}"] [2025/04/04 10:37:23.689 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=a017f20d-1560-4ba3-aac6-319b289116a3] [checksum="{\"id=-1\"=\"{cksum=13133787126228658672,size=37,kvs=1}\"}"] [takeTime=2.48695ms] [] [2025/04/04 10:37:23.689 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [2025/04/04 10:37:23.689 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [takeTime=6.444µs] [] [2025/04/04 10:37:23.689 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [2025/04/04 10:37:23.690 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [takeTime=1.096437ms] [] [2025/04/04 10:37:23.690 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/04 10:37:23.690 +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.489µs] [] [2025/04/04 10:37:23.691 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/04 10:37:23.691 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [takeTime=945.612µs] [] [2025/04/04 10:37:23.695 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:23.695 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:23.695 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:23.695 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:23.695 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:23.695 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:23.695 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:23.695 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:23.695 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-68] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:23.695 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:23.695 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:23.695 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:23.697 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:23.697 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:23.697 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:23.697 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:23.703 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Del(dummy-task)] [2025/04/04 10:37:23.703 +00:00] [INFO] [db.go:141] ["dec log backup task"] [count=0] [2025/04/04 10:37:23.703 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/04 10:37:23.716 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:344, Type:truncate table, State:queueing, SchemaState:none, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:23.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:23.716 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:344, Type:truncate table, State:queueing, SchemaState:none, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:23.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:37:23.721 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=344] [conn=2] [job="ID:344, Type:truncate table, State:queueing, SchemaState:none, SchemaID:337, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:23.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:23.729 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 343, Table Name: t, Old Table ID: 339, Old Table Name: t)"] [2025/04/04 10:37:23.744 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=244] [neededSchemaVersion=245] ["elapsed time"=1.946356ms] [gotSchemaVersion=245] [phyTblIDs="[339,343]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:37:23.748 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=344] [version=245] [2025/04/04 10:37:23.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=245] ["take time"=9.395498ms] [job="ID:344, Type:truncate table, State:done, SchemaState:public, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:23.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:23.760 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=344] [tableIDs="[339]"] [comment="truncate table: table ID"] [2025/04/04 10:37:23.765 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=344] [jobType="truncate table"] [2025/04/04 10:37:23.766 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=344] [conn=2] [job="ID:344, Type:truncate table, State:synced, SchemaState:public, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:23.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:23.782 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=344] [2025/04/04 10:37:23.783 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=245] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/04 10:37:23.788 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:23.803 +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.33s) === NAME TestImportInto === RUN TestImportInto/TestPreCheckTableNotEmpty [2025/04/04 10:37:23.818 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:345, Type:drop schema, State:queueing, SchemaState:public, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:23.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:23.818 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:345, Type:drop schema, State:queueing, SchemaState:public, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:23.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 10:37:23.823 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=345] [conn=2] [job="ID:345, Type:drop schema, State:queueing, SchemaState:public, SchemaID:337, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:23.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:23.841 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=245] [neededSchemaVersion=246] ["elapsed time"=2.236794ms] [gotSchemaVersion=246] [phyTblIDs="[341,343]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:23.845 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=345] [version=246] [2025/04/04 10:37: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=246] ["take time"=9.576163ms] [job="ID:345, Type:drop schema, State:running, SchemaState:write only, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:23.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:23.856 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=345] [conn=2] [job="ID:345, Type:drop schema, State:running, SchemaState:write only, SchemaID:337, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:23.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:23.868 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=246] [neededSchemaVersion=247] ["elapsed time"=133.676µs] [gotSchemaVersion=247] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:23.872 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=345] [version=247] [2025/04/04 10:37:23.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=247] ["take time"=7.155264ms] [job="ID:345, Type:drop schema, State:running, SchemaState:delete only, SchemaID:337, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:23.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:23.882 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=345] [conn=2] [job="ID:345, Type:drop schema, State:running, SchemaState:delete only, SchemaID:337, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:23.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:23.887 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:37:23.897 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=247] [neededSchemaVersion=248] ["elapsed time"=168.385µs] [gotSchemaVersion=248] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:23.901 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=345] [version=248] [2025/04/04 10:37:23.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=248] ["take time"=7.336204ms] [job="ID:345, Type:drop schema, State:done, SchemaState:none, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:23.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:23.911 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=345] [tableIDs="[341,343]"] [comment="drop schema: table IDs"] [2025/04/04 10:37:23.916 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=345] [jobType="drop schema"] [2025/04/04 10:37:23.917 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=345] [conn=2] [job="ID:345, Type:drop schema, State:synced, SchemaState:none, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:23.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:23.932 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=345] [2025/04/04 10:37:23.932 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=248] [cur_db=] [sql="drop database if exists load_data"] [user=root@%] [2025/04/04 10:37:23.943 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:347, Type:create schema, State:queueing, SchemaState:none, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:23.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 10:37:23.943 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:347, Type:create schema, State:queueing, SchemaState:none, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:23.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:23.949 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=347] [conn=2] [job="ID:347, Type:create schema, State:queueing, SchemaState:none, SchemaID:346, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:23.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:23.963 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=248] [neededSchemaVersion=249] ["elapsed time"=1.011325ms] [gotSchemaVersion=249] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:37:23.966 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=347] [version=249] [2025/04/04 10:37:23.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=249] ["take time"=8.39301ms] [job="ID:347, Type:create schema, State:done, SchemaState:public, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:23.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:23.978 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=347] [conn=2] [job="ID:347, Type:create schema, State:synced, SchemaState:public, SchemaID:346, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:23.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:23.988 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=347] [2025/04/04 10:37:23.989 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=249] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/04 10:37:23.991 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=249] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 10:37:24.005 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:349, Type:create table, State:queueing, SchemaState:none, SchemaID:346, TableID:348, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:23.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:24.005 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:349, Type:create table, State:queueing, SchemaState:none, SchemaID:346, TableID:348, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:23.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/04 10:37:24.012 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=349] [conn=2] [job="ID:349, Type:create table, State:queueing, SchemaState:none, SchemaID:346, TableID:348, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:23.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.017 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 348, Table Name: t)"] [2025/04/04 10:37:24.033 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=249] [neededSchemaVersion=250] ["elapsed time"=1.881939ms] [gotSchemaVersion=250] [phyTblIDs="[348]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:24.037 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=349] [version=250] [2025/04/04 10:37:24.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=250] ["take time"=9.442228ms] [job="ID:349, Type:create table, State:done, SchemaState:public, SchemaID:346, TableID:348, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:23.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.050 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=349] [conn=2] [job="ID:349, Type:create table, State:synced, SchemaState:public, SchemaID:346, TableID:348, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:23.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.061 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=349] [2025/04/04 10:37:24.061 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=250] [cur_db=load_data] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=root@%] [2025/04/04 10:37:24.064 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117019419181064] [2025/04/04 10:37:24.071 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] --- PASS: TestImportInto/TestPreCheckTableNotEmpty (0.27s) === NAME TestImportInto === RUN TestImportInto/TestPreCheckTotalFileSize0 [2025/04/04 10:37:24.093 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:350, Type:drop schema, State:queueing, SchemaState:public, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:24.093 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:350, Type:drop schema, State:queueing, SchemaState:public, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 10:37:24.098 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=350] [conn=2] [job="ID:350, Type:drop schema, State:queueing, SchemaState:public, SchemaID:346, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:24.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.115 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=250] [neededSchemaVersion=251] ["elapsed time"=1.711066ms] [gotSchemaVersion=251] [phyTblIDs="[348]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:24.119 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=350] [version=251] [2025/04/04 10:37:24.120 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=251] ["take time"=8.794647ms] [job="ID:350, Type:drop schema, State:running, SchemaState:write only, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.130 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=350] [conn=2] [job="ID:350, Type:drop schema, State:running, SchemaState:write only, SchemaID:346, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:24.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.142 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=251] [neededSchemaVersion=252] ["elapsed time"=142.73µs] [gotSchemaVersion=252] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:24.146 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=350] [version=252] [2025/04/04 10:37:24.147 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=252] ["take time"=7.473966ms] [job="ID:350, Type:drop schema, State:running, SchemaState:delete only, SchemaID:346, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:24.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.156 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=350] [conn=2] [job="ID:350, Type:drop schema, State:running, SchemaState:delete only, SchemaID:346, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:24.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.162 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:37:24.172 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=252] [neededSchemaVersion=253] ["elapsed time"=132.494µs] [gotSchemaVersion=253] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:24.176 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=350] [version=253] [2025/04/04 10:37:24.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=253] ["take time"=7.862245ms] [job="ID:350, Type:drop schema, State:done, SchemaState:none, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.186 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=350] [tableIDs="[348]"] [comment="drop schema: table IDs"] [2025/04/04 10:37:24.190 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=350] [jobType="drop schema"] [2025/04/04 10:37:24.191 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=350] [conn=2] [job="ID:350, Type:drop schema, State:synced, SchemaState:none, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.206 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=350] [2025/04/04 10:37:24.206 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=253] [cur_db=] [sql="drop database if exists load_data"] [user=root@%] [2025/04/04 10:37:24.217 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:352, Type:create schema, State:queueing, SchemaState:none, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:24.217 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:352, Type:create schema, State:queueing, SchemaState:none, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 10:37:24.223 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=352] [conn=2] [job="ID:352, Type:create schema, State:queueing, SchemaState:none, SchemaID:351, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:24.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.236 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=253] [neededSchemaVersion=254] ["elapsed time"=639.381µs] [gotSchemaVersion=254] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:37:24.239 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=352] [version=254] [2025/04/04 10:37:24.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=254] ["take time"=7.862844ms] [job="ID:352, Type:create schema, State:done, SchemaState:public, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.251 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=352] [conn=2] [job="ID:352, Type:create schema, State:synced, SchemaState:public, SchemaID:351, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:24.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.261 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=352] [2025/04/04 10:37:24.261 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=254] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/04 10:37:24.263 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=254] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 10:37:24.276 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:354, Type:create table, State:queueing, SchemaState:none, SchemaID:351, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:24.276 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:354, Type:create table, State:queueing, SchemaState:none, SchemaID:351, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/04 10:37:24.281 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=354] [conn=2] [job="ID:354, Type:create table, State:queueing, SchemaState:none, SchemaID:351, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:24.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.286 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 353, Table Name: t)"] [2025/04/04 10:37:24.302 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=254] [neededSchemaVersion=255] ["elapsed time"=1.838874ms] [gotSchemaVersion=255] [phyTblIDs="[353]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:24.305 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=354] [version=255] [2025/04/04 10:37:24.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=255] ["take time"=9.104248ms] [job="ID:354, Type:create table, State:done, SchemaState:public, SchemaID:351, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.318 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=354] [conn=2] [job="ID:354, Type:create table, State:synced, SchemaState:public, SchemaID:351, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:24.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.329 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=354] [2025/04/04 10:37:24.329 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=255] [cur_db=load_data] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=root@%] [2025/04/04 10:37:24.332 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117019484454926] [2025/04/04 10:37:24.339 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:24.352 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] --- PASS: TestImportInto/TestPreCheckTotalFileSize0 (0.28s) === NAME TestImportInto === RUN TestImportInto/TestRegisterTask [2025/04/04 10:37:24.371 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:355, Type:drop schema, State:queueing, SchemaState:public, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:24.371 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:355, Type:drop schema, State:queueing, SchemaState:public, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_data;"] [2025/04/04 10:37:24.377 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=2] [job="ID:355, Type:drop schema, State:queueing, SchemaState:public, SchemaID:351, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:24.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.393 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=255] [neededSchemaVersion=256] ["elapsed time"=1.700688ms] [gotSchemaVersion=256] [phyTblIDs="[353]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:24.396 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=256] [2025/04/04 10:37:24.398 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=256] ["take time"=8.863747ms] [job="ID:355, Type:drop schema, State:running, SchemaState:write only, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.407 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=2] [job="ID:355, Type:drop schema, State:running, SchemaState:write only, SchemaID:351, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:24.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.420 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=256] [neededSchemaVersion=257] ["elapsed time"=115.05µs] [gotSchemaVersion=257] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:24.423 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=257] [2025/04/04 10:37:24.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=257] ["take time"=6.840618ms] [job="ID:355, Type:drop schema, State:running, SchemaState:delete only, SchemaID:351, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:24.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.433 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=2] [job="ID:355, Type:drop schema, State:running, SchemaState:delete only, SchemaID:351, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:24.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.438 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:37:24.448 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=257] [neededSchemaVersion=258] ["elapsed time"=137.382µs] [gotSchemaVersion=258] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:24.452 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=258] [2025/04/04 10:37:24.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=258] ["take time"=7.312324ms] [job="ID:355, Type:drop schema, State:done, SchemaState:none, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.463 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=355] [tableIDs="[353]"] [comment="drop schema: table IDs"] [2025/04/04 10:37:24.467 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=355] [jobType="drop schema"] [2025/04/04 10:37:24.468 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=355] [conn=2] [job="ID:355, Type:drop schema, State:synced, SchemaState:none, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.483 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=355] [2025/04/04 10:37:24.483 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=258] [cur_db=] [sql="DROP DATABASE IF EXISTS load_data;"] [user=root@%] [2025/04/04 10:37:24.495 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:357, Type:create schema, State:queueing, SchemaState:none, SchemaID:356, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:24.495 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:357, Type:create schema, State:queueing, SchemaState:none, SchemaID:356, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_data;"] [2025/04/04 10:37:24.500 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=357] [conn=2] [job="ID:357, Type:create schema, State:queueing, SchemaState:none, SchemaID:356, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:24.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.514 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=258] [neededSchemaVersion=259] ["elapsed time"=711.339µs] [gotSchemaVersion=259] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:37:24.517 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=357] [version=259] [2025/04/04 10:37:24.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=259] ["take time"=7.626446ms] [job="ID:357, Type:create schema, State:done, SchemaState:public, SchemaID:356, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.529 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=357] [conn=2] [job="ID:357, Type:create schema, State:synced, SchemaState:public, SchemaID:356, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:24.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.538 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=357] [2025/04/04 10:37:24.539 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=259] [cur_db=] [sql="CREATE DATABASE load_data;"] [user=root@%] [2025/04/04 10:37:24.551 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:359, Type:create table, State:queueing, SchemaState:none, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:24.551 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:359, Type:create table, State:queueing, SchemaState:none, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_data.register_task (a INT, b INT, c int);"] [2025/04/04 10:37:24.557 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=359] [conn=2] [job="ID:359, Type:create table, State:queueing, SchemaState:none, SchemaID:356, TableID:358, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:24.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.562 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 358, Table Name: register_task)"] [2025/04/04 10:37:24.578 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=259] [neededSchemaVersion=260] ["elapsed time"=1.928545ms] [gotSchemaVersion=260] [phyTblIDs="[358]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:24.581 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=359] [version=260] [2025/04/04 10:37:24.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=260] ["take time"=9.167831ms] [job="ID:359, Type:create table, State:done, SchemaState:public, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:24.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.594 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=359] [conn=2] [job="ID:359, Type:create table, State:synced, SchemaState:public, SchemaID:356, TableID:358, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:24.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:24.606 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=359] [2025/04/04 10:37:24.606 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=260] [cur_db=] [sql="CREATE TABLE load_data.register_task (a INT, b INT, c int);"] [user=root@%] [2025/04/04 10:37:24.612 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:24.656 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:37:24.675 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=69] [task-id=69] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/04 10:37:24.688 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=69] [2025/04/04 10:37:24.689 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:37:24.791 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:24.792 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:24.793 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=69] [curr-step=init] [next-step=import] [2025/04/04 10:37:24.801 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:24.803 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=register_task] [2025/04/04 10:37:24.803 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=register_task] [before=536870912000] [after=8] [2025/04/04 10:37:24.803 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=register_task] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=63.154µs] [2025/04/04 10:37:24.803 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=register_task] [takeTime=184.785µs] [] [2025/04/04 10:37:24.803 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=69] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:24.803 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 10:37:24.835 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=69] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:37:24.855 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=69] [step=import] [2025/04/04 10:37:24.855 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:24.862 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:24.862 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:24.863 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:24.863 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:24.863 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:24.863 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:24.863 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:24.863 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:24.864 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:24.864 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:24.876 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:24.877 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:24.877 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=register_task] [quota=373.5GB] [2025/04/04 10:37:24.877 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=69] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:24.877 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=register_task] [import-id=69] [disk-quota=347.8GiB] [2025/04/04 10:37:24.877 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:24.885 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [subtaskID=131] [step=import] [2025/04/04 10:37:24.885 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=69] [step=import] [subtask-id=131] [2025/04/04 10:37:24.888 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/04 10:37:24.892 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/04 10:37:24.892 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=358] [2025/04/04 10:37:24.897 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=69] [mode=Import] [2025/04/04 10:37:24.905 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=358] [key=register_task-1.tsv:0] [2025/04/04 10:37:24.906 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=358] [key=register_task-1.tsv:0] [readDur=892.679µs] [encodeDur=186.324µs] [checksum="{cksum=16609841413703989000,size=37,kvs=1}"] [deliverDur=204.63µs] [type=file] [takeTime=1.47456ms] [] [2025/04/04 10:37:24.907 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=37] [kvs=1] [files=1] [sstFileSize=935] [file=/tmp/tidb/import-4000/69/51a7a24d-77bd-5aff-aeb3-117ab334dd31.sst/03ca45aa-ce38-458a-be99-a0d72a0f6515.sst] [firstKey=7480000000000001665F728000000000000001] [lastKey=7480000000000001665F728000000000000001] [2025/04/04 10:37:24.907 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=69] [step=import] [engine-id=0] [2025/04/04 10:37:24.907 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=69] [step=import] [engine-id=0] [2025/04/04 10:37:24.907 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/04 10:37:24.909 +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.932582ms] [] [2025/04/04 10:37:24.909 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [retryCnt=0] [2025/04/04 10:37:24.914 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:24.914 +00:00] [INFO] [import_into_test.go:951] ["register task"] [task_id=69] [2025/04/04 10:37:24.914 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=69] [2025/04/04 10:37:24.935 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=51a7a24d-77bd-5aff-aeb3-117ab334dd31] ["region ranges"=1] [count=1] [size=37] [2025/04/04 10:37:24.936 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:24.937 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001665f728000000000000001] [endOfAllRanges=7480000000000001665f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff665f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff665f728000000000ff0000020000000000fa] [2025/04/04 10:37:24.948 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 10:37:24.950 +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=40.678629ms] [] [2025/04/04 10:37:24.950 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/04 10:37:24.951 +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.064684ms] [] [2025/04/04 10:37:24.951 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=69] [step=import] [engine-id=0] [2025/04/04 10:37:24.951 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/04 10:37:24.953 +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.546677ms] [] [2025/04/04 10:37:24.953 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [retryCnt=0] [2025/04/04 10:37:24.956 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/04 10:37:24.957 +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.7721ms] [] [2025/04/04 10:37:24.957 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/04 10:37:24.958 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [takeTime=908.019µs] [] [2025/04/04 10:37:24.958 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=69] [step=import] [subtask-id=131] [takeTime=72.790009ms] [] [2025/04/04 10:37:24.958 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [subtaskID=131] [step=import] [takeTime=72.94339ms] [] [2025/04/04 10:37:24.996 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:24.997 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:24.998 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=69] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:24.998 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=69] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:25.030 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=69] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 10:37:25.031 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=69] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:25.031 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:37:25.062 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:37:25.068 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=69] [step=import] [2025/04/04 10:37:25.070 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:25.070 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:25.070 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:25.071 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:25.071 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:25.071 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:25.071 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:25.071 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:25.071 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:25.071 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-69] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:25.071 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:25.071 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:25.073 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:25.073 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:25.073 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:25.073 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:25.073 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=195.349931ms] [] [2025/04/04 10:37:25.074 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:25.081 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [subtaskID=132] [step=post-process] [2025/04/04 10:37:25.081 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [2025/04/04 10:37:25.081 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [2025/04/04 10:37:25.081 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [2025/04/04 10:37:25.087 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [takeTime=5.304091ms] [] [2025/04/04 10:37:25.087 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [groupId=-1] [size=37] [kvs=1] [checksum=16609841413703989000] [2025/04/04 10:37:25.087 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [checksum="{cksum=16609841413703989000,size=37,kvs=1}"] [2025/04/04 10:37:25.087 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [weight=30] [2025/04/04 10:37:25.087 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [concurrency=15] [2025/04/04 10:37:25.089 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=358] [physicalTableID=358] [indexID=-1] [checksum=16609841413703989000] [totalKvs=1] [totalBytes=37] [2025/04/04 10:37:25.089 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:25.089 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [local="{cksum=16609841413703989000,size=37,kvs=1}"] [2025/04/04 10:37:25.089 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [takeTime=7.809774ms] [] [2025/04/04 10:37:25.089 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [takeTime=7.939095ms] [] [2025/04/04 10:37:25.089 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [subtaskID=132] [step=post-process] [takeTime=8.074809ms] [] [2025/04/04 10:37:25.099 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:25.100 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:37:25.197 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:25.197 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=69] [step=post-process] [state=running] [] [2025/04/04 10:37:25.198 +00:00] [INFO] [import_into_test.go:956] ["unregister task"] [task_id=69] [2025/04/04 10:37:25.198 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=69] [2025/04/04 10:37:25.230 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=155.580407ms] [] [2025/04/04 10:37:25.230 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=69] [type=ImportInto] [2025/04/04 10:37:25.291 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=69] [2025/04/04 10:37:25.292 +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.684682931\n# Parse_time: 0.000082166\n# Compile_time: 0.000509489\n# Rewrite_time: 0.000143353\n# Optimize_time: 0.000301604\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4My44bXMsIG9wZW46MS4wOMK1cywgY2xvc2U6Nzg1bnMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY4My44bXMsIG9wZW46MS4wOMK1cywgY2xvc2U6Nzg1bnMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nuse ;\nIMPORT INTO `load_data`.`register_task` FROM 'gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 10:37:25.415 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:25.415 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=69] [2025/04/04 10:37:25.428 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:361, Type:truncate table, State:queueing, SchemaState:none, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:25.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.register_task;"] [2025/04/04 10:37:25.428 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:361, Type:truncate table, State:queueing, SchemaState:none, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:25.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:25.434 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=361] [conn=2] [job="ID:361, Type:truncate table, State:queueing, SchemaState:none, SchemaID:356, TableID:358, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:25.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:25.440 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:25.444 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 360, Table Name: register_task, Old Table ID: 358, Old Table Name: register_task)"] [2025/04/04 10:37:25.463 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=260] [neededSchemaVersion=261] ["elapsed time"=2.874702ms] [gotSchemaVersion=261] [phyTblIDs="[358,360]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:37:25.468 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=361] [version=261] [2025/04/04 10:37:25.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=261] ["take time"=12.371055ms] [job="ID:361, Type:truncate table, State:done, SchemaState:public, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:25.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:25.482 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=361] [tableIDs="[358]"] [comment="truncate table: table ID"] [2025/04/04 10:37:25.487 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=361] [jobType="truncate table"] [2025/04/04 10:37:25.488 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=361] [conn=2] [job="ID:361, Type:truncate table, State:synced, SchemaState:public, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:25.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:25.507 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=361] [2025/04/04 10:37:25.507 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=261] [cur_db=] [sql="truncate table load_data.register_task;"] [user=root@%] [2025/04/04 10:37:25.514 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:25.567 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:37:25.589 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=70] [task-id=70] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/04 10:37:25.604 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=70] [2025/04/04 10:37:25.604 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=70] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:37:25.706 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=70] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:25.708 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=70] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:25.709 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=70] [curr-step=init] [next-step=import] [2025/04/04 10:37:25.717 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:25.719 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=register_task] [2025/04/04 10:37:25.719 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=register_task] [before=536870912000] [after=8] [2025/04/04 10:37:25.719 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=register_task] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=39.061µs] [2025/04/04 10:37:25.719 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=register_task] [takeTime=128.724µs] [] [2025/04/04 10:37:25.719 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=70] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:25.719 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=70] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 10:37:25.756 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=70] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:37:25.776 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=70] [step=import] [2025/04/04 10:37:25.777 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:25.784 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:25.784 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:25.785 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:25.785 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:25.785 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:25.785 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:25.785 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:25.785 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:25.786 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:25.786 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:25.798 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:25.799 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:25.800 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=register_task] [quota=373.5GB] [2025/04/04 10:37:25.800 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=70] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:25.800 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=register_task] [import-id=70] [disk-quota=347.8GiB] [2025/04/04 10:37:25.800 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=70] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:25.807 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=70] [task-type=ImportInto] [server-id=:4000] [subtaskID=133] [step=import] [2025/04/04 10:37:25.807 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=70] [step=import] [subtask-id=133] [2025/04/04 10:37:25.811 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/04 10:37:25.813 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=70] [mode=Import] [2025/04/04 10:37:25.815 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/04 10:37:25.815 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=360] [2025/04/04 10:37:25.828 +00:00] [INFO] [import_into_test.go:951] ["register task"] [task_id=70] [2025/04/04 10:37:25.828 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=70] [2025/04/04 10:37:27.790 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:37:28.815 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=70] [step=import] [subtask-id=133] [takeTime=3.007533782s] [error="occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:37:28.815 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=70] [task-type=ImportInto] [server-id=:4000] [subtaskID=133] [step=import] [takeTime=3.007810402s] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:28.815 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=70] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:28.822 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=70] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:37:28.915 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=70] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]occur an error when sort chunk\\\"}\"]"] [2025/04/04 10:37:28.928 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=70] [step=import] [2025/04/04 10:37:28.931 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:28.931 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:28.931 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:28.931 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:28.931 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:28.931 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:28.931 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:28.931 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:28.931 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:28.931 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-70] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:28.931 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:28.931 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:28.933 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:28.933 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:28.933 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:28.933 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:28.933 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=70] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=3.133320562s] [] [2025/04/04 10:37:28.933 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=70] [type=ImportInto] [2025/04/04 10:37:29.012 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=70] [step=import] [state=reverting] [error="[0]occur an error when sort chunk"] [2025/04/04 10:37:29.013 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=70] [step=import] [mode=Normal] [2025/04/04 10:37:29.028 +00:00] [INFO] [import_into_test.go:956] ["unregister task"] [task_id=70] [2025/04/04 10:37:29.028 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=70] [2025/04/04 10:37:29.106 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=70] [2025/04/04 10:37:29.112 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:29.112 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=70] [2025/04/04 10:37:29.133 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:29.204 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=70] [error="[0]occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestRegisterTask\n\ttests/realtikvtest/importintotest/import_into_test.go:994\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 10:37:29.205 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 3.697052533\n# Parse_time: 0.000074478\n# Compile_time: 0.000546348\n# Rewrite_time: 0.000156979\n# Optimize_time: 0.000254439\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('RfBEMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjMuN3MsIG9wZW46NjE0bnMsIGNsb3NlOjg5MG5zLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('XvBJCloKDEltcG9ydEludG9fMjgBQAFSA04vQVordGltZTozLjdzLCBvcGVuOjYxNG5zLCBjbG9zZTo4OTBucywgbG9vcHM6MXD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_data`.`register_task` FROM 'gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 10:37:29.213 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:29.258 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:37:29.276 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=71] [task-id=71] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/04 10:37:29.290 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=71] [2025/04/04 10:37:29.290 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:37:29.392 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:29.393 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:29.395 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=71] [curr-step=init] [next-step=import] [2025/04/04 10:37:29.403 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:29.405 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=register_task] [2025/04/04 10:37:29.405 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=register_task] [before=536870912000] [after=8] [2025/04/04 10:37:29.405 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=register_task] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=53.588µs] [2025/04/04 10:37:29.405 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=register_task] [takeTime=180.439µs] [] [2025/04/04 10:37:29.405 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=71] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:29.405 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 10:37:29.446 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=71] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:37:29.468 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=71] [step=import] [2025/04/04 10:37:29.469 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:29.476 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:29.476 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:29.476 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:29.477 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:29.477 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:29.477 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:29.477 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:29.477 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:29.477 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:29.478 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:29.489 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:29.491 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:29.491 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=register_task] [quota=373.5GB] [2025/04/04 10:37:29.491 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=71] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:29.491 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=register_task] [import-id=71] [disk-quota=347.8GiB] [2025/04/04 10:37:29.491 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:29.499 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=71] [mode=Import] [2025/04/04 10:37:29.499 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [subtaskID=134] [step=import] [2025/04/04 10:37:29.499 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=71] [step=import] [subtask-id=134] [2025/04/04 10:37:29.503 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/04 10:37:29.507 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/04 10:37:29.507 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=360] testkit.go:123: RefreshSession rand seed: 1743763049507705195 [2025/04/04 10:37:29.516 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:29.519 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=71] [2025/04/04 10:37:29.840 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=360] [key=register_task-1.tsv:0] [2025/04/04 10:37:29.842 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=360] [key=register_task-1.tsv:0] [readDur=1.155996ms] [encodeDur=222.602µs] [checksum="{cksum=18276122673824376811,size=37,kvs=1}"] [deliverDur=288.504µs] [type=file] [takeTime=1.995954ms] [] [2025/04/04 10:37:29.843 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=37] [kvs=1] [files=1] [sstFileSize=935] [file=/tmp/tidb/import-4000/71/51a7a24d-77bd-5aff-aeb3-117ab334dd31.sst/81ba22af-4d7d-4837-b9c3-d1c75eb15916.sst] [firstKey=7480000000000001685F728000000000000001] [lastKey=7480000000000001685F728000000000000001] [2025/04/04 10:37:29.843 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=71] [step=import] [engine-id=0] [2025/04/04 10:37:29.843 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=71] [step=import] [engine-id=0] [2025/04/04 10:37:29.843 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/04 10:37:29.845 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [takeTime=2.201499ms] [] [2025/04/04 10:37:29.845 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [retryCnt=0] [2025/04/04 10:37:29.850 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:29.872 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=51a7a24d-77bd-5aff-aeb3-117ab334dd31] ["region ranges"=1] [count=1] [size=37] [2025/04/04 10:37:29.872 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:29.873 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001685f728000000000000001] [endOfAllRanges=7480000000000001685f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff685f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff685f728000000000ff0000020000000000fa] [2025/04/04 10:37:29.886 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 10:37:29.889 +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=43.616148ms] [] [2025/04/04 10:37:29.889 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/04 10:37:29.890 +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.210589ms] [] [2025/04/04 10:37:29.890 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=71] [step=import] [engine-id=0] [2025/04/04 10:37:29.890 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/04 10:37:29.892 +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.682752ms] [] [2025/04/04 10:37:29.892 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [retryCnt=0] [2025/04/04 10:37:29.896 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/04 10:37:29.896 +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.840143ms] [] [2025/04/04 10:37:29.896 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/04 10:37:29.897 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [takeTime=932.804µs] [] [2025/04/04 10:37:29.897 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=71] [step=import] [subtask-id=134] [takeTime=397.770615ms] [] [2025/04/04 10:37:29.897 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [subtaskID=134] [step=import] [takeTime=397.917454ms] [] [2025/04/04 10:37:29.997 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:29.999 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:30.000 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=71] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:30.000 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=71] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:30.030 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=71] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 10:37:30.031 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=71] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:30.031 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:37:30.044 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:37:30.044 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=71] [step=import] [2025/04/04 10:37:30.046 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:30.046 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:30.046 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:30.046 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:30.046 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:30.046 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:30.046 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:30.046 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:30.046 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-71] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:30.047 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:30.047 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:30.047 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:30.049 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:30.049 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:30.049 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:30.049 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [Pipeline] dir [2025/04/04 10:37:30.049 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=557.269731ms] [] [2025/04/04 10:37:30.049 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=71] [type=ImportInto] [2025/04/04 10:37:30.065 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=71] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:37:30.084 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:30.092 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [subtaskID=135] [step=post-process] [2025/04/04 10:37:30.092 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [2025/04/04 10:37:30.092 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [2025/04/04 10:37:30.092 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [2025/04/04 10:37:30.097 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [takeTime=5.307212ms] [] [2025/04/04 10:37:30.097 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [groupId=-1] [size=37] [kvs=1] [checksum=18276122673824376811] [2025/04/04 10:37:30.097 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [checksum="{cksum=18276122673824376811,size=37,kvs=1}"] [2025/04/04 10:37:30.097 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [weight=30] Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [2025/04/04 10:37:30.097 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [concurrency=15] [2025/04/04 10:37:30.099 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=360] [physicalTableID=360] [indexID=-1] [checksum=18276122673824376811] [totalKvs=1] [totalBytes=37] [2025/04/04 10:37:30.100 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:30.100 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [local="{cksum=18276122673824376811,size=37,kvs=1}"] [2025/04/04 10:37:30.100 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [takeTime=7.93061ms] [] [2025/04/04 10:37:30.100 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [takeTime=8.077113ms] [] [2025/04/04 10:37:30.100 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [subtaskID=135] [step=post-process] [takeTime=8.194514ms] [] [2025/04/04 10:37:30.111 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:30.198 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:30.198 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=71] [step=post-process] [state=running] [] [2025/04/04 10:37:30.201 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=71] [2025/04/04 10:37:30.220 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=135.826684ms] [] [2025/04/04 10:37:30.220 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=71] [type=ImportInto] [2025/04/04 10:37:30.293 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=71] [2025/04/04 10:37:30.299 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:30.299 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=71] [2025/04/04 10:37:30.320 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:30.493 +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.2853321580000001\n# Parse_time: 0.00027401\n# Compile_time: 0.000539401\n# Rewrite_time: 0.000151982\n# Optimize_time: 0.000254439\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMjhzLCBvcGVuOjU1M25zLCBjbG9zZTo2OTBucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMjhzLCBvcGVuOjU1M25zLCBjbG9zZTo2OTBucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `load_data`.`register_task` FROM 'gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestRegisterTask (6.14s) === NAME TestImportInto === RUN TestImportInto/TestSameBehaviourDetachedOrNot [2025/04/04 10:37:30.500 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=261] [cur_db=] [sql="DROP DATABASE IF EXISTS test_detached;"] [user=root@%] [2025/04/04 10:37:30.512 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:363, Type:create schema, State:queueing, SchemaState:none, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:30.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:30.512 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:363, Type:create schema, State:queueing, SchemaState:none, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:30.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE test_detached;"] [2025/04/04 10:37:30.517 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=363] [conn=2] [job="ID:363, Type:create schema, State:queueing, SchemaState:none, SchemaID:362, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:30.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:30.531 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=261] [neededSchemaVersion=262] ["elapsed time"=692.864µs] [gotSchemaVersion=262] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:37:30.535 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=363] [version=262] [2025/04/04 10:37:30.537 +00:00] [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.355287ms] [job="ID:363, Type:create schema, State:done, SchemaState:public, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:30.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:30.547 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=363] [conn=2] [job="ID:363, Type:create schema, State:synced, SchemaState:public, SchemaID:362, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:30.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:30.556 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=363] [2025/04/04 10:37:30.557 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=262] [cur_db=] [sql="CREATE DATABASE test_detached;"] [user=root@%] [2025/04/04 10:37:30.570 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:365, Type:create table, State:queueing, SchemaState:none, SchemaID:362, TableID:364, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:30.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:30.570 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:365, Type:create table, State:queueing, SchemaState:none, SchemaID:362, TableID:364, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:30.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE test_detached.t1 (dt DATETIME, ts TIMESTAMP);"] [2025/04/04 10:37:30.576 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=365] [conn=2] [job="ID:365, Type:create table, State:queueing, SchemaState:none, SchemaID:362, TableID:364, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:30.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:30.581 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 364, Table Name: t1)"] [2025/04/04 10:37:30.596 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=262] [neededSchemaVersion=263] ["elapsed time"=1.607302ms] [gotSchemaVersion=263] [phyTblIDs="[364]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:30.600 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=365] [version=263] [2025/04/04 10:37:30.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=263] ["take time"=9.545665ms] [job="ID:365, Type:create table, State:done, SchemaState:public, SchemaID:362, TableID:364, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:30.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:30.612 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=365] [conn=2] [job="ID:365, Type:create table, State:synced, SchemaState:public, SchemaID:362, TableID:364, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:30.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:30.624 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=365] [2025/04/04 10:37:30.624 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=263] [cur_db=] [sql="CREATE TABLE test_detached.t1 (dt DATETIME, ts TIMESTAMP);"] [user=root@%] [2025/04/04 10:37:30.638 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:367, Type:create table, State:queueing, SchemaState:none, SchemaID:362, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:30.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:30.638 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:367, Type:create table, State:queueing, SchemaState:none, SchemaID:362, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:30.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE test_detached.t2 (dt DATETIME, ts TIMESTAMP);"] [2025/04/04 10:37:30.644 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=367] [conn=2] [job="ID:367, Type:create table, State:queueing, SchemaState:none, SchemaID:362, TableID:366, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:30.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:30.650 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 366, Table Name: t2)"] [2025/04/04 10:37:30.667 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=263] [neededSchemaVersion=264] ["elapsed time"=1.809636ms] [gotSchemaVersion=264] [phyTblIDs="[366]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:30.671 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=367] [version=264] [2025/04/04 10:37:30.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=264] ["take time"=9.988694ms] [job="ID:367, Type:create table, State:done, SchemaState:public, SchemaID:362, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:30.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:30.684 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=367] [conn=2] [job="ID:367, Type:create table, State:synced, SchemaState:public, SchemaID:362, TableID:366, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:30.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:30.695 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=367] [2025/04/04 10:37:30.696 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=264] [cur_db=] [sql="CREATE TABLE test_detached.t2 (dt DATETIME, ts TIMESTAMP);"] [user=root@%] [2025/04/04 10:37:30.702 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:30.747 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:37:30.765 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=72] [task-id=72] [data-size=39B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:37:30.785 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=72] [2025/04/04 10:37:30.785 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=72] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:37:30.888 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=72] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:30.889 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=72] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:30.890 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=72] [curr-step=init] [next-step=import] [2025/04/04 10:37:30.897 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:30.899 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/04 10:37:30.900 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=39] [2025/04/04 10:37:30.900 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=39] [cost=43.707µs] [2025/04/04 10:37:30.900 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=135.945µs] [] [2025/04/04 10:37:30.900 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=72] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:30.900 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=72] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:37:30.936 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=72] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:37:30.956 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=72] [step=import] [2025/04/04 10:37:30.956 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:30.963 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:30.963 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:30.964 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:30.964 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:30.964 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:30.964 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:30.964 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:30.964 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:30.964 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:30.965 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:30.976 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:30.978 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:30.978 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t1] [quota=373.5GB] [2025/04/04 10:37:30.978 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=72] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:30.978 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=72] [disk-quota=347.8GiB] [2025/04/04 10:37:30.978 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=455.1MiB]"] [2025/04/04 10:37:30.985 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [subtaskID=136] [step=import] [2025/04/04 10:37:30.985 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=72] [step=import] [subtask-id=136] [2025/04/04 10:37:30.989 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/04 10:37:30.992 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 10:37:30.992 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=364] [2025/04/04 10:37:30.995 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=72] [mode=Import] [2025/04/04 10:37:31.016 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=72] [2025/04/04 10:37:31.031 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=364] [key=1.txt:0] [2025/04/04 10:37:31.033 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=364] [key=1.txt:0] [readDur=857.935µs] [encodeDur=249.9µs] [checksum="{cksum=14131645107134293034,size=47,kvs=1}"] [deliverDur=213.382µs] [type=file] [takeTime=1.656595ms] [] [2025/04/04 10:37:31.034 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=47] [kvs=1] [files=1] [sstFileSize=945] [file=/tmp/tidb/import-4000/72/3ae7f001-78df-5ff2-91c4-d73c344f65c1.sst/c214256e-c110-4be9-a221-0c306212f809.sst] [firstKey=74800000000000016C5F728000000000000001] [lastKey=74800000000000016C5F728000000000000001] [2025/04/04 10:37:31.034 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=72] [step=import] [engine-id=0] [2025/04/04 10:37:31.034 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=72] [step=import] [engine-id=0] [2025/04/04 10:37:31.034 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/04 10:37:31.036 +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.813347ms] [] [2025/04/04 10:37:31.036 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [retryCnt=0] [2025/04/04 10:37:31.040 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:31.061 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=3ae7f001-78df-5ff2-91c4-d73c344f65c1] ["region ranges"=1] [count=1] [size=47] [2025/04/04 10:37:31.061 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:31.063 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000016c5f728000000000000001] [endOfAllRanges=74800000000000016c5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff6c5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff6c5f728000000000ff0000020000000000fa] [2025/04/04 10:37:31.074 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [size=47] [kvs=1] [importedSize=47] [importedCount=1] [2025/04/04 10:37:31.076 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [retryCnt=0] [takeTime=39.837232ms] [] [2025/04/04 10:37:31.076 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/04 10:37:31.077 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [takeTime=1.005814ms] [] [2025/04/04 10:37:31.077 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=72] [step=import] [engine-id=0] [2025/04/04 10:37:31.077 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 10:37:31.079 +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.532138ms] [] [2025/04/04 10:37:31.079 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [retryCnt=0] [2025/04/04 10:37:31.082 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 10:37:31.082 +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.583094ms] [] [2025/04/04 10:37:31.082 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 10:37:31.083 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [takeTime=981.23µs] [] [2025/04/04 10:37:31.083 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=72] [step=import] [subtask-id=136] [takeTime=98.229741ms] [] [2025/04/04 10:37:31.084 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [subtaskID=136] [step=import] [takeTime=98.395482ms] [] [2025/04/04 10:37:31.192 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=72] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:31.193 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=72] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:31.194 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=72] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:31.195 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=72] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:31.224 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=72] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 10:37:31.226 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=72] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:31.226 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=72] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:37:31.231 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:37:31.231 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=72] [step=import] [2025/04/04 10:37:31.234 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:31.235 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:31.235 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:31.234 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:31.235 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:31.235 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:31.235 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:31.235 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:31.235 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-72] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:31.235 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:31.235 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:31.235 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:31.237 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:31.237 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:31.237 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:31.237 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:31.237 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=455.1MiB]"] [takeTime=258.584434ms] [] [2025/04/04 10:37:31.237 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=72] [type=ImportInto] [2025/04/04 10:37:31.265 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=72] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:37:31.285 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=455.1MiB]"] [2025/04/04 10:37:31.293 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [subtaskID=137] [step=post-process] [2025/04/04 10:37:31.293 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [2025/04/04 10:37:31.293 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [2025/04/04 10:37:31.293 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [2025/04/04 10:37:31.298 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [takeTime=5.23304ms] [] [2025/04/04 10:37:31.298 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [groupId=-1] [size=47] [kvs=1] [checksum=14131645107134293034] [2025/04/04 10:37:31.298 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [checksum="{cksum=14131645107134293034,size=47,kvs=1}"] [2025/04/04 10:37:31.298 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [weight=30] [2025/04/04 10:37:31.298 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [concurrency=15] [2025/04/04 10:37:31.300 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=364] [physicalTableID=364] [indexID=-1] [checksum=14131645107134293034] [totalKvs=1] [totalBytes=47] [2025/04/04 10:37:31.300 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:31.300 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [local="{cksum=14131645107134293034,size=47,kvs=1}"] [2025/04/04 10:37:31.300 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [takeTime=7.662682ms] [] [2025/04/04 10:37:31.300 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [takeTime=7.830907ms] [] [2025/04/04 10:37:31.301 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [subtaskID=137] [step=post-process] [takeTime=7.960507ms] [] [2025/04/04 10:37:31.325 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:31.393 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=72] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:31.393 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=72] [step=post-process] [state=running] [] [2025/04/04 10:37:31.395 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=72] [2025/04/04 10:37:31.421 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=455.1MiB]"] [takeTime=135.351484ms] [] [2025/04/04 10:37:31.421 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=72] [type=ImportInto] [2025/04/04 10:37:31.488 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=72] [2025/04/04 10:37:31.494 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:31.494 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=72] [2025/04/04 10:37:31.516 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:31.681 +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.984480533\n# Parse_time: 0.000089437\n# Compile_time: 0.000547631\n# Rewrite_time: 0.000161572\n# Optimize_time: 0.000303787\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4My42bXMsIG9wZW46NTc2bnMsIGNsb3NlOjY5MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4My42bXMsIG9wZW46NTc2bnMsIGNsb3NlOjY5MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `test_detached`.`t1` FROM 'gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 10:37:31.687 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:31.733 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null,\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:37:31.751 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=73] [task-id=73] [data-size=39B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:37:31.765 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=73] [2025/04/04 10:37:31.765 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=73] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:37:31.868 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=73] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:31.869 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=73] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:31.870 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=73] [curr-step=init] [next-step=import] [2025/04/04 10:37:31.877 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:31.880 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 10:37:31.880 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=39] [2025/04/04 10:37:31.880 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=39] [cost=44.914µs] [2025/04/04 10:37:31.880 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=130.395µs] [] [2025/04/04 10:37:31.880 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=73] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:31.880 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=73] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:37:31.915 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=73] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:37:31.942 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=73] [step=import] [2025/04/04 10:37:31.942 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:31.949 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:31.950 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:31.950 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:31.950 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:31.950 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:31.950 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:31.950 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:31.950 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:31.951 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:31.951 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:31.962 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:31.964 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:31.965 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=373.5GB] [2025/04/04 10:37:31.965 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=73] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:31.965 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=73] [disk-quota=347.8GiB] [2025/04/04 10:37:31.965 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=455.1MiB]"] [2025/04/04 10:37:31.973 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [subtaskID=138] [step=import] [2025/04/04 10:37:31.973 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=73] [step=import] [subtask-id=138] [2025/04/04 10:37:31.976 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=73] [mode=Import] [2025/04/04 10:37:31.976 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/04 10:37:31.979 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 10:37:31.979 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=366] [2025/04/04 10:37:31.995 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=73] [2025/04/04 10:37:32.020 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=366] [key=1.txt:0] [2025/04/04 10:37:32.022 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=366] [key=1.txt:0] [readDur=920.259µs] [encodeDur=318.126µs] [checksum="{cksum=16630292482618711024,size=47,kvs=1}"] [deliverDur=225.028µs] [type=file] [takeTime=1.841678ms] [] [2025/04/04 10:37:32.022 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=47] [kvs=1] [files=1] [sstFileSize=945] [file=/tmp/tidb/import-4000/73/ad22e41c-f30a-50a8-9086-89d3ea93a06e.sst/d21d94fc-5d58-49c5-b4de-a66609008439.sst] [firstKey=74800000000000016E5F728000000000000001] [lastKey=74800000000000016E5F728000000000000001] [2025/04/04 10:37:32.022 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=73] [step=import] [engine-id=0] [2025/04/04 10:37:32.022 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=73] [step=import] [engine-id=0] [2025/04/04 10:37:32.023 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/04 10:37:32.024 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [takeTime=1.789505ms] [] [2025/04/04 10:37:32.024 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [retryCnt=0] [2025/04/04 10:37:32.028 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:32.050 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ad22e41c-f30a-50a8-9086-89d3ea93a06e] ["region ranges"=1] [count=1] [size=47] [2025/04/04 10:37:32.051 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:32.052 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000016e5f728000000000000001] [endOfAllRanges=74800000000000016e5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff6e5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff6e5f728000000000ff0000020000000000fa] [2025/04/04 10:37:32.063 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [size=47] [kvs=1] [importedSize=47] [importedCount=1] [2025/04/04 10:37:32.065 +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.44509ms] [] [2025/04/04 10:37:32.065 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/04 10:37:32.066 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [takeTime=1.000192ms] [] [2025/04/04 10:37:32.066 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=73] [step=import] [engine-id=0] [2025/04/04 10:37:32.066 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 10:37:32.068 +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.4103ms] [] [2025/04/04 10:37:32.068 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [retryCnt=0] [2025/04/04 10:37:32.071 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 10:37:32.071 +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.514047ms] [] [2025/04/04 10:37:32.071 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 10:37:32.072 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [takeTime=934.376µs] [] [2025/04/04 10:37:32.072 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=73] [step=import] [subtask-id=138] [takeTime=99.668741ms] [] [2025/04/04 10:37:32.072 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [subtaskID=138] [step=import] [takeTime=99.802034ms] [] [2025/04/04 10:37:32.174 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=73] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:32.175 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=73] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:32.176 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=73] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:32.176 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=73] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:32.205 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=73] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 10:37:32.207 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=73] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:32.207 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=73] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:37:32.216 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:37:32.216 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=73] [step=import] [2025/04/04 10:37:32.219 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:32.219 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:32.219 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:32.219 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:32.219 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:32.219 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:32.219 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:32.219 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:32.219 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:32.219 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:32.219 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-73] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:32.219 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:32.221 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:32.221 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:32.221 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:32.221 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:32.221 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=455.1MiB]"] [takeTime=256.462233ms] [] [2025/04/04 10:37:32.221 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=73] [type=ImportInto] [2025/04/04 10:37:32.235 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=73] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:37:32.255 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=455.1MiB]"] [2025/04/04 10:37:32.262 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [subtaskID=139] [step=post-process] [2025/04/04 10:37:32.262 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [2025/04/04 10:37:32.263 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [2025/04/04 10:37:32.263 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [2025/04/04 10:37:32.268 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [takeTime=5.456937ms] [] [2025/04/04 10:37:32.268 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [groupId=-1] [size=47] [kvs=1] [checksum=16630292482618711024] [2025/04/04 10:37:32.268 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [checksum="{cksum=16630292482618711024,size=47,kvs=1}"] [2025/04/04 10:37:32.268 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [weight=30] [2025/04/04 10:37:32.268 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [concurrency=15] [2025/04/04 10:37:32.270 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=366] [physicalTableID=366] [indexID=-1] [checksum=16630292482618711024] [totalKvs=1] [totalBytes=47] [2025/04/04 10:37:32.270 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:32.271 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [local="{cksum=16630292482618711024,size=47,kvs=1}"] [2025/04/04 10:37:32.271 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [takeTime=7.994157ms] [] [2025/04/04 10:37:32.271 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [takeTime=8.126844ms] [] [2025/04/04 10:37:32.271 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [subtaskID=139] [step=post-process] [takeTime=8.245193ms] [] [2025/04/04 10:37:32.294 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:32.373 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=73] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:32.373 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=73] [step=post-process] [state=running] [] [2025/04/04 10:37:32.375 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=73] [2025/04/04 10:37:32.393 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=455.1MiB]"] [takeTime=137.487575ms] [] [2025/04/04 10:37:32.393 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=73] [type=ImportInto] [2025/04/04 10:37:32.468 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=73] [2025/04/04 10:37:32.475 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:32.476 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=73] [2025/04/04 10:37:32.497 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:32.780 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:368, Type:drop schema, State:queueing, SchemaState:public, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:32.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS test_detached;"] [2025/04/04 10:37:32.780 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:368, Type:drop schema, State:queueing, SchemaState:public, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:32.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:32.785 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=368] [conn=2] [job="ID:368, Type:drop schema, State:queueing, SchemaState:public, SchemaID:362, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:32.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:32.803 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=264] [neededSchemaVersion=265] ["elapsed time"=1.9766ms] [gotSchemaVersion=265] [phyTblIDs="[364,366]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:32.807 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=368] [version=265] [Pipeline] { [2025/04/04 10:37:32.808 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=265] ["take time"=9.100531ms] [job="ID:368, Type:drop schema, State:running, SchemaState:write only, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:32.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:32.818 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=368] [conn=2] [job="ID:368, Type:drop schema, State:running, SchemaState:write only, SchemaID:362, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:32.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:32.830 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=265] [neededSchemaVersion=266] ["elapsed time"=121.319µs] [gotSchemaVersion=266] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:32.834 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=368] [version=266] [2025/04/04 10:37:32.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=266] ["take time"=7.597543ms] [job="ID:368, Type:drop schema, State:running, SchemaState:delete only, SchemaID:362, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:32.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:32.844 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=368] [conn=2] [job="ID:368, Type:drop schema, State:running, SchemaState:delete only, SchemaID:362, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:32.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:32.849 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:37:32.860 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=266] [neededSchemaVersion=267] ["elapsed time"=130.762µs] [gotSchemaVersion=267] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:32.864 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=368] [version=267] Post stage [2025/04/04 10:37: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=267] ["take time"=7.422425ms] [job="ID:368, Type:drop schema, State:done, SchemaState:none, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:32.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:32.874 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=368] [tableIDs="[364,366]"] [comment="drop schema: table IDs"] [2025/04/04 10:37:32.879 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=368] [jobType="drop schema"] [2025/04/04 10:37:32.880 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=368] [conn=2] [job="ID:368, Type:drop schema, State:synced, SchemaState:none, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:32.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:32.896 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=368] [2025/04/04 10:37:32.896 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=267] [cur_db=] [sql="DROP DATABASE IF EXISTS test_detached;"] [user=root@%] [2025/04/04 10:37:32.908 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:370, Type:create schema, State:queueing, SchemaState:none, SchemaID:369, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:32.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:32.908 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:370, Type:create schema, State:queueing, SchemaState:none, SchemaID:369, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:32.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE test_detached;"] [2025/04/04 10:37:32.914 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=370] [conn=2] [job="ID:370, Type:create schema, State:queueing, SchemaState:none, SchemaID:369, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:32.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:32.933 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=267] [neededSchemaVersion=268] ["elapsed time"=7.468124ms] [gotSchemaVersion=268] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:37:32.937 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=370] [version=268] [2025/04/04 10:37:32.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=268] ["take time"=15.054481ms] [job="ID:370, Type:create schema, State:done, SchemaState:public, SchemaID:369, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:32.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:32.949 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=370] [conn=2] [job="ID:370, Type:create schema, State:synced, SchemaState:public, SchemaID:369, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:32.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:32.958 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=370] [2025/04/04 10:37:32.959 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=268] [cur_db=] [sql="CREATE DATABASE test_detached;"] [user=root@%] [2025/04/04 10:37:32.972 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:372, Type:create table, State:queueing, SchemaState:none, SchemaID:369, TableID:371, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:32.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:32.972 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:372, Type:create table, State:queueing, SchemaState:none, SchemaID:369, TableID:371, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:32.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE test_detached.t1 (c INT NOT NULL, c2 TINYINT);"] [2025/04/04 10:37:32.977 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=372] [conn=2] [job="ID:372, Type:create table, State:queueing, SchemaState:none, SchemaID:369, TableID:371, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:32.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:32.982 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 371, Table Name: t1)"] [2025/04/04 10:37:32.996 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=268] [neededSchemaVersion=269] ["elapsed time"=1.716331ms] [gotSchemaVersion=269] [phyTblIDs="[371]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:33.000 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=269] [2025/04/04 10:37:33.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=269] ["take time"=8.879664ms] [job="ID:372, Type:create table, State:done, SchemaState:public, SchemaID:369, TableID:371, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:32.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:33.013 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=372] [conn=2] [job="ID:372, Type:create table, State:synced, SchemaState:public, SchemaID:369, TableID:371, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:32.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:33.023 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=372] [2025/04/04 10:37:33.024 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=269] [cur_db=] [sql="CREATE TABLE test_detached.t1 (c INT NOT NULL, c2 TINYINT);"] [user=root@%] [2025/04/04 10:37:33.036 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:374, Type:create table, State:queueing, SchemaState:none, SchemaID:369, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:32.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE test_detached.t2 (c INT NOT NULL, c2 TINYINT);"] [2025/04/04 10:37:33.036 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:374, Type:create table, State:queueing, SchemaState:none, SchemaID:369, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:32.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:33.042 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=374] [conn=2] [job="ID:374, Type:create table, State:queueing, SchemaState:none, SchemaID:369, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:32.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:33.047 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 373, Table Name: t2)"] [2025/04/04 10:37:33.064 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=269] [neededSchemaVersion=270] ["elapsed time"=1.908111ms] [gotSchemaVersion=270] [phyTblIDs="[373]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:33.068 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=374] [version=270] [2025/04/04 10:37:33.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=270] ["take time"=12.113102ms] [job="ID:374, Type:create table, State:done, SchemaState:public, SchemaID:369, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:32.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:33.083 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=374] [conn=2] [job="ID:374, Type:create table, State:synced, SchemaState:public, SchemaID:369, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:32.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:33.094 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=374] [2025/04/04 10:37:33.094 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=270] [cur_db=] [sql="CREATE TABLE test_detached.t2 (c INT NOT NULL, c2 TINYINT);"] [user=root@%] [2025/04/04 10:37:33.101 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:33.150 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:37:33.169 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=74] [task-id=74] [data-size=5B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:37:33.184 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=74] [2025/04/04 10:37:33.184 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=74] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:37:33.286 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=74] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:33.287 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=74] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:33.288 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=74] [curr-step=init] [next-step=import] [2025/04/04 10:37:33.295 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:33.298 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/04 10:37:33.298 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=5] [2025/04/04 10:37:33.298 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=5] [cost=205.342µs] [2025/04/04 10:37:33.298 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=357.545µs] [] [2025/04/04 10:37:33.298 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=74] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:33.298 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=74] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:37:33.336 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=74] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:37:33.355 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=74] [step=import] [2025/04/04 10:37:33.356 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:33.363 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:33.363 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:33.364 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:33.364 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:33.364 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:33.364 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:33.364 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:33.364 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:33.365 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:33.365 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:33.376 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:33.378 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:33.378 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t1] [quota=373.5GB] [2025/04/04 10:37:33.378 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=74] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:33.378 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=74] [disk-quota=347.8GiB] [2025/04/04 10:37:33.378 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=455.1MiB]"] [2025/04/04 10:37:33.385 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [subtaskID=140] [step=import] [2025/04/04 10:37:33.385 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=74] [step=import] [subtask-id=140] [2025/04/04 10:37:33.389 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/04 10:37:33.392 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=74] [mode=Import] [2025/04/04 10:37:33.392 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 10:37:33.392 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=371] [2025/04/04 10:37:33.410 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=74] [2025/04/04 10:37:33.429 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=371] [key=1.txt:0] [2025/04/04 10:37:33.431 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=371] [key=1.txt:0] [readDur=819.533µs] [encodeDur=205.817µs] [checksum="{cksum=10389631808286628075,size=33,kvs=1}"] [deliverDur=214.731µs] [type=file] [takeTime=1.589017ms] [] [2025/04/04 10:37:33.432 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=33] [kvs=1] [files=1] [sstFileSize=931] [file=/tmp/tidb/import-4000/74/3ae7f001-78df-5ff2-91c4-d73c344f65c1.sst/4728fbbf-3c61-4440-9511-70f5b63bb813.sst] [firstKey=7480000000000001735F728000000000000001] [lastKey=7480000000000001735F728000000000000001] [2025/04/04 10:37:33.432 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=74] [step=import] [engine-id=0] [2025/04/04 10:37:33.432 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=74] [step=import] [engine-id=0] [2025/04/04 10:37:33.432 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/04 10:37:33.434 +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.012322ms] [] [2025/04/04 10:37:33.434 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [retryCnt=0] [2025/04/04 10:37:33.439 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:33.461 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=3ae7f001-78df-5ff2-91c4-d73c344f65c1] ["region ranges"=1] [count=1] [size=33] [2025/04/04 10:37:33.461 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:33.463 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001735f728000000000000001] [endOfAllRanges=7480000000000001735f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff735f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff735f728000000000ff0000020000000000fa] [2025/04/04 10:37:33.474 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [size=33] [kvs=1] [importedSize=33] [importedCount=1] [2025/04/04 10:37:33.476 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [retryCnt=0] [takeTime=42.155157ms] [] [2025/04/04 10:37:33.476 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/04 10:37:33.477 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [takeTime=1.159953ms] [] [2025/04/04 10:37:33.477 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=74] [step=import] [engine-id=0] [2025/04/04 10:37:33.477 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 10:37:33.479 +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.579133ms] [] [2025/04/04 10:37:33.479 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [retryCnt=0] [2025/04/04 10:37:33.483 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 10:37:33.483 +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.704642ms] [] [2025/04/04 10:37:33.483 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 10:37:33.484 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [takeTime=867.934µs] [] [2025/04/04 10:37:33.484 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=74] [step=import] [subtask-id=140] [takeTime=98.564599ms] [] [2025/04/04 10:37:33.484 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [subtaskID=140] [step=import] [takeTime=98.70917ms] [] [2025/04/04 10:37:33.591 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=74] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:33.592 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=74] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:33.593 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=74] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:33.593 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=74] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:33.622 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=74] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 10:37:33.623 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=74] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:33.623 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=74] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:37:33.628 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:37:33.628 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=74] [step=import] [2025/04/04 10:37:33.631 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:33.631 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:33.631 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:33.631 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:33.631 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:33.631 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:33.631 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:33.631 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:33.631 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:33.631 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-74] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:33.631 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:33.631 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:33.633 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:33.633 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:33.633 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:33.633 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:33.633 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=455.1MiB]"] [takeTime=255.192845ms] [] [2025/04/04 10:37:33.633 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=74] [type=ImportInto] [2025/04/04 10:37:33.656 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=74] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:37:33.677 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=455.1MiB]"] [2025/04/04 10:37:33.684 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [subtaskID=141] [step=post-process] [2025/04/04 10:37:33.684 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [2025/04/04 10:37:33.684 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [2025/04/04 10:37:33.684 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [2025/04/04 10:37:33.689 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [takeTime=5.21262ms] [] [2025/04/04 10:37:33.689 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [groupId=-1] [size=33] [kvs=1] [checksum=10389631808286628075] [2025/04/04 10:37:33.689 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [checksum="{cksum=10389631808286628075,size=33,kvs=1}"] [2025/04/04 10:37:33.689 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [weight=30] [2025/04/04 10:37:33.689 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [concurrency=15] [2025/04/04 10:37:33.691 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=371] [physicalTableID=371] [indexID=-1] [checksum=10389631808286628075] [totalKvs=1] [totalBytes=33] [2025/04/04 10:37:33.692 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:33.692 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [local="{cksum=10389631808286628075,size=33,kvs=1}"] [2025/04/04 10:37:33.692 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [takeTime=7.747666ms] [] [2025/04/04 10:37:33.692 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [takeTime=7.899882ms] [] [2025/04/04 10:37:33.692 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [subtaskID=141] [step=post-process] [takeTime=8.02653ms] [] [2025/04/04 10:37:33.716 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:33.791 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=74] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:33.791 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=74] [step=post-process] [state=running] [] [2025/04/04 10:37:33.794 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=74] [2025/04/04 10:37:33.953 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=74] [2025/04/04 10:37:33.960 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:33.960 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=74] [2025/04/04 10:37:33.964 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=74] [2025/04/04 10:37:33.964 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=74] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=succeed] [concurrency=1] [2025/04/04 10:37:33.966 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=455.1MiB]"] [takeTime=289.212639ms] [] [2025/04/04 10:37:33.966 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=74] [type=ImportInto] [2025/04/04 10:37:33.981 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:34.067 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=74] [2025/04/04 10:37:34.087 +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.991775463\n# Parse_time: 0.000090093\n# Compile_time: 0.00060902\n# Rewrite_time: 0.00021129\n# Optimize_time: 0.000248595\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MC43bXMsIG9wZW46ODE4bnMsIGNsb3NlOjYwNm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5MC43bXMsIG9wZW46ODE4bnMsIGNsb3NlOjYwNm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `test_detached`.`t1` FROM 'gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 10:37:34.093 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:34.150 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null,\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:37:34.170 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=75] [task-id=75] [data-size=5B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:37:34.185 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=75] [2025/04/04 10:37:34.185 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=75] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:37:34.288 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=75] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:34.289 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=75] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:34.290 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=75] [curr-step=init] [next-step=import] [2025/04/04 10:37:34.297 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:34.300 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 10:37:34.300 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=5] [2025/04/04 10:37:34.300 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=5] [cost=41.618µs] [2025/04/04 10:37:34.300 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=164.213µs] [] [2025/04/04 10:37:34.301 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=75] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:34.301 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=75] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:37:34.337 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=75] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:37:34.358 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=75] [step=import] [2025/04/04 10:37:34.358 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:34.366 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:34.367 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:34.367 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:34.367 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:34.367 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:34.367 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:34.367 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:34.368 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:34.368 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:34.368 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:34.380 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:34.382 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:34.382 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=373.5GB] [2025/04/04 10:37:34.383 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=75] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:34.383 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=75] [disk-quota=347.8GiB] [2025/04/04 10:37:34.383 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=455.1MiB]"] [2025/04/04 10:37:34.390 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [subtaskID=142] [step=import] [2025/04/04 10:37:34.390 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=75] [step=import] [subtask-id=142] [2025/04/04 10:37:34.394 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=75] [mode=Import] [2025/04/04 10:37:34.394 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/04 10:37:34.397 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 10:37:34.397 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=373] [2025/04/04 10:37:34.413 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=75] [2025/04/04 10:37:34.434 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=373] [key=1.txt:0] [2025/04/04 10:37:34.436 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=373] [key=1.txt:0] [readDur=1.087796ms] [encodeDur=393.265µs] [checksum="{cksum=5264423192021952273,size=33,kvs=1}"] [deliverDur=215.245µs] [type=file] [takeTime=1.99618ms] [] [2025/04/04 10:37:34.437 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=33] [kvs=1] [files=1] [sstFileSize=931] [file=/tmp/tidb/import-4000/75/ad22e41c-f30a-50a8-9086-89d3ea93a06e.sst/adec831c-0d7f-44ab-b7db-41fa5b5e4f7c.sst] [firstKey=7480000000000001755F728000000000000001] [lastKey=7480000000000001755F728000000000000001] [2025/04/04 10:37:34.437 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=75] [step=import] [engine-id=0] [2025/04/04 10:37:34.437 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=75] [step=import] [engine-id=0] [2025/04/04 10:37:34.437 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/04 10:37:34.439 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [takeTime=1.88402ms] [] [2025/04/04 10:37:34.439 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [retryCnt=0] [2025/04/04 10:37:34.444 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:34.465 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ad22e41c-f30a-50a8-9086-89d3ea93a06e] ["region ranges"=1] [count=1] [size=33] [2025/04/04 10:37:34.466 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:34.467 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001755f728000000000000001] [endOfAllRanges=7480000000000001755f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff755f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff755f728000000000ff0000020000000000fa] [2025/04/04 10:37:34.478 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [size=33] [kvs=1] [importedSize=33] [importedCount=1] [2025/04/04 10:37:34.480 +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.130497ms] [] [2025/04/04 10:37:34.480 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/04 10:37:34.482 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [takeTime=1.056323ms] [] [2025/04/04 10:37:34.482 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=75] [step=import] [engine-id=0] [2025/04/04 10:37:34.482 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 10:37:34.483 +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.589703ms] [] [2025/04/04 10:37:34.483 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [retryCnt=0] [2025/04/04 10:37:34.487 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 10:37:34.487 +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.799757ms] [] [2025/04/04 10:37:34.487 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 10:37:34.488 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [takeTime=792.534µs] [] [2025/04/04 10:37:34.488 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=75] [step=import] [subtask-id=142] [takeTime=98.03427ms] [] [2025/04/04 10:37:34.488 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [subtaskID=142] [step=import] [takeTime=98.175792ms] [] [2025/04/04 10:37:34.593 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=75] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:34.594 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=75] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:34.595 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=75] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:34.595 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=75] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:34.625 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=75] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 10:37:34.626 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=75] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:34.626 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=75] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:37:34.634 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:37:34.634 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=75] [step=import] [2025/04/04 10:37:34.636 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:34.636 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:34.636 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:34.636 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:34.636 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:34.637 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:34.636 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:34.637 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:34.637 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-75] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:34.637 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:34.637 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:34.637 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:34.639 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:34.639 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:34.639 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:34.639 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:34.639 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=455.1MiB]"] [takeTime=256.846077ms] [] [2025/04/04 10:37:34.640 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=75] [type=ImportInto] [2025/04/04 10:37:34.666 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=75] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:37:34.686 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=455.1MiB]"] [2025/04/04 10:37:34.695 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [subtaskID=143] [step=post-process] [2025/04/04 10:37:34.695 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [2025/04/04 10:37:34.695 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [2025/04/04 10:37:34.695 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [2025/04/04 10:37:34.701 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [takeTime=5.882058ms] [] [2025/04/04 10:37:34.701 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [groupId=-1] [size=33] [kvs=1] [checksum=5264423192021952273] [2025/04/04 10:37:34.701 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [checksum="{cksum=5264423192021952273,size=33,kvs=1}"] [2025/04/04 10:37:34.701 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [weight=30] [2025/04/04 10:37:34.701 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [concurrency=15] [2025/04/04 10:37:34.703 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=373] [physicalTableID=373] [indexID=-1] [checksum=5264423192021952273] [totalKvs=1] [totalBytes=33] [2025/04/04 10:37:34.703 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:34.704 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [local="{cksum=5264423192021952273,size=33,kvs=1}"] [2025/04/04 10:37:34.704 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [takeTime=8.460054ms] [] [2025/04/04 10:37:34.704 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [takeTime=8.630964ms] [] [2025/04/04 10:37:34.704 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [subtaskID=143] [step=post-process] [takeTime=8.756162ms] [] [2025/04/04 10:37:34.730 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:34.794 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=75] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:34.794 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=75] [step=post-process] [state=running] [] [2025/04/04 10:37:34.796 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=75] [2025/04/04 10:37:34.826 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=455.1MiB]"] [takeTime=139.169423ms] [] [2025/04/04 10:37:34.826 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=75] [type=ImportInto] [2025/04/04 10:37:34.888 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=75] [2025/04/04 10:37:34.894 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:34.894 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=75] [2025/04/04 10:37:34.915 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] --- PASS: TestImportInto/TestSameBehaviourDetachedOrNot (4.69s) === NAME TestImportInto === RUN TestImportInto/TestShowDetachedJob [2025/04/04 10:37:35.190 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=270] [cur_db=] [sql="drop database if exists show_detached_job"] [user=root@%] [2025/04/04 10:37:35.205 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:376, Type:create schema, State:queueing, SchemaState:none, SchemaID:375, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:35.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:35.205 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:376, Type:create schema, State:queueing, SchemaState:none, SchemaID:375, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:35.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database show_detached_job"] [2025/04/04 10:37:35.214 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=376] [conn=2] [job="ID:376, Type:create schema, State:queueing, SchemaState:none, SchemaID:375, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:35.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:35.228 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=270] [neededSchemaVersion=271] ["elapsed time"=712.469µs] [gotSchemaVersion=271] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:37:35.232 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=376] [version=271] [2025/04/04 10:37:35.234 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=271] ["take time"=8.04628ms] [job="ID:376, Type:create schema, State:done, SchemaState:public, SchemaID:375, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:35.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:35.244 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=376] [conn=2] [job="ID:376, Type:create schema, State:synced, SchemaState:public, SchemaID:375, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:35.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:35.254 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=376] [2025/04/04 10:37:35.254 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=271] [cur_db=] [sql="create database show_detached_job"] [user=root@%] [2025/04/04 10:37:35.268 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:378, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:377, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:35.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:35.268 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:378, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:377, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:35.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/04 10:37:35.274 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=378] [conn=2] [job="ID:378, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:377, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:35.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:35.278 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 377, Table Name: t1)"] [2025/04/04 10:37:35.293 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=271] [neededSchemaVersion=272] ["elapsed time"=1.709104ms] [gotSchemaVersion=272] [phyTblIDs="[377]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:35.298 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=378] [version=272] [2025/04/04 10:37:35.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=272] ["take time"=10.010137ms] [job="ID:378, Type:create table, State:done, SchemaState:public, SchemaID:375, TableID:377, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:35.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:35.311 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=378] [conn=2] [job="ID:378, Type:create table, State:synced, SchemaState:public, SchemaID:375, TableID:377, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:35.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:35.322 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=378] [2025/04/04 10:37:35.323 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=272] [cur_db=show_detached_job] [sql="CREATE TABLE t1 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/04 10:37:35.335 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:380, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:379, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:35.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:35.335 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:380, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:379, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:35.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t2 (i INT PRIMARY KEY);"] [2025/04/04 10:37:35.340 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=380] [conn=2] [job="ID:380, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:379, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:35.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:35.345 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 379, Table Name: t2)"] [2025/04/04 10:37:35.358 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=272] [neededSchemaVersion=273] ["elapsed time"=1.538697ms] [gotSchemaVersion=273] [phyTblIDs="[379]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:35.362 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=380] [version=273] [2025/04/04 10:37:35.364 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=273] ["take time"=9.491934ms] [job="ID:380, Type:create table, State:done, SchemaState:public, SchemaID:375, TableID:379, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:35.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:35.375 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=380] [conn=2] [job="ID:380, Type:create table, State:synced, SchemaState:public, SchemaID:375, TableID:379, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:35.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:35.386 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=380] [2025/04/04 10:37:35.386 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=273] [cur_db=show_detached_job] [sql="CREATE TABLE t2 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/04 10:37:35.399 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:382, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:381, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:35.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:35.400 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:382, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:381, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:35.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t3 (i INT PRIMARY KEY);"] [2025/04/04 10:37:35.406 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=382] [conn=2] [job="ID:382, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:381, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:35.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:35.410 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 381, Table Name: t3)"] [2025/04/04 10:37:35.424 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=273] [neededSchemaVersion=274] ["elapsed time"=1.571308ms] [gotSchemaVersion=274] [phyTblIDs="[381]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:35.428 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=382] [version=274] [2025/04/04 10:37:35.429 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=274] ["take time"=8.872075ms] [job="ID:382, Type:create table, State:done, SchemaState:public, SchemaID:375, TableID:381, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:35.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:35.440 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=382] [conn=2] [job="ID:382, Type:create table, State:synced, SchemaState:public, SchemaID:375, TableID:381, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:35.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:35.450 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=382] [2025/04/04 10:37:35.451 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=274] [cur_db=show_detached_job] [sql="CREATE TABLE t3 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/04 10:37:35.457 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:35.510 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-detached-job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/04 10:37:35.531 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=76] [task-id=76] [data-size=3B] [thread-cnt=8] [global-sort=false] [2025/04/04 10:37:35.548 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=76] [2025/04/04 10:37:35.548 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=76] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:37:35.650 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=76] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:35.651 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=76] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:35.652 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=76] [curr-step=init] [next-step=import] [2025/04/04 10:37:35.659 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:35.662 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/04 10:37:35.662 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/04 10:37:35.662 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=381.761µs] [2025/04/04 10:37:35.662 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=560.981µs] [] [2025/04/04 10:37:35.662 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=76] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:35.663 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=76] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 10:37:35.697 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=76] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:37:35.717 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=76] [step=import] [2025/04/04 10:37:35.717 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:35.725 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:35.725 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:35.725 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:35.725 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:35.726 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:35.726 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:35.726 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:35.726 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:35.726 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:35.726 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:35.739 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:35.741 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:35.741 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t1] [quota=373.5GB] [2025/04/04 10:37:35.741 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=76] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:35.741 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:35.741 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=76] [disk-quota=347.8GiB] [2025/04/04 10:37:35.748 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [subtaskID=144] [step=import] [2025/04/04 10:37:35.748 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=76] [step=import] [subtask-id=144] [2025/04/04 10:37:35.752 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:0] [engineUUID=4c8e15fc-755f-59dd-958d-7cda1975f957] [2025/04/04 10:37:35.755 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [2025/04/04 10:37:35.756 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=377] [2025/04/04 10:37:35.758 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=76] [mode=Import] [2025/04/04 10:37:35.777 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=76] [2025/04/04 10:37:35.828 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=377] [key=t.csv:0] [2025/04/04 10:37:35.830 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=377] [key=t.csv:0] [readDur=948.105µs] [encodeDur=203.056µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=185.38µs] [type=file] [takeTime=1.586751ms] [] [2025/04/04 10:37:35.831 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=50] [kvs=2] [files=1] [sstFileSize=964] [file=/tmp/tidb/import-4000/76/4c8e15fc-755f-59dd-958d-7cda1975f957.sst/0d7563d5-4ee7-473f-b996-b6e62a4cbab6.sst] [firstKey=7480000000000001795F728000000000000001] [lastKey=7480000000000001795F728000000000000002] [2025/04/04 10:37:35.831 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=76] [step=import] [engine-id=0] [2025/04/04 10:37:35.831 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=76] [step=import] [engine-id=0] [2025/04/04 10:37:35.831 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:0] [engineUUID=4c8e15fc-755f-59dd-958d-7cda1975f957] [2025/04/04 10:37:35.833 +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=1.845759ms] [] [2025/04/04 10:37:35.833 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:0] [engineUUID=4c8e15fc-755f-59dd-958d-7cda1975f957] [retryCnt=0] [2025/04/04 10:37:35.837 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:35.859 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=4c8e15fc-755f-59dd-958d-7cda1975f957] ["region ranges"=1] [count=2] [size=50] [2025/04/04 10:37:35.859 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:35.861 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001795f728000000000000001] [endOfAllRanges=7480000000000001795f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff795f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff795f728000000000ff0000030000000000fa] [2025/04/04 10:37:35.873 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=4c8e15fc-755f-59dd-958d-7cda1975f957] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/04 10:37:35.875 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:0] [engineUUID=4c8e15fc-755f-59dd-958d-7cda1975f957] [retryCnt=0] [takeTime=41.690058ms] [] [2025/04/04 10:37:35.875 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:0] [engineUUID=4c8e15fc-755f-59dd-958d-7cda1975f957] [2025/04/04 10:37:35.876 +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.077102ms] [] [2025/04/04 10:37:35.876 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=76] [step=import] [engine-id=0] [2025/04/04 10:37:35.876 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [2025/04/04 10:37:35.878 +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.50709ms] [] [2025/04/04 10:37:35.878 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [retryCnt=0] [2025/04/04 10:37:35.882 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [2025/04/04 10:37:35.882 +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.782255ms] [] [2025/04/04 10:37:35.882 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [2025/04/04 10:37:35.883 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [takeTime=861.646µs] [] [2025/04/04 10:37:35.883 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=76] [step=import] [subtask-id=144] [takeTime=134.453776ms] [] [2025/04/04 10:37:35.883 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [subtaskID=144] [step=import] [takeTime=134.595977ms] [] [2025/04/04 10:37:35.955 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=76] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:35.956 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=76] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:35.957 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=76] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:35.957 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=76] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:35.988 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=76] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:37:35.989 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=76] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:35.989 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=76] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:37:36.011 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:37:36.018 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=76] [step=import] [2025/04/04 10:37:36.020 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:36.020 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:36.020 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:36.021 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:36.021 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:36.021 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:36.021 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:36.021 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-76] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:36.021 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:36.021 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:36.021 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:36.021 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:36.023 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:36.023 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:36.023 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:36.023 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:36.023 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=282.230488ms] [] [2025/04/04 10:37:36.024 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:36.031 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [subtaskID=145] [step=post-process] [2025/04/04 10:37:36.031 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [2025/04/04 10:37:36.031 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [2025/04/04 10:37:36.031 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [2025/04/04 10:37:36.032 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [takeTime=1.541µs] [] [2025/04/04 10:37:36.032 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/04 10:37:36.032 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 10:37:36.032 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [weight=30] [2025/04/04 10:37:36.032 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [concurrency=15] [2025/04/04 10:37:36.033 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=377] [physicalTableID=377] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/04 10:37:36.034 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:36.034 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 10:37:36.034 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [takeTime=2.621177ms] [] [2025/04/04 10:37:36.034 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [takeTime=2.754697ms] [] [2025/04/04 10:37:36.034 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [subtaskID=145] [step=post-process] [takeTime=2.900915ms] [] [2025/04/04 10:37:36.046 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:36.055 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=76] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:36.055 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=76] [step=post-process] [state=running] [] [2025/04/04 10:37:36.056 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=76] [2025/04/04 10:37:36.079 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=55.125544ms] [] [2025/04/04 10:37:36.079 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=76] [type=ImportInto] [2025/04/04 10:37:36.150 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=76] [2025/04/04 10:37:36.157 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:36.157 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=76] [2025/04/04 10:37:36.178 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:36.549 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:36.599 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-detached-job/t2.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/04 10:37:36.618 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=77] [task-id=77] [data-size=3B] [thread-cnt=8] [global-sort=false] [2025/04/04 10:37:36.635 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=77] [2025/04/04 10:37:36.635 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=77] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:37:36.738 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=77] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:36.738 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=77] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:36.739 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=77] [curr-step=init] [next-step=import] [2025/04/04 10:37:36.746 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:36.749 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 10:37:36.749 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/04 10:37:36.749 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=44.942µs] [2025/04/04 10:37:36.749 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=129.783µs] [] [2025/04/04 10:37:36.749 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=77] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:36.749 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=77] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 10:37:36.785 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=77] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:37:36.804 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=77] [step=import] [2025/04/04 10:37:36.804 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:36.812 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:36.812 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:36.812 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:36.812 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:36.812 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:36.812 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:36.812 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:36.812 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:36.813 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:36.813 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:36.824 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:36.825 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:36.825 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=373.5GB] [2025/04/04 10:37:36.826 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=77] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:36.826 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:36.826 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=77] [disk-quota=347.8GiB] [2025/04/04 10:37:36.833 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [subtaskID=146] [step=import] [2025/04/04 10:37:36.833 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=77] [step=import] [subtask-id=146] [2025/04/04 10:37:36.836 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [2025/04/04 10:37:36.839 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [2025/04/04 10:37:36.839 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=379] [2025/04/04 10:37:36.843 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=77] [mode=Import] [2025/04/04 10:37:36.860 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=77] [2025/04/04 10:37:36.866 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=379] [key=t2.csv:0] [2025/04/04 10:37:36.868 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=379] [key=t2.csv:0] [readDur=793.722µs] [encodeDur=206.184µs] [checksum="{cksum=0,size=50,kvs=2}"] [deliverDur=198.884µs] [type=file] [takeTime=1.408229ms] [] [2025/04/04 10:37:36.868 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=74800000000000017B5F728000000000000001] [2025/04/04 10:37:36.869 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25] [kvs=2] [files=1] [sstFileSize=923] [file=/tmp/tidb/import-4000/77/385b6216-6ebc-5909-bf6e-7976f99624d0.sst/7971167f-34ac-4833-9ae2-26dba9971d80.sst] [firstKey=74800000000000017B5F728000000000000001] [lastKey=74800000000000017B5F728000000000000001] [2025/04/04 10:37:36.869 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=77] [step=import] [engine-id=0] [2025/04/04 10:37:36.869 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=77] [step=import] [engine-id=0] [2025/04/04 10:37:36.869 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [2025/04/04 10:37:36.871 +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.747204ms] [] [2025/04/04 10:37:36.871 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [retryCnt=0] [2025/04/04 10:37:36.875 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:36.896 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=385b6216-6ebc-5909-bf6e-7976f99624d0] ["region ranges"=1] [count=2] [size=25] [2025/04/04 10:37:36.897 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:36.898 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000017b5f728000000000000001] [endOfAllRanges=74800000000000017b5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff7b5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff7b5f728000000000ff0000020000000000fa] [2025/04/04 10:37:36.908 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=385b6216-6ebc-5909-bf6e-7976f99624d0] [size=25] [kvs=2] [importedSize=25] [importedCount=1] [2025/04/04 10:37:36.909 +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=38.879942ms] [] [2025/04/04 10:37:36.910 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [2025/04/04 10:37:36.911 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [takeTime=989.528µs] [] [2025/04/04 10:37:36.911 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=77] [step=import] [engine-id=0] [2025/04/04 10:37:36.911 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [2025/04/04 10:37:36.912 +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.271047ms] [] [2025/04/04 10:37:36.912 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [retryCnt=0] [2025/04/04 10:37:36.916 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e217af54-bdcc-5600-bbdb-9279f0f79710] [2025/04/04 10:37:36.916 +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.620544ms] [] [2025/04/04 10:37:36.916 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [2025/04/04 10:37:36.917 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [takeTime=905.934µs] [] [2025/04/04 10:37:36.917 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=77] [step=import] [subtask-id=146] [takeTime=83.765957ms] [] [2025/04/04 10:37:36.917 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [subtaskID=146] [step=import] [takeTime=83.894457ms] [] [2025/04/04 10:37:36.942 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=77] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:36.943 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=77] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:36.944 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=77] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:36.944 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=77] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:36.975 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=77] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 10:37:36.976 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=77] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:36.976 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=77] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:37:36.998 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:37:37.004 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=77] [step=import] [2025/04/04 10:37:37.007 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:37.007 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:37.007 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:37.007 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:37.007 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:37.007 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:37.007 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:37.007 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:37.007 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-77] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:37.007 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:37.007 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:37.007 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:37.009 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:37.009 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:37.009 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:37.009 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:37.009 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=183.261045ms] [] [2025/04/04 10:37:37.010 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:37.017 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [subtaskID=147] [step=post-process] [2025/04/04 10:37:37.017 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=147] [2025/04/04 10:37:37.017 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=147] [2025/04/04 10:37:37.018 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=147] [2025/04/04 10:37:37.018 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=147] [takeTime=1.701µs] [] [2025/04/04 10:37:37.018 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=147] [groupId=-1] [size=50] [kvs=2] [checksum=0] [2025/04/04 10:37:37.018 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=147] [checksum="{cksum=0,size=50,kvs=2}"] [2025/04/04 10:37:37.018 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=147] [weight=30] [2025/04/04 10:37:37.018 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=147] [concurrency=15] [2025/04/04 10:37:37.020 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=379] [physicalTableID=379] [indexID=-1] [checksum=5324322070113961250] [totalKvs=1] [totalBytes=25] [2025/04/04 10:37:37.020 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:37.020 +00:00] [ERROR] [subtask_executor.go:103] ["post process failed"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=147] [takeTime=2.569949ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func1\n\tpkg/disttask/importinto/subtask_executor.go:103\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:37:37.020 +00:00] [ERROR] [task_executor.go:544] ["run subtask failed"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=147] [takeTime=2.850106ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:544\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:37:37.020 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [subtaskID=147] [step=post-process] [takeTime=3.08622ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:37.021 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:37.027 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:37:37.037 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:37.047 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=77] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)\\\"}\"]"] [2025/04/04 10:37:37.058 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=48.134796ms] [] [2025/04/04 10:37:37.058 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=77] [type=ImportInto] [2025/04/04 10:37:37.100 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:37:37.141 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=77] [step=post-process] [state=reverting] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [2025/04/04 10:37:37.142 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=77] [step=post-process] [mode=Normal] [2025/04/04 10:37:37.147 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=77] [2025/04/04 10:37:37.237 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=77] [2025/04/04 10:37:37.243 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:37.243 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=77] [2025/04/04 10:37:37.262 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:37.633 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:37.678 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-detached-job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/04 10:37:37.696 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=78] [task-id=78] [data-size=3B] [thread-cnt=8] [global-sort=false] [2025/04/04 10:37:37.709 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=78] [2025/04/04 10:37:37.709 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=78] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:37:37.811 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=78] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:37.812 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=78] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:37.813 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=78] [curr-step=init] [next-step=import] [2025/04/04 10:37:37.820 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:37.822 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t3] [2025/04/04 10:37:37.822 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t3] [before=536870912000] [after=3] [2025/04/04 10:37:37.822 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t3] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=43.827µs] [2025/04/04 10:37:37.822 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t3] [takeTime=133.517µs] [] [2025/04/04 10:37:37.822 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=78] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:37.822 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=78] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 10:37:37.854 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=78] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:37:37.873 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=78] [step=import] [2025/04/04 10:37:37.873 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:37.881 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:37.881 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:37.881 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:37.881 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:37.881 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:37.881 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:37.881 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:37.882 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:37.882 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:37.882 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:37.893 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:37.895 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:37.895 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t3] [quota=373.5GB] [2025/04/04 10:37:37.895 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t3] [import-id=78] [disk-quota=347.8GiB] [2025/04/04 10:37:37.895 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=78] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:37.895 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=78] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:37.902 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=78] [task-type=ImportInto] [server-id=:4000] [subtaskID=148] [step=import] [2025/04/04 10:37:37.902 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=78] [step=import] [subtask-id=148] [2025/04/04 10:37:37.906 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t3`:0] [engineUUID=1b1505a5-6ea7-513e-afb3-0c56d5f7e5e5] [2025/04/04 10:37:37.909 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t3`:-1] [engineUUID=61501221-9c0e-5dca-a32f-31aa40df2be4] [2025/04/04 10:37:37.909 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=381] [2025/04/04 10:37:37.909 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=78] [step=import] [subtask-id=148] [takeTime=6.432918ms] [error="occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:37:37.909 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=78] [task-type=ImportInto] [server-id=:4000] [subtaskID=148] [step=import] [takeTime=6.665404ms] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:37.909 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=78] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:37.915 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=78] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:37:37.918 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=78] [mode=Import] [2025/04/04 10:37:37.936 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=78] [2025/04/04 10:37:38.019 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=78] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]occur an error when sort chunk\\\"}\"]"] [2025/04/04 10:37:38.036 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=78] [step=import] [2025/04/04 10:37:38.039 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:38.039 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:38.039 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:38.039 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:38.039 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:38.039 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:38.039 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:38.039 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:38.039 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-78] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:38.039 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:38.039 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:38.039 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:38.041 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:38.041 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:38.041 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:38.041 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:38.041 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=78] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=145.797225ms] [] [2025/04/04 10:37:38.041 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=78] [type=ImportInto] [2025/04/04 10:37:38.116 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=78] [step=import] [state=reverting] [error="[0]occur an error when sort chunk"] [2025/04/04 10:37:38.117 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=78] [step=import] [mode=Normal] [2025/04/04 10:37:38.131 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=78] --- PASS: TestImportInto/TestShowDetachedJob (3.02s) === NAME TestImportInto === RUN TestImportInto/TestShowJob [2025/04/04 10:37:38.211 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=78] [2025/04/04 10:37:38.217 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=274] [cur_db=show_detached_job] [sql="drop database if exists test_show_job"] [user=root@%] [2025/04/04 10:37:38.218 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:38.218 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=78] [2025/04/04 10:37:38.229 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:384, Type:create schema, State:queueing, SchemaState:none, SchemaID:383, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:38.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:38.229 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:384, Type:create schema, State:queueing, SchemaState:none, SchemaID:383, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:38.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database test_show_job"] [2025/04/04 10:37:38.234 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=384] [conn=2] [job="ID:384, Type:create schema, State:queueing, SchemaState:none, SchemaID:383, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:38.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:38.239 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:38.247 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=274] [neededSchemaVersion=275] ["elapsed time"=658.142µs] [gotSchemaVersion=275] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:37:38.250 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=384] [version=275] [2025/04/04 10:37:38.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=275] ["take time"=7.389203ms] [job="ID:384, Type:create schema, State:done, SchemaState:public, SchemaID:383, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:38.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:38.262 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=384] [conn=2] [job="ID:384, Type:create schema, State:synced, SchemaState:public, SchemaID:383, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:38.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:38.271 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=384] [2025/04/04 10:37:38.272 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=275] [cur_db=show_detached_job] [sql="create database test_show_job"] [user=root@%] [2025/04/04 10:37:38.285 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:386, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:385, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:38.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:38.285 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:386, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:385, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:38.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/04 10:37:38.290 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=386] [conn=2] [job="ID:386, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:385, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:38.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:38.294 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 385, Table Name: t1)"] [2025/04/04 10:37:38.308 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=275] [neededSchemaVersion=276] ["elapsed time"=1.454755ms] [gotSchemaVersion=276] [phyTblIDs="[385]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:38.311 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=386] [version=276] [2025/04/04 10:37:38.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=276] ["take time"=8.535053ms] [job="ID:386, Type:create table, State:done, SchemaState:public, SchemaID:383, TableID:385, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:38.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:38.324 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=386] [conn=2] [job="ID:386, Type:create table, State:synced, SchemaState:public, SchemaID:383, TableID:385, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:38.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:38.335 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=386] [2025/04/04 10:37:38.335 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=276] [cur_db=test_show_job] [sql="CREATE TABLE t1 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/04 10:37:38.349 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:388, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:387, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:38.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:38.349 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:388, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:387, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:38.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t2 (i INT PRIMARY KEY);"] [2025/04/04 10:37:38.355 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=388] [conn=2] [job="ID:388, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:387, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:38.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:38.361 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 387, Table Name: t2)"] [2025/04/04 10:37:38.377 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=276] [neededSchemaVersion=277] ["elapsed time"=1.684335ms] [gotSchemaVersion=277] [phyTblIDs="[387]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:38.381 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=388] [version=277] [2025/04/04 10:37:38.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=277] ["take time"=9.761327ms] [job="ID:388, Type:create table, State:done, SchemaState:public, SchemaID:383, TableID:387, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:38.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:38.395 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=388] [conn=2] [job="ID:388, Type:create table, State:synced, SchemaState:public, SchemaID:383, TableID:387, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:38.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:38.406 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=388] [2025/04/04 10:37:38.406 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=277] [cur_db=test_show_job] [sql="CREATE TABLE t2 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/04 10:37:38.419 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:390, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:389, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:38.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:38.419 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:390, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:389, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:38.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t3 (i INT PRIMARY KEY);"] [2025/04/04 10:37:38.424 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=390] [conn=2] [job="ID:390, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:389, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:38.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:38.429 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 389, Table Name: t3)"] [2025/04/04 10:37:38.441 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=277] [neededSchemaVersion=278] ["elapsed time"=1.50138ms] [gotSchemaVersion=278] [phyTblIDs="[389]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:38.445 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=390] [version=278] [2025/04/04 10:37:38.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=278] ["take time"=8.298323ms] [job="ID:390, Type:create table, State:done, SchemaState:public, SchemaID:383, TableID:389, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:38.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:38.456 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=390] [conn=2] [job="ID:390, Type:create table, State:synced, SchemaState:public, SchemaID:383, TableID:389, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:38.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:38.466 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=390] [2025/04/04 10:37:38.466 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] [cur_db=test_show_job] [sql="CREATE TABLE t3 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/04 10:37:38.524 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] [cur_db=test_show_job] [sql="DROP USER IF EXISTS 'test_show_job1'@'localhost';"] [user=root@%] [2025/04/04 10:37:38.562 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] ["secure text"="create user test_show_job1@localhost"] [user=root@%] [2025/04/04 10:37:38.605 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] ["secure text"="GRANT SELECT,UPDATE,INSERT,DELETE,ALTER on test_show_job.* to 'test_show_job1'@'localhost'"] [user=root@%] [2025/04/04 10:37:38.664 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] [cur_db=test_show_job] [sql="DROP USER IF EXISTS 'test_show_job2'@'localhost';"] [user=root@%] [2025/04/04 10:37:38.701 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] ["secure text"="create user test_show_job2@localhost"] [user=root@%] [2025/04/04 10:37:38.744 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] ["secure text"="GRANT SELECT,UPDATE,INSERT,DELETE,ALTER on test_show_job.* to 'test_show_job2'@'localhost'"] [user=root@%] [2025/04/04 10:37:38.753 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:38.798 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-job/t.csv?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:37:38.815 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=79] [task-id=79] [data-size=3B] [thread-cnt=8] [global-sort=false] [2025/04/04 10:37:38.829 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=79] [2025/04/04 10:37:38.829 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=79] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:37:38.931 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=79] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:38.932 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=79] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:38.933 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=79] [curr-step=init] [next-step=import] [2025/04/04 10:37:38.940 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:38.942 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/04 10:37:38.943 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/04 10:37:38.943 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=44.959µs] [2025/04/04 10:37:38.943 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=139.762µs] [] [2025/04/04 10:37:38.943 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=79] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:38.943 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=79] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 10:37:38.975 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=79] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:37:38.994 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=79] [step=import] [2025/04/04 10:37:38.995 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:39.002 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:39.002 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:39.003 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:39.003 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:39.003 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:39.003 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:39.003 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:39.003 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:39.004 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:39.004 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:39.015 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:39.017 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:39.017 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t1] [quota=373.5GB] [2025/04/04 10:37:39.017 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=79] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:39.017 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:39.017 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=79] [disk-quota=347.8GiB] [2025/04/04 10:37:39.024 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [subtaskID=149] [step=import] [2025/04/04 10:37:39.024 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=79] [step=import] [subtask-id=149] [2025/04/04 10:37:39.028 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [2025/04/04 10:37:39.031 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [2025/04/04 10:37:39.031 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=385] [2025/04/04 10:37:39.037 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=79] [mode=Import] [2025/04/04 10:37:39.061 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=385] [key=t.csv:0] [2025/04/04 10:37:39.062 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=385] [key=t.csv:0] [readDur=896.02µs] [encodeDur=318.318µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=26.469µs] [type=file] [takeTime=1.472741ms] [] [2025/04/04 10:37:39.063 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=79] [2025/04/04 10:37:39.063 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=50] [kvs=2] [files=1] [sstFileSize=964] [file=/tmp/tidb/import-4000/79/14a064c0-6566-52c4-87f4-e5885586fbff.sst/cbd2b246-c323-4659-96be-41ecaec5d75f.sst] [firstKey=7480000000000001815F728000000000000001] [lastKey=7480000000000001815F728000000000000002] [2025/04/04 10:37:39.063 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=79] [step=import] [engine-id=0] [2025/04/04 10:37:39.063 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=79] [step=import] [engine-id=0] [2025/04/04 10:37:39.063 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [2025/04/04 10:37:39.065 +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.058177ms] [] [2025/04/04 10:37:39.065 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [retryCnt=0] [2025/04/04 10:37:39.070 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:39.091 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=14a064c0-6566-52c4-87f4-e5885586fbff] ["region ranges"=1] [count=2] [size=50] [2025/04/04 10:37:39.091 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:39.093 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001815f728000000000000001] [endOfAllRanges=7480000000000001815f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff815f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff815f728000000000ff0000030000000000fa] [2025/04/04 10:37:39.103 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=14a064c0-6566-52c4-87f4-e5885586fbff] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/04 10:37:39.105 +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=39.276048ms] [] [2025/04/04 10:37:39.105 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [2025/04/04 10:37:39.106 +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.069054ms] [] [2025/04/04 10:37:39.106 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=79] [step=import] [engine-id=0] [2025/04/04 10:37:39.106 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [2025/04/04 10:37:39.107 +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.314105ms] [] [2025/04/04 10:37:39.107 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [retryCnt=0] [2025/04/04 10:37:39.111 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [2025/04/04 10:37:39.111 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [retryCnt=0] [takeTime=3.419377ms] [] [2025/04/04 10:37:39.111 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [2025/04/04 10:37:39.112 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [takeTime=855.041µs] [] [2025/04/04 10:37:39.112 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=79] [step=import] [subtask-id=149] [takeTime=87.376352ms] [] [2025/04/04 10:37:39.112 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [subtaskID=149] [step=import] [takeTime=87.517573ms] [] [2025/04/04 10:37:39.136 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=79] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:39.137 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=79] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:39.137 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=79] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:39.137 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=79] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:39.166 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=79] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:37:39.167 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=79] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:39.167 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=79] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:37:39.192 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:37:39.198 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=79] [step=import] [2025/04/04 10:37:39.200 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:39.200 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:39.200 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:39.200 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:39.200 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:39.200 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:39.200 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:39.201 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:39.200 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-79] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:39.201 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:39.201 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:39.201 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:39.203 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:39.203 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:39.203 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:39.203 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:39.203 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=185.703839ms] [] [2025/04/04 10:37:39.204 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:39.211 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [subtaskID=150] [step=post-process] [2025/04/04 10:37:39.211 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [2025/04/04 10:37:39.211 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [2025/04/04 10:37:39.211 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [2025/04/04 10:37:39.211 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [takeTime=1.419µs] [] [2025/04/04 10:37:39.211 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/04 10:37:39.211 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 10:37:39.211 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [weight=30] [2025/04/04 10:37:39.211 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [concurrency=15] [2025/04/04 10:37:39.214 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=385] [physicalTableID=385] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/04 10:37:39.215 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:39.215 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 10:37:39.215 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [takeTime=4.149956ms] [] [2025/04/04 10:37:39.215 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [takeTime=4.267266ms] [] [2025/04/04 10:37:39.215 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [subtaskID=150] [step=post-process] [takeTime=4.377521ms] [] [2025/04/04 10:37:39.230 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:39.236 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=79] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:39.236 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=79] [step=post-process] [state=running] [] [2025/04/04 10:37:39.239 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=79] [2025/04/04 10:37:39.258 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=54.445613ms] [] [2025/04/04 10:37:39.258 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=79] [type=ImportInto] [2025/04/04 10:37:39.332 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=79] [2025/04/04 10:37:39.338 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:39.338 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=79] [2025/04/04 10:37:39.356 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:39.429 +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.681783092\n# Parse_time: 0.000072948\n# Compile_time: 0.000628296\n# Rewrite_time: 0.000150254\n# Optimize_time: 0.000042319\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4MC44bXMsIG9wZW46ODE4bnMsIGNsb3NlOjY0MG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4MC44bXMsIG9wZW46ODE4bnMsIGNsb3NlOjY0MG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nuse test_show_job;\nIMPORT INTO `test_show_job`.`t1` FROM 'gs://test-show-job/t.csv?access-key=xxxxxx&endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F&secret-access-key=xxxxxx';"] [2025/04/04 10:37:39.441 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:39.484 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-job/t.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:37:39.500 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=80] [task-id=80] [data-size=3B] [thread-cnt=8] [global-sort=false] [2025/04/04 10:37:39.514 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=80] [2025/04/04 10:37:39.514 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=80] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:37:39.616 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=80] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:39.617 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=80] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:39.617 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=80] [curr-step=init] [next-step=import] [2025/04/04 10:37:39.624 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:39.626 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 10:37:39.626 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/04 10:37:39.626 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=42.948µs] [2025/04/04 10:37:39.626 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=132.045µs] [] [2025/04/04 10:37:39.626 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=80] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:39.626 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=80] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 10:37:39.655 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=80] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:37:39.673 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=80] [step=import] [2025/04/04 10:37:39.673 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:39.680 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:39.680 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:39.681 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:39.681 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:39.681 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:39.681 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:39.681 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:39.681 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:39.682 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:39.682 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:39.692 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:39.694 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:39.694 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=373.5GB] [2025/04/04 10:37:39.694 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=80] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:39.694 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=80] [disk-quota=347.8GiB] [2025/04/04 10:37:39.694 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:39.701 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [subtaskID=151] [step=import] [2025/04/04 10:37:39.701 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=80] [step=import] [subtask-id=151] [2025/04/04 10:37:39.704 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [2025/04/04 10:37:39.707 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [2025/04/04 10:37:39.707 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=387] [2025/04/04 10:37:39.725 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=80] [mode=Import] [2025/04/04 10:37:39.731 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=387] [key=t.csv:0] [2025/04/04 10:37:39.733 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=387] [key=t.csv:0] [readDur=750.745µs] [encodeDur=248.297µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=532.279µs] [type=file] [takeTime=1.736151ms] [] [2025/04/04 10:37:39.733 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=50] [kvs=2] [files=1] [sstFileSize=964] [file=/tmp/tidb/import-4000/80/e31f885e-858e-52f9-8c22-abc4981608ce.sst/1419a114-f6a1-433a-a1f9-255321801926.sst] [firstKey=7480000000000001835F728000000000000001] [lastKey=7480000000000001835F728000000000000002] [2025/04/04 10:37:39.734 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=80] [step=import] [engine-id=0] [2025/04/04 10:37:39.734 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=80] [step=import] [engine-id=0] [2025/04/04 10:37:39.734 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [2025/04/04 10:37:39.736 +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.850655ms] [] [2025/04/04 10:37:39.736 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [retryCnt=0] [2025/04/04 10:37:39.740 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:39.743 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=80] [2025/04/04 10:37:39.761 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=e31f885e-858e-52f9-8c22-abc4981608ce] ["region ranges"=1] [count=2] [size=50] [2025/04/04 10:37:39.761 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:39.763 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001835f728000000000000001] [endOfAllRanges=7480000000000001835f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff835f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff835f728000000000ff0000030000000000fa] [2025/04/04 10:37:39.772 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=e31f885e-858e-52f9-8c22-abc4981608ce] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/04 10:37:39.774 +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=38.249627ms] [] [2025/04/04 10:37:39.774 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [2025/04/04 10:37:39.775 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [takeTime=983.804µs] [] [2025/04/04 10:37:39.775 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=80] [step=import] [engine-id=0] [2025/04/04 10:37:39.775 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [2025/04/04 10:37:39.776 +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.265802ms] [] [2025/04/04 10:37:39.776 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [retryCnt=0] [2025/04/04 10:37:39.780 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=5351dc1f-6e44-5275-b96f-39fd5c794418] [2025/04/04 10:37:39.780 +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.427881ms] [] [2025/04/04 10:37:39.780 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [2025/04/04 10:37:39.781 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [takeTime=816.572µs] [] [2025/04/04 10:37:39.781 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=80] [step=import] [subtask-id=151] [takeTime=80.055576ms] [] [2025/04/04 10:37:39.781 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [subtaskID=151] [step=import] [takeTime=80.180692ms] [] [2025/04/04 10:37:39.820 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=80] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:39.821 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=80] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:39.822 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=80] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:39.822 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=80] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:39.849 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=80] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:37:39.850 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=80] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:39.850 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=80] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:37:39.878 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:37:39.884 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=80] [step=import] [2025/04/04 10:37:39.887 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:39.887 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:39.887 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:39.887 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:39.887 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:39.887 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:39.887 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:39.887 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:39.887 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-80] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:39.887 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:39.887 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:39.887 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:39.889 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:39.889 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:39.889 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:39.889 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:39.889 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=194.788418ms] [] [2025/04/04 10:37:39.890 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:39.896 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [subtaskID=152] [step=post-process] [2025/04/04 10:37:39.896 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [2025/04/04 10:37:39.896 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [2025/04/04 10:37:39.896 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [2025/04/04 10:37:39.896 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [takeTime=1.35µs] [] [2025/04/04 10:37:39.897 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/04 10:37:39.897 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 10:37:39.897 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [weight=30] [2025/04/04 10:37:39.897 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [concurrency=15] [2025/04/04 10:37:39.898 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=387] [physicalTableID=387] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/04 10:37:39.899 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:39.899 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 10:37:39.899 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [takeTime=2.214683ms] [] [2025/04/04 10:37:39.899 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [takeTime=2.324974ms] [] [2025/04/04 10:37:39.899 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [subtaskID=152] [step=post-process] [takeTime=2.427546ms] [] [2025/04/04 10:37:39.916 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:39.920 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=80] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:39.920 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=80] [step=post-process] [state=running] [] [2025/04/04 10:37:39.922 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=80] [2025/04/04 10:37:39.941 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=50.721771ms] [] [2025/04/04 10:37:39.941 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=80] [type=ImportInto] [2025/04/04 10:37:40.016 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=80] [2025/04/04 10:37:40.022 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:40.022 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=80] [2025/04/04 10:37:40.040 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:40.116 +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.679539281\n# Parse_time: 0.000054825\n# Compile_time: 0.000537782\n# Rewrite_time: 0.000137975\n# Optimize_time: 0.000034567\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY3OC43bXMsIG9wZW46Nzg1bnMsIGNsb3NlOjc0OG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY3OC43bXMsIG9wZW46Nzg1bnMsIGNsb3NlOjc0OG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `test_show_job`.`t2` FROM 'gs://test-show-job/t.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F';"] [2025/04/04 10:37:40.173 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] ["secure text"="GRANT SUPER on *.* to 'test_show_job2'@'localhost'"] [user=root@%] testkit.go:123: RefreshSession rand seed: 1743763060177832888 [2025/04/04 10:37:40.187 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:40.243 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-job/t*.csv?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:37:40.262 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=81] [task-id=81] [data-size=6B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:37:40.277 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=81] [2025/04/04 10:37:40.277 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=81] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:37:40.379 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=81] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:40.380 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=81] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:40.381 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=81] [curr-step=init] [next-step=import] [2025/04/04 10:37:40.388 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:40.390 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t3] [2025/04/04 10:37:40.390 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t3] [before=1] [after=1] [2025/04/04 10:37:40.390 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t3] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=52.28µs] [2025/04/04 10:37:40.390 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t3] [takeTime=135.912µs] [] [2025/04/04 10:37:40.390 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=81] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/04 10:37:40.390 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=81] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=2] [2025/04/04 10:37:40.425 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=81] [type=ImportInto] [concurrency=1] [remaining-slots=71] [2025/04/04 10:37:40.450 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=81] [step=import] [2025/04/04 10:37:40.450 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:40.458 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:40.458 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:40.458 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:40.458 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:40.458 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:40.458 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:40.458 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:40.459 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:40.459 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:40.459 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:40.471 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:40.473 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:40.473 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t3] [quota=373.5GB] [2025/04/04 10:37:40.473 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=81] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:40.473 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t3] [import-id=81] [disk-quota=347.8GiB] [2025/04/04 10:37:40.473 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=455.1MiB]"] [2025/04/04 10:37:40.480 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [subtaskID=153] [step=import] [2025/04/04 10:37:40.480 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=81] [step=import] [subtask-id=153] [2025/04/04 10:37:40.484 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [2025/04/04 10:37:40.485 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=81] [mode=Import] [2025/04/04 10:37:40.487 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [2025/04/04 10:37:40.487 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=389] [2025/04/04 10:37:40.501 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=81] [2025/04/04 10:37:40.560 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=389] [key=t.csv:0] [2025/04/04 10:37:40.562 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=389] [key=t.csv:0] [readDur=864.659µs] [encodeDur=204.09µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=159.282µs] [type=file] [takeTime=1.435957ms] [] [2025/04/04 10:37:40.563 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=50] [kvs=2] [files=1] [sstFileSize=964] [file=/tmp/tidb/import-4000/81/e21dc392-0c66-5341-82f7-424a895bc139.sst/5b00e501-da10-4dd6-8699-26822e98fdc3.sst] [firstKey=7480000000000001855F728000000000000001] [lastKey=7480000000000001855F728000000000000002] [2025/04/04 10:37:40.563 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=81] [step=import] [engine-id=0] [2025/04/04 10:37:40.563 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=81] [step=import] [engine-id=0] [2025/04/04 10:37:40.563 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [2025/04/04 10:37:40.565 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [takeTime=1.895878ms] [] [2025/04/04 10:37:40.565 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [retryCnt=0] [2025/04/04 10:37:40.569 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:40.591 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=e21dc392-0c66-5341-82f7-424a895bc139] ["region ranges"=1] [count=2] [size=50] [2025/04/04 10:37:40.591 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:40.593 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001855f728000000000000001] [endOfAllRanges=7480000000000001855f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff855f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff855f728000000000ff0000030000000000fa] [2025/04/04 10:37:40.603 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=e21dc392-0c66-5341-82f7-424a895bc139] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/04 10:37:40.604 +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.33422ms] [] [2025/04/04 10:37:40.604 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [2025/04/04 10:37:40.606 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [takeTime=1.084804ms] [] [2025/04/04 10:37:40.606 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=81] [step=import] [engine-id=0] [2025/04/04 10:37:40.606 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [2025/04/04 10:37:40.607 +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.33313ms] [] [2025/04/04 10:37:40.607 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [retryCnt=0] [2025/04/04 10:37:40.611 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [2025/04/04 10:37:40.611 +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.544758ms] [] [2025/04/04 10:37:40.611 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [2025/04/04 10:37:40.612 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [takeTime=962.184µs] [] [2025/04/04 10:37:40.612 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=81] [step=import] [subtask-id=153] [takeTime=131.607838ms] [] [2025/04/04 10:37:40.612 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [subtaskID=153] [step=import] [takeTime=132.027849ms] [] [2025/04/04 10:37:40.655 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [subtaskID=154] [step=import] [2025/04/04 10:37:40.655 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=81] [step=import] [subtask-id=154] [2025/04/04 10:37:40.658 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [2025/04/04 10:37:40.661 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [2025/04/04 10:37:40.661 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=389] [2025/04/04 10:37:40.735 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=389] [key=t2.csv:0] [2025/04/04 10:37:40.736 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=389] [key=t2.csv:0] [readDur=763.015µs] [encodeDur=85.538µs] [checksum="{cksum=17045318164640841348,size=50,kvs=2}"] [deliverDur=26.408µs] [type=file] [takeTime=1.070913ms] [] [2025/04/04 10:37:40.737 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=50] [kvs=2] [files=1] [sstFileSize=964] [file=/tmp/tidb/import-4000/81/69537677-8c9a-533f-9f7f-fb34aa20f14c.sst/2120a0a2-eb16-4e15-87ca-77dad04b6458.sst] [firstKey=7480000000000001855F728000000000000003] [lastKey=7480000000000001855F728000000000000004] [2025/04/04 10:37:40.737 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=81] [step=import] [engine-id=1] [2025/04/04 10:37:40.737 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=81] [step=import] [engine-id=1] [2025/04/04 10:37:40.737 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [2025/04/04 10:37:40.739 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [takeTime=1.730917ms] [] [2025/04/04 10:37:40.739 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [retryCnt=0] [2025/04/04 10:37:40.744 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:40.766 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=69537677-8c9a-533f-9f7f-fb34aa20f14c] ["region ranges"=1] [count=2] [size=50] [2025/04/04 10:37:40.766 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:40.767 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001855f728000000000000003] [endOfAllRanges=7480000000000001855f728000000000000005] [startKeyOfFirstRegion=7480000000000001ff855f728000000000ff0000030000000000fa] [endKeyOfLastRegion=7480000000000001ff855f728000000000ff0000050000000000fa] [2025/04/04 10:37:40.777 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=69537677-8c9a-533f-9f7f-fb34aa20f14c] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/04 10:37:40.779 +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=39.482525ms] [] [2025/04/04 10:37:40.779 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [2025/04/04 10:37:40.780 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [takeTime=985.751µs] [] [2025/04/04 10:37:40.780 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=81] [step=import] [engine-id=1] [2025/04/04 10:37:40.780 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [2025/04/04 10:37:40.782 +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.630284ms] [] [2025/04/04 10:37:40.782 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [retryCnt=0] [2025/04/04 10:37:40.785 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=6a110035-0122-50d7-a258-9acbba47ee50] [2025/04/04 10:37:40.785 +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.55747ms] [] [2025/04/04 10:37:40.785 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [2025/04/04 10:37:40.786 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [takeTime=844.237µs] [] [2025/04/04 10:37:40.786 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=81] [step=import] [subtask-id=154] [takeTime=131.524356ms] [] [2025/04/04 10:37:40.787 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [subtaskID=154] [step=import] [takeTime=131.929527ms] [] [2025/04/04 10:37:40.883 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=81] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:40.884 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=81] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:40.885 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=81] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:40.885 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=81] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:40.914 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=81] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 10:37:40.916 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=81] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:40.916 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=81] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:37:40.947 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:37:40.953 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=81] [step=import] [2025/04/04 10:37:40.957 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:40.957 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:40.957 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:40.957 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:40.957 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:40.957 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:40.957 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:40.957 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:40.957 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-81] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:40.957 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:40.957 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:40.957 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:40.959 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:40.959 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:40.959 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:40.959 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:40.959 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=455.1MiB]"] [takeTime=485.981832ms] [] [2025/04/04 10:37:40.960 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=455.1MiB]"] [2025/04/04 10:37:40.967 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [subtaskID=155] [step=post-process] [2025/04/04 10:37:40.967 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [2025/04/04 10:37:40.967 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [2025/04/04 10:37:40.967 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [2025/04/04 10:37:40.967 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [takeTime=1.748µs] [] [2025/04/04 10:37:40.967 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [groupId=-1] [size=100] [kvs=4] [checksum=10068981574061626288] [2025/04/04 10:37:40.967 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [checksum="{cksum=10068981574061626288,size=100,kvs=4}"] [2025/04/04 10:37:40.967 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [weight=30] [2025/04/04 10:37:40.967 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [concurrency=15] [2025/04/04 10:37:40.969 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=389] [physicalTableID=389] [indexID=-1] [checksum=10068981574061626288] [totalKvs=4] [totalBytes=100] [2025/04/04 10:37:40.969 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:40.969 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [local="{cksum=10068981574061626288,size=100,kvs=4}"] [2025/04/04 10:37:40.969 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [takeTime=2.309699ms] [] [2025/04/04 10:37:40.969 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [takeTime=2.429458ms] [] [2025/04/04 10:37:40.969 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [subtaskID=155] [step=post-process] [takeTime=2.550762ms] [] [2025/04/04 10:37:40.984 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=81] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:40.984 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=81] [step=post-process] [state=running] [] [2025/04/04 10:37:40.986 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=81] [2025/04/04 10:37:40.987 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:41.012 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=455.1MiB]"] [takeTime=52.01162ms] [] [2025/04/04 10:37:41.012 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=81] [type=ImportInto] [2025/04/04 10:37:41.079 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=81] [2025/04/04 10:37:41.084 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:41.084 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=81] [2025/04/04 10:37:41.104 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:41.177 +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.997699669\n# Parse_time: 0.000136157\n# Compile_time: 0.000769413\n# Rewrite_time: 0.000217583\n# Optimize_time: 0.000037583\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Ni41bXMsIG9wZW46OTMxbnMsIGNsb3NlOjc2N25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Ni41bXMsIG9wZW46OTMxbnMsIGNsb3NlOjc2N25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\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 (2.98s) === NAME TestImportInto === RUN TestImportInto/TestZeroDateTime [2025/04/04 10:37:41.193 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:391, Type:drop schema, State:queueing, SchemaState:public, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:41.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:41.193 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:391, Type:drop schema, State:queueing, SchemaState:public, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:41.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS import_into;"] [2025/04/04 10:37:41.199 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=391] [conn=2] [job="ID:391, Type:drop schema, State:queueing, SchemaState:public, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:41.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:41.216 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=278] [neededSchemaVersion=279] ["elapsed time"=2.242286ms] [gotSchemaVersion=279] [phyTblIDs="[256,258]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:41.220 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=391] [version=279] [2025/04/04 10:37:41.222 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=279] ["take time"=9.325721ms] [job="ID:391, Type:drop schema, State:running, SchemaState:write only, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:41.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:41.231 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=391] [conn=2] [job="ID:391, Type:drop schema, State:running, SchemaState:write only, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:41.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:41.243 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=279] [neededSchemaVersion=280] ["elapsed time"=147.023µs] [gotSchemaVersion=280] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:41.246 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=391] [version=280] [2025/04/04 10:37:41.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=280] ["take time"=6.853687ms] [job="ID:391, Type:drop schema, State:running, SchemaState:delete only, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:41.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:41.256 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=391] [conn=2] [job="ID:391, Type:drop schema, State:running, SchemaState:delete only, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:41.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:41.261 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:37:41.270 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=280] [neededSchemaVersion=281] ["elapsed time"=135.165µs] [gotSchemaVersion=281] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:37:41.274 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=391] [version=281] [2025/04/04 10:37:41.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=281] ["take time"=6.786619ms] [job="ID:391, Type:drop schema, State:done, SchemaState:none, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:41.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:41.283 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=391] [tableIDs="[256,258]"] [comment="drop schema: table IDs"] [2025/04/04 10:37:41.288 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=391] [jobType="drop schema"] [2025/04/04 10:37:41.288 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=391] [conn=2] [job="ID:391, Type:drop schema, State:synced, SchemaState:none, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:41.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:41.303 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=391] [2025/04/04 10:37:41.303 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=281] [cur_db=test_show_job] [sql="DROP DATABASE IF EXISTS import_into;"] [user=root@%] [2025/04/04 10:37:41.314 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:393, Type:create schema, State:queueing, SchemaState:none, SchemaID:392, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:41.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:41.314 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:393, Type:create schema, State:queueing, SchemaState:none, SchemaID:392, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:41.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE import_into;"] [2025/04/04 10:37:41.319 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=393] [conn=2] [job="ID:393, Type:create schema, State:queueing, SchemaState:none, SchemaID:392, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:41.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:41.331 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=281] [neededSchemaVersion=282] ["elapsed time"=807.339µs] [gotSchemaVersion=282] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:37:41.335 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=393] [version=282] [2025/04/04 10:37:41.337 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=282] ["take time"=7.871223ms] [job="ID:393, Type:create schema, State:done, SchemaState:public, SchemaID:392, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:41.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:41.346 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=393] [conn=2] [job="ID:393, Type:create schema, State:synced, SchemaState:public, SchemaID:392, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:41.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:41.355 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=393] [2025/04/04 10:37:41.355 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=282] [cur_db=test_show_job] [sql="CREATE DATABASE import_into;"] [user=root@%] [2025/04/04 10:37:41.367 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:41.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:41.367 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:41.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table import_into.zero_time_table(t datetime)"] [2025/04/04 10:37:41.372 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=395] [conn=2] [job="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:392, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:41.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:41.376 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 394, Table Name: zero_time_table)"] [2025/04/04 10:37:41.389 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=282] [neededSchemaVersion=283] ["elapsed time"=1.468275ms] [gotSchemaVersion=283] [phyTblIDs="[394]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:37:41.392 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=395] [version=283] [2025/04/04 10:37:41.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=283] ["take time"=8.039609ms] [job="ID:395, Type:create table, State:done, SchemaState:public, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:41.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:41.403 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=395] [conn=2] [job="ID:395, Type:create table, State:synced, SchemaState:public, SchemaID:392, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:41.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:41.413 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=395] [2025/04/04 10:37:41.413 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=283] [cur_db=test_show_job] [sql="create table import_into.zero_time_table(t datetime)"] [user=root@%] [2025/04/04 10:37:41.420 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:41.463 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/zero_time.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:37:41.479 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=82] [task-id=82] [data-size=20B] [thread-cnt=8] [global-sort=false] [2025/04/04 10:37:41.494 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=82] [2025/04/04 10:37:41.494 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=82] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:37:41.596 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=82] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:41.596 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=82] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:41.597 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=82] [curr-step=init] [next-step=import] [2025/04/04 10:37:41.605 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:41.607 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=zero_time_table] [2025/04/04 10:37:41.607 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=zero_time_table] [before=536870912000] [after=20] [2025/04/04 10:37:41.607 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=zero_time_table] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=20] [cost=50.057µs] [2025/04/04 10:37:41.607 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=zero_time_table] [takeTime=178.979µs] [] [2025/04/04 10:37:41.607 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=82] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:41.607 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=82] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 10:37:41.635 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=82] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:37:41.653 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=82] [step=import] [2025/04/04 10:37:41.654 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:41.661 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:41.661 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:41.661 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:41.661 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:41.661 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:41.661 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:41.662 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:41.662 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:41.662 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:41.662 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:41.673 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:41.675 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:37:41.675 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=zero_time_table] [quota=373.5GB] [2025/04/04 10:37:41.675 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=82] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:41.675 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=zero_time_table] [import-id=82] [disk-quota=347.8GiB] [2025/04/04 10:37:41.675 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:41.682 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [subtaskID=156] [step=import] [2025/04/04 10:37:41.682 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=82] [step=import] [subtask-id=156] [2025/04/04 10:37:41.685 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [2025/04/04 10:37:41.688 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [2025/04/04 10:37:41.688 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=394] [2025/04/04 10:37:41.690 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=394] [key=zero_time.csv:0] [2025/04/04 10:37:41.692 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=394] [key=zero_time.csv:0] [readDur=834.891µs] [encodeDur=249.833µs] [checksum="{cksum=17635129825516565724,size=36,kvs=1}"] [deliverDur=140.827µs] [type=file] [takeTime=1.418842ms] [] [2025/04/04 10:37:41.692 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=36] [kvs=1] [files=1] [sstFileSize=934] [file=/tmp/tidb/import-4000/82/b03a8272-790c-5766-99b7-2cad67f1945e.sst/c3643502-b874-40c1-a924-f78a451ef9d8.sst] [firstKey=74800000000000018A5F728000000000000001] [lastKey=74800000000000018A5F728000000000000001] [2025/04/04 10:37:41.692 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=82] [step=import] [engine-id=0] [2025/04/04 10:37:41.692 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=82] [step=import] [engine-id=0] [2025/04/04 10:37:41.692 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [2025/04/04 10:37:41.694 +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.699318ms] [] [2025/04/04 10:37:41.694 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [retryCnt=0] [2025/04/04 10:37:41.698 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:37:41.701 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=82] [mode=Import] [2025/04/04 10:37:41.719 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=82] [2025/04/04 10:37:41.720 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=b03a8272-790c-5766-99b7-2cad67f1945e] ["region ranges"=1] [count=1] [size=36] [2025/04/04 10:37:41.720 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:37:41.722 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000018a5f728000000000000001] [endOfAllRanges=74800000000000018a5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff8a5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff8a5f728000000000ff0000020000000000fa] [2025/04/04 10:37:41.732 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=b03a8272-790c-5766-99b7-2cad67f1945e] [size=36] [kvs=1] [importedSize=36] [importedCount=1] [2025/04/04 10:37:41.733 +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=38.915895ms] [] [2025/04/04 10:37:41.733 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [2025/04/04 10:37:41.734 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [takeTime=1.019608ms] [] [2025/04/04 10:37:41.734 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=82] [step=import] [engine-id=0] [2025/04/04 10:37:41.734 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [2025/04/04 10:37:41.736 +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.329996ms] [] [2025/04/04 10:37:41.736 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [retryCnt=0] [2025/04/04 10:37:41.739 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=bded5148-7505-502f-9c47-c93111ef3c71] [2025/04/04 10:37:41.739 +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.550724ms] [] [2025/04/04 10:37:41.739 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [2025/04/04 10:37:41.740 +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=824.972µs] [] [2025/04/04 10:37:41.740 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=82] [step=import] [subtask-id=156] [takeTime=58.555757ms] [] [2025/04/04 10:37:41.741 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [subtaskID=156] [step=import] [takeTime=58.714942ms] [] [2025/04/04 10:37:41.801 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=82] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:37:41.802 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=82] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:41.803 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=82] [curr-step=import] [next-step=post-process] [2025/04/04 10:37:41.803 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=82] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:37:41.831 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=82] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 10:37:41.832 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=82] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:37:41.832 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=82] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:37:41.864 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:37:41.870 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=82] [step=import] [2025/04/04 10:37:41.873 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:41.873 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:41.873 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:41.873 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:41.873 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:41.873 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:41.873 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:41.873 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:41.873 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-82] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:41.873 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:41.873 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:41.873 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:41.875 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:41.875 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:41.875 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:41.875 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:41.875 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=199.897316ms] [] [2025/04/04 10:37:41.876 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:41.883 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [subtaskID=157] [step=post-process] [2025/04/04 10:37:41.883 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [2025/04/04 10:37:41.883 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [2025/04/04 10:37:41.883 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [2025/04/04 10:37:41.888 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [takeTime=5.203745ms] [] [2025/04/04 10:37:41.888 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [groupId=-1] [size=36] [kvs=1] [checksum=17635129825516565724] [2025/04/04 10:37:41.888 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [checksum="{cksum=17635129825516565724,size=36,kvs=1}"] [2025/04/04 10:37:41.889 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [weight=30] [2025/04/04 10:37:41.889 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [concurrency=15] [2025/04/04 10:37:41.890 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=394] [physicalTableID=394] [indexID=-1] [checksum=17635129825516565724] [totalKvs=1] [totalBytes=36] [2025/04/04 10:37:41.891 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:37:41.891 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [local="{cksum=17635129825516565724,size=36,kvs=1}"] [2025/04/04 10:37:41.891 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [takeTime=7.62372ms] [] [2025/04/04 10:37:41.891 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [takeTime=7.7479ms] [] [2025/04/04 10:37:41.891 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [subtaskID=157] [step=post-process] [takeTime=7.889121ms] [] [2025/04/04 10:37:41.900 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=82] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:37:41.901 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=82] [step=post-process] [state=running] [] [2025/04/04 10:37:41.903 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=82] [2025/04/04 10:37:41.904 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:37:41.917 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=40.84984ms] [] [2025/04/04 10:37:41.917 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=82] [type=ImportInto] [2025/04/04 10:37:41.996 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=82] [2025/04/04 10:37:42.002 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:42.002 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=82] [2025/04/04 10:37:42.022 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:42.165 +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.750030239\n# Parse_time: 0.000068168\n# Compile_time: 0.000491967\n# Rewrite_time: 0.000134555\n# Optimize_time: 0.000219001\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjc0OS4xbXMsIG9wZW46NjI5bnMsIGNsb3NlOjU2N25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjc0OS4xbXMsIG9wZW46NjI5bnMsIGNsb3NlOjU2N25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\nIMPORT INTO `import_into`.`zero_time_table` FROM 'gs://test-load/zero_time.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 10:37:42.181 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:397, Type:truncate table, State:queueing, SchemaState:none, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:42.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table import_into.zero_time_table"] [2025/04/04 10:37:42.181 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:397, Type:truncate table, State:queueing, SchemaState:none, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:42.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:37:42.186 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=397] [conn=2] [job="ID:397, Type:truncate table, State:queueing, SchemaState:none, SchemaID:392, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-04 10:37:42.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:42.194 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 396, Table Name: zero_time_table, Old Table ID: 394, Old Table Name: zero_time_table)"] [2025/04/04 10:37:42.208 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=283] [neededSchemaVersion=284] ["elapsed time"=1.741687ms] [gotSchemaVersion=284] [phyTblIDs="[394,396]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:37:42.212 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=397] [version=284] [2025/04/04 10:37:42.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=284] ["take time"=9.658518ms] [job="ID:397, Type:truncate table, State:done, SchemaState:public, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:42.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:42.224 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=397] [tableIDs="[394]"] [comment="truncate table: table ID"] [2025/04/04 10:37:42.229 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=397] [jobType="truncate table"] [2025/04/04 10:37:42.230 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=397] [conn=2] [job="ID:397, Type:truncate table, State:synced, SchemaState:public, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:37:42.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:37:42.246 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=397] [2025/04/04 10:37:42.246 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=284] [cur_db=test_show_job] [sql="truncate table import_into.zero_time_table"] [user=root@%] [2025/04/04 10:37:42.253 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:42.306 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/zero_time.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:37:42.323 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=83] [task-id=83] [data-size=20B] [thread-cnt=8] [global-sort=false] [2025/04/04 10:37:42.339 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=83] [2025/04/04 10:37:42.339 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=83] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:37:42.442 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=83] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:37:42.443 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=83] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:37:42.443 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=83] [curr-step=init] [next-step=import] [2025/04/04 10:37:42.451 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:42.453 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=zero_time_table] [2025/04/04 10:37:42.453 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=zero_time_table] [before=536870912000] [after=20] [2025/04/04 10:37:42.453 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=zero_time_table] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=20] [cost=46.888µs] [2025/04/04 10:37:42.453 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=zero_time_table] [takeTime=168.764µs] [] [2025/04/04 10:37:42.453 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=83] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:37:42.454 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=83] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 10:37:42.485 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=83] [type=ImportInto] [concurrency=8] [remaining-slots=64] [2025/04/04 10:37:42.505 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=83] [step=import] [2025/04/04 10:37:42.505 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:37:42.512 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:37:42.512 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404350773949057] [2025/04/04 10:37:42.513 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:37:42.513 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:37:42.513 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:37:42.513 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:37:42.513 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:37:42.513 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:37:42.513 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:37:42.514 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:37:42.526 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:37:42.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 10:37:42.528 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=zero_time_table] [quota=373.5GB] [2025/04/04 10:37:42.528 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=83] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:37:42.528 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=zero_time_table] [import-id=83] [disk-quota=347.8GiB] [2025/04/04 10:37:42.528 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=83] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [2025/04/04 10:37:42.536 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=83] [task-type=ImportInto] [server-id=:4000] [subtaskID=158] [step=import] [2025/04/04 10:37:42.536 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=83] [step=import] [subtask-id=158] [2025/04/04 10:37:42.540 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [2025/04/04 10:37:42.545 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [2025/04/04 10:37:42.545 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=396] [2025/04/04 10:37:42.548 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=396] [key=zero_time.csv:0] [2025/04/04 10:37:42.549 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=83] [mode=Import] [2025/04/04 10:37:42.549 +00:00] [ERROR] [chunk_process.go:334] ["process chunk failed"] [type=ImportInto] [table-id=396] [key=zero_time.csv:0] [takeTime=1.347397ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [stack="github.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func1\n\tpkg/executor/importer/chunk_process.go:334\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process\n\tpkg/executor/importer/chunk_process.go:354\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunkWithWriter\n\tpkg/executor/importer/engine_process.go:113\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunk\n\tpkg/executor/importer/engine_process.go:67\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:66\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/04 10:37:42.549 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=83] [step=import] [subtask-id=158] [takeTime=13.399639ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:37:42.550 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=83] [task-type=ImportInto] [server-id=:4000] [subtaskID=158] [step=import] [takeTime=13.707294ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:42.550 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=83] [task-type=ImportInto] [server-id=:4000] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:42.556 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=83] [task-type=ImportInto] [server-id=:4000] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 10:37:42.568 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=83] [2025/04/04 10:37:42.651 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=83] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[types:1292]Incorrect datetime value: '1990-01-00 00:00:00'\\\"}\"]"] [2025/04/04 10:37:42.665 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=83] [step=import] [2025/04/04 10:37:42.668 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:42.668 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:42.668 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:42.668 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:42.668 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:42.668 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:42.668 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:42.668 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:42.668 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:42.668 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-83] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:42.669 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:42.669 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:42.670 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:37:42.670 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:42.671 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:42.671 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:42.671 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=83] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.556GiB]"] [takeTime=142.322666ms] [] [2025/04/04 10:37:42.671 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=83] [type=ImportInto] [2025/04/04 10:37:42.747 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=83] [step=import] [state=reverting] [error="[types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [2025/04/04 10:37:42.748 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=83] [step=import] [mode=Normal] [2025/04/04 10:37:42.764 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=83] [2025/04/04 10:37:42.842 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=83] [2025/04/04 10:37:42.848 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:37:42.848 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=83] [2025/04/04 10:37:42.869 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:37:42.938 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=83] [error="[types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestZeroDateTime\n\ttests/realtikvtest/importintotest/import_into_test.go:1239\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 10:37:42.938 +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.691647998\n# Parse_time: 0.000073996\n# Compile_time: 0.000582275\n# Rewrite_time: 0.000174514\n# Optimize_time: 0.000251227\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('SPBHMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjY5MC43bXMsIG9wZW46NjA2bnMsIGNsb3NlOjc1OW5zLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjgBQAFSA04vQVoudGltZTo2OTAuN21zLCBvcGVuOjYwNm5zLCBjbG9zZTo3NTlucywgbG9vcHM6MXD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000059676\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.76s) === NAME TestImportInto [2025/04/04 10:37:42.953 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:37:42.953 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [] [2025/04/04 10:37:42.953 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:37:42.955 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:37:42.955 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:37:42.955 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:37:42.955 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=83.592µs] [2025/04/04 10:37:42.955 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=57.935µs] [2025/04/04 10:37:42.956 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=69.486µs] [2025/04/04 10:37:42.956 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=59.149µs] [2025/04/04 10:37:42.956 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=52.524µs] [2025/04/04 10:37:42.956 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=63.521µs] [2025/04/04 10:37:42.956 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=62.433µs] [2025/04/04 10:37:42.956 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=67.076µs] [2025/04/04 10:37:42.956 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=58.495µs] [2025/04/04 10:37:42.956 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=38.653µs] [2025/04/04 10:37:42.956 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:37:42.956 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:37:42.958 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:37:42.958 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:37:42.983 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] ["take time"=29.740145ms] [2025/04/04 10:37:42.983 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:37:42.983 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:37:42.983 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:37:42.983 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/b27184d4-0f8e-408e-857f-6daa02a208a9] [watcherID=d2a254bd-d3de-4211-a2ab-cbd0bd8b5a29] [2025/04/04 10:37:42.983 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/b27184d4-0f8e-408e-857f-6daa02a208a9] [2025/04/04 10:37:42.983 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [ttl-worker=task-manager] [ttl-worker=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [originalCount=4] [newCount=0] [2025/04/04 10:37:42.983 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:37:42.983 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:37:42.983 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:37:42.983 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:37:42.984 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [ttl-worker=task-manager] [ttl-worker=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [originalCount=4] [newCount=0] [2025/04/04 10:37:42.986 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:37:42.986 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:37:42.986 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:37:42.986 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:37:42.988 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:37:42.989 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:37:42.989 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=826] [2025/04/04 10:37:42.989 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:37:42.990 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=d4cc1697-3f88-4f04-b032-173a8e24be1a] [] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:37:42.990 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=d4cc1697-3f88-4f04-b032-173a8e24be1a] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:37:42.990 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:42.990 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:37:42.990 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:37:42.990 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:37:42.990 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:37:42.990 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:37:42.990 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:42.990 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:37:42.990 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:42.990 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:42.990 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:37:42.990 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:42.990 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:42.990 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:42.990 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:37:42.990 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:42.990 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:42.990 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:42.990 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:37:42.989 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:37:42.990 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=d4cc1697-3f88-4f04-b032-173a8e24be1a] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:37:42.990 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=d4cc1697-3f88-4f04-b032-173a8e24be1a] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:37:42.990 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:42.991 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:42.990 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:42.991 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:42.990 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:37:42.991 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:37:42.991 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:37:42.990 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [] [2025/04/04 10:37:42.991 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:37:42.990 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:37:42.991 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:37:42.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:37:42.991 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:37:42.991 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:37:42.991 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:37:42.991 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:37:42.991 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:37:42.991 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:37:42.992 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:37:42.992 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=d4cc1697-3f88-4f04-b032-173a8e24be1a] [daemon-id=LogBackup::Advancer] [2025/04/04 10:37:42.992 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:37:42.992 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:37:42.992 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:37:42.992 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:37:42.992 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:37:42.992 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/04 10:37:42.992 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:37:42.992 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [error="context canceled"] [2025/04/04 10:37:42.992 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [] [2025/04/04 10:37:42.992 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:37:42.992 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:37:42.992 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:37:42.992 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:37:42.992 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:37:42.992 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [2025/04/04 10:37:42.993 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:37:42.993 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:37:43.055 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=7fdcc29e-270a-4bb2-bda5-4f35e788cc20] [error="context canceled"] [2025/04/04 10:37:43.055 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:37:43.055 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:37:43.066 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=113.465959ms] [2025/04/04 10:37:43.069 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:37:43.069 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:37:43.069 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:37:43.069 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:37:43.069 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:37:43.069 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:37:43.069 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:37:43.069 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:37:43.069 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:37:43.069 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:37:43.069 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:37:43.069 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:37:43.071 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestImportInto (119.02s) === NAME PASS ================================================================================ Target //tests/realtikvtest/importintotest:importintotest_test up-to-date: bazel-bin/tests/realtikvtest/importintotest/importintotest_test_/importintotest_test INFO: Elapsed time: 33.925s, Critical Path: 14.90s INFO: 4748 processes: 4735 remote cache hit, 13 internal. INFO: Build completed successfully, 4748 total actions //tests/realtikvtest/importintotest:importintotest_test (cached) PASSED in 123.2s PASSED importintotest_test.TestImportInto (119.0s) PASSED importintotest_test.TestImportInto/TestAddIndexBySQL (0.0s) PASSED importintotest_test.TestImportInto/TestAnalyze (0.0s) PASSED importintotest_test.TestImportInto/TestBadCases (1.5s) PASSED importintotest_test.TestImportInto/TestBasicImportInto (17.6s) PASSED importintotest_test.TestImportInto/TestCancelJob (4.5s) PASSED importintotest_test.TestImportInto/TestChecksumNotMatch (3.3s) PASSED importintotest_test.TestImportInto/TestColumnsAndUserVars (1.3s) PASSED importintotest_test.TestImportInto/TestDeliverBytesRows (2.3s) PASSED importintotest_test.TestImportInto/TestDetachedLoadParquet (2.4s) PASSED importintotest_test.TestImportInto/TestDiskQuota (1.5s) PASSED importintotest_test.TestImportInto/TestGBK (3.8s) PASSED importintotest_test.TestImportInto/TestGeneratedColumnsAndTSVFile (5.5s) PASSED importintotest_test.TestImportInto/TestIgnoreNLines (3.1s) PASSED importintotest_test.TestImportInto/TestImportIntoPrivilegePositiveCase (3.8s) PASSED importintotest_test.TestImportInto/TestImportIntoWithFK (1.3s) PASSED importintotest_test.TestImportInto/TestImportMode (12.3s) PASSED importintotest_test.TestImportInto/TestInputCountMisMatchAndDefault (3.4s) PASSED importintotest_test.TestImportInto/TestInputNull (2.0s) PASSED importintotest_test.TestImportInto/TestJobFailWhenDispatchSubtask (0.8s) PASSED importintotest_test.TestImportInto/TestKillBeforeFinish (1.9s) PASSED importintotest_test.TestImportInto/TestLoadSQLDump (2.4s) PASSED importintotest_test.TestImportInto/TestMaxWriteSpeed (11.5s) PASSED importintotest_test.TestImportInto/TestMultiValueIndex (1.3s) PASSED importintotest_test.TestImportInto/TestOtherCharset (6.0s) PASSED importintotest_test.TestImportInto/TestPreCheckCDCPiTRTasks (1.3s) PASSED importintotest_test.TestImportInto/TestPreCheckTableNotEmpty (0.3s) PASSED importintotest_test.TestImportInto/TestPreCheckTotalFileSize0 (0.3s) PASSED importintotest_test.TestImportInto/TestRegisterTask (6.1s) PASSED importintotest_test.TestImportInto/TestSameBehaviourDetachedOrNot (4.7s) PASSED importintotest_test.TestImportInto/TestShowDetachedJob (3.0s) PASSED importintotest_test.TestImportInto/TestShowJob (3.0s) PASSED importintotest_test.TestImportInto/TestZeroDateTime (1.8s) Test cases: finished with 33 passing and 0 failing out of 33 test cases Executed 0 out of 1 test: 1 test passes.  [Pipeline] // container [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] // withCredentials [Pipeline] } [Pipeline] sh [4,638 / 4,639] GoLink tests/realtikvtest/importintotest3/importintotest3_test_/importintotest3_test; 1s remote-cache [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [4,567 / 4,568] GoLink tests/realtikvtest/addindextest4/addindextest4_test_/addindextest4_test; 1s remote-cache Target //tests/realtikvtest/addindextest4:addindextest4_test up-to-date: bazel-bin/tests/realtikvtest/addindextest4/addindextest4_test_/addindextest4_test INFO: Elapsed time: 33.746s, Critical Path: 14.65s INFO: 4269 processes: 4266 remote cache hit, 3 internal. INFO: Build completed successfully, 4269 total actions //tests/realtikvtest/addindextest4:addindextest4_test (cached) PASSED in 1.2s PASSED addindextest4_test.TestAddIndexIngestRecoverPartition (0.0s) Test cases: finished with 1 passing and 0 failing out of 1 test cases Executed 0 out of 1 test: 1 test passes.  [Pipeline] // withEnv No test report files were found. Configuration error? [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] junit Recording test results No test report files were found. Configuration error? [Pipeline] // node [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // withCredentials INFO: From Testing //tests/realtikvtest/importintotest3:importintotest3_test: ==================== Test output for //tests/realtikvtest/importintotest3:importintotest3_test: === RUN TestImportInto [2025/04/04 10:35:33.700 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 10:35:33.700 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:35:33.701 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347612802463] [2025/04/04 10:35:33.702 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:33.702 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:35:33.702 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:33.702 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:33.703 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:33.703 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:33.703 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:33.703 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:33.708 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:35:33.715 +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 10:35:33.716 +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 10:35:33.717 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:35:33.740 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:33.740 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:33.745 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:33.745 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:33.756 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:33.779 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404347612802463] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:35:33.801 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:35:33.838 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=633] ["lease id"=6f1896005d3db5dc] [2025/04/04 10:35:33.841 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:35:33.847 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/importintotest3/importintotest3_test.(*mockGCSSuite).SetupSuite\n\ttests/realtikvtest/importintotest3/main_test.go:63\ngithub.com/stretchr/testify/suite.Run\n\texternal/com_github_stretchr_testify/suite/suite.go:157\ntests/realtikvtest/importintotest3/importintotest3_test.TestImportInto\n\ttests/realtikvtest/importintotest3/main_test.go:48\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 10:35:33.950 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=102.935806ms] [2025/04/04 10:35:33.950 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:33.952 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/04 10:35:33.952 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [runWorker=true] [jobVersion=v2] [2025/04/04 10:35:33.952 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:35:33.954 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:33.955 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:35:33.955 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 225572208640/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:35:33.955 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:33.955 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:33.956 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:33.956 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:33.956 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:33.956 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:33.956 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:33.956 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:33.956 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:33.956 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:33.956 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:35:33.956 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:33.956 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=5bcfb51b-7774-4c41-a79b-403686379751] [2025/04/04 10:35:33.958 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d3db752] [ownerID=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [op=none] [2025/04/04 10:35:33.958 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:33.958 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [ownerKey=/tidb/ddl/fg/owner/223196005d3db752] [currRev=91] [2025/04/04 10:35:33.959 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:33.959 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=5bcfb51b-7774-4c41-a79b-403686379751] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:33.959 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:35:33.959 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa96005d3db7eb] [ownerID=5bcfb51b-7774-4c41-a79b-403686379751] [op=none] [2025/04/04 10:35:33.959 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=5bcfb51b-7774-4c41-a79b-403686379751] [2025/04/04 10:35:33.960 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=5bcfb51b-7774-4c41-a79b-403686379751] [ownerKey=/tidb/br-stream/owner/3eaa96005d3db7eb] [currRev=92] [2025/04/04 10:35:33.960 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d3db752] [ownerID=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [op=none] [2025/04/04 10:35:33.960 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [op=none] [2025/04/04 10:35:33.960 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:35:33.963 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 10:35:33.978 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:33.978 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/04 10:35:33.985 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.121 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=121.560852ms] [2025/04/04 10:35:34.121 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:34.126 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.126 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/04 10:35:34.128 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=130.600177ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:33.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.141 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:33.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.156 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/04 10:35:34.156 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/04 10:35:34.157 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/04 10:35:34.162 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=America/Los_Angeles] [2025/04/04 10:35:34.186 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.186 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/04 10:35:34.196 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.251 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.488146ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.255 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.255 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/04 10:35:34.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=2] ["take time"=14.815128ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.276 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.308 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/04 10:35:34.308 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 10:35:34.323 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2025/04/04 10:35:34.323 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.329 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.348 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.081808ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.351 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.351 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/04 10:35:34.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=3] ["take time"=9.043864ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.364 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.377 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/04 10:35:34.377 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2025/04/04 10:35:34.391 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [2025/04/04 10:35:34.391 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.397 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.415 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=1.936934ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.418 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.419 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/04 10:35:34.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=4] ["take time"=8.62397ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.431 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.443 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/04 10:35:34.444 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [user=] [2025/04/04 10:35:34.471 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.471 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [2025/04/04 10:35:34.479 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.516 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.861875ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.520 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.520 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/04 10:35:34.522 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=12.780678ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.538 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.559 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/04 10:35:34.560 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 10:35:34.576 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.576 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [2025/04/04 10:35:34.583 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.607 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.76057ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.611 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.611 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/04 10:35:34.612 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=9.878249ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.625 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.641 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/04 10:35:34.642 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 10:35:34.657 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.657 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [2025/04/04 10:35:34.663 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.685 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.513915ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.688 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.688 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/04 10:35:34.689 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=8.801478ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.700 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.714 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/04 10:35:34.714 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 10:35:34.727 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.727 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2025/04/04 10:35:34.732 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.748 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.667137ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.751 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.751 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/04 10:35:34.753 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=8.12257ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.763 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.776 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/04 10:35:34.777 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2025/04/04 10:35:34.790 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.790 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2025/04/04 10:35:34.796 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.813 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.959415ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.816 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.817 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/04 10:35:34.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=9] ["take time"=8.646866ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.828 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.840 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/04 10:35:34.840 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2025/04/04 10:35:34.854 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.854 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2025/04/04 10:35:34.860 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.880 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.28328ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.883 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.884 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/04 10:35:34.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=10] ["take time"=8.91149ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.896 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.909 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/04 10:35:34.909 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2025/04/04 10:35:34.923 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.923 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2025/04/04 10:35:34.928 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.948 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.115815ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:34.951 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:34.951 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/04 10:35:34.953 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=8.780687ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.957 +00:00] [WARN] [runaway.go:85] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:34.964 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:34.977 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/04 10:35:34.977 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2025/04/04 10:35:34.979 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:34.994 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:34.994 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 10:35:35.000 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.027 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.15052ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.030 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.030 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/04 10:35:35.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=12] ["take time"=10.127766ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:34.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.044 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:34.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.060 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/04 10:35:35.061 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 10:35:35.075 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.075 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2025/04/04 10:35:35.081 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.104 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.726438ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.107 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.107 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/04 10:35:35.109 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=9.45379ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.121 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.136 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/04 10:35:35.136 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2025/04/04 10:35:35.154 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.154 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2025/04/04 10:35:35.160 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.180 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.101971ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.183 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.183 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/04 10:35:35.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=14] ["take time"=8.774691ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.196 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.209 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/04 10:35:35.209 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 10:35:35.224 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2025/04/04 10:35:35.224 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.229 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.249 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.153708ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.253 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.253 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/04 10:35:35.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=15] ["take time"=9.11491ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.265 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.279 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/04 10:35:35.279 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 10:35:35.294 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.294 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2025/04/04 10:35:35.299 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.318 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=2.078285ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.321 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.321 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/04 10:35:35.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=16] ["take time"=8.71061ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.333 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.345 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/04 10:35:35.345 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 10:35:35.359 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.359 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2025/04/04 10:35:35.365 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.384 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.176244ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.387 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.387 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/04 10:35:35.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=17] ["take time"=8.834ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.400 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.413 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/04 10:35:35.413 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/04 10:35:35.429 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.429 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [2025/04/04 10:35:35.435 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.454 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.198431ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.458 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.458 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/04 10:35:35.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=18] ["take time"=9.321616ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.471 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.486 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/04 10:35:35.486 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/04 10:35:35.503 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.503 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 10:35:35.509 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.536 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.131ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.539 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.539 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/04 10:35:35.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=19] ["take time"=9.704881ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.553 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.572 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/04 10:35:35.573 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 10:35:35.594 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] None of the test reports contained any result [2025/04/04 10:35:35.594 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.584 +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);"] [Pipeline] } [2025/04/04 10:35:35.600 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [Checks API] No suitable checks publisher found. [2025/04/04 10:35:35.620 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.140621ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.623 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.624 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/04 10:35:35.625 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=8.926328ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.636 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.648 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/04 10:35:35.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 10:35:35.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 10:35:35.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.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 10:35:35.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2025/04/04 10:35:35.666 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.684 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.79213ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.687 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.687 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/04 10:35:35.689 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=8.843789ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.699 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.709 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 10:35:35.711 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/04 10:35:35.712 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2025/04/04 10:35:35.725 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.725 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/04 10:35:35.731 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.749 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.503714ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.752 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.753 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/04 10:35:35.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=22] ["take time"=8.350581ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.764 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.775 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/04 10:35:35.775 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/04 10:35:35.791 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.791 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2025/04/04 10:35:35.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 10:35:35.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.819 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.737573ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.823 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.823 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/04 10:35:35.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=23] ["take time"=9.752014ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.836 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.850 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/04 10:35:35.851 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2025/04/04 10:35:35.865 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.865 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 10:35:35.871 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.890 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=1.979881ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.894 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.894 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/04 10:35:35.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=24] ["take time"=8.975432ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.911 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.923 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/04 10:35:35.924 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 10:35:35.938 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:35.938 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [2025/04/04 10:35:35.943 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.955 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:35:35.956 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2379] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/04 10:35:35.967 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.215197ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:35.970 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:35.970 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/04 10:35:35.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"=12.982665ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.982 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:35.996 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/04 10:35:35.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 10:35:36.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 10:35:35.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.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 10:35:35.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2025/04/04 10:35:36.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 10:35:35.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.032 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.880964ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.036 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.036 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/04 10:35:36.038 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=8.804029ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:35.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.048 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:35.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.060 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/04 10:35:36.060 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/04 10:35:36.073 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.073 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2025/04/04 10:35:36.078 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.097 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=1.898803ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.100 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.100 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/04 10:35:36.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=27] ["take time"=8.350151ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.112 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.124 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/04 10:35:36.124 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/04 10:35:36.137 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2025/04/04 10:35:36.137 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.142 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.160 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.859816ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.163 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.163 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/04 10:35:36.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=28] ["take time"=8.551182ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.175 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.187 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/04 10:35:36.187 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/04 10:35:36.189 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:36.201 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.201 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2025/04/04 10:35:36.206 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.226 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.212175ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.230 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.230 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/04 10:35: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=29] ["take time"=8.76271ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.242 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.255 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/04 10:35:36.255 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/04 10:35:36.269 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.269 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 10:35:36.275 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.295 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.442779ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.298 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.298 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/04 10:35:36.300 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=9.077304ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.310 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.324 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/04 10:35:36.324 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 10:35:36.338 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.338 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 10:35:36.344 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.365 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.427746ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.368 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.368 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/04 10:35: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=31] ["take time"=8.568638ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.381 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.394 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/04 10:35:36.394 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 10:35:36.411 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.411 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/04 10:35:36.416 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.445 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.618927ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.448 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.448 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/04 10:35:36.450 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=10.403617ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.462 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.480 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/04 10:35:36.480 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/04 10:35:36.492 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.492 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/04 10:35:36.498 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.513 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.659917ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.517 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.517 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/04 10:35:36.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=33] ["take time"=8.56588ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.528 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.539 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/04 10:35:36.539 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/04 10:35:36.556 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.556 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/04 10:35:36.562 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.585 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.397066ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:35:36.588 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.588 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/04 10:35:36.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=34] ["take time"=9.309137ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.601 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.615 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/04 10:35:36.630 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.630 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2025/04/04 10:35:36.640 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.663 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.523641ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.667 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.667 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/04 10:35:36.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=35] ["take time"=9.70961ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.679 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.692 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/04 10:35:36.692 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/04 10:35:36.704 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.704 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2025/04/04 10:35:36.709 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.726 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=1.735002ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.730 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.730 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/04 10:35:36.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=36] ["take time"=8.181345ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.741 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.752 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/04 10:35:36.752 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/04 10:35:36.764 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.764 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2025/04/04 10:35:36.769 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.786 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.669508ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.789 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.789 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/04 10:35:36.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=37] ["take time"=7.717155ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.800 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.812 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/04 10:35:36.812 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/04 10:35:36.829 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.829 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2025/04/04 10:35:36.835 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.868 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.385471ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.871 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.871 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/04 10:35:36.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=38] ["take time"=10.378084ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.886 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.903 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/04 10:35:36.904 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/04 10:35:36.919 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:36.919 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2025/04/04 10:35:36.925 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.952 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.229253ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:36.956 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:36.957 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/04 10:35:36.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=39] ["take time"=11.642959ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.971 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:36.987 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/04 10:35:36.987 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/04 10:35:37.003 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:37.003 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2025/04/04 10:35:37.009 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.037 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.432524ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:37.040 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:37.040 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/04 10:35:37.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=40] ["take time"=9.424825ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:36.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.053 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:36.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.069 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/04 10:35:37.070 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/04 10:35:37.087 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:37.087 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/04 10:35:37.093 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.122 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.570425ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:37.126 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:37.126 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/04 10:35:37.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=41] ["take time"=10.153479ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.139 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.158 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/04 10:35:37.158 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 10:35:37.177 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:37.177 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/04 10:35:37.184 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.217 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.680153ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:37.220 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:37.220 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/04 10:35:37.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=42] ["take time"=13.324464ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.234 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.251 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/04 10:35:37.252 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 10:35:37.268 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:37.268 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2025/04/04 10:35:37.274 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.302 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.453642ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:37.306 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:37.306 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/04 10:35:37.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=43] ["take time"=10.283464ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.319 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.335 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/04 10:35:37.336 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2025/04/04 10:35:37.351 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:37.351 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 10:35:37.357 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.382 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.906077ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:37.385 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:37.385 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/04 10:35:37.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=44] ["take time"=10.242464ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.399 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.414 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/04 10:35:37.415 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 10:35:37.433 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:37.433 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 10:35:37.440 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.466 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.824414ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:37.469 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:37.469 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/04 10:35:37.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=45] ["take time"=11.39809ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.483 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.497 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/04 10:35:37.498 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 10:35:37.516 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:37.516 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2025/04/04 10:35:37.523 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.554 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=3.888044ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:37.558 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:37.558 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/04 10:35:37.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=46] ["take time"=10.380322ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.572 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.591 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/04 10:35:37.591 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2025/04/04 10:35:37.607 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:37.607 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 10:35:37.613 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.637 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.875263ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:37.641 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:37.641 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/04 10:35:37.642 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=10.009719ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.655 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.670 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/04 10:35:37.670 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 10:35:37.683 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:37.683 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2025/04/04 10:35:37.689 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.707 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=1.965234ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:37.711 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:37.711 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/04 10:35:37.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=48] ["take time"=8.923474ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.723 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.736 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/04 10:35:37.736 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2025/04/04 10:35:37.749 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:37.750 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2025/04/04 10:35:37.755 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.774 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.153906ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:37.778 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:37.778 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/04 10:35:37.779 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=8.670228ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.790 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.802 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/04 10:35:37.802 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2025/04/04 10:35:37.804 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:35:37.816 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:37.816 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/04 10:35:37.822 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.841 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.149876ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:37.845 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:37.845 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/04 10:35:37.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=50] ["take time"=8.828583ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.857 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.870 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/04 10:35:37.870 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/04 10:35:37.882 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/04 10:35:37.882 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:37.887 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.899 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=688.904µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:37.903 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:37.903 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/04 10:35: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=51] ["take time"=7.700991ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.915 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.925 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/04 10:35:37.925 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/04 10:35:37.939 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:37.939 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2025/04/04 10:35:37.944 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.963 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:35:37.964 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:37.964 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:37.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:37.966 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.825669ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:35:37.969 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:37.969 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/04 10:35:37.970 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=11.431425ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.980 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:37.992 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/04 10:35:38.009 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:38.009 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/04 10:35:38.015 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:38.042 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.139399ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:38.045 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:38.045 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/04 10:35:38.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=53] ["take time"=10.492432ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:37.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:38.059 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:37.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:38.075 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/04 10:35:38.075 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/04 10:35:38.090 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:38.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:38.090 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:38.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/04 10:35:38.096 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:38.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:38.116 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.225907ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:38.119 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:38.119 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/04 10:35:38.121 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=9.241922ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:38.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:38.132 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:38.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:38.146 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/04 10:35:38.147 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/04 10:35:38.161 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:38.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:38.161 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:38.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/04 10:35:38.166 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:38.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:38.187 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.35092ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:38.190 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:35:38.190 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/04 10:35:38.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=55] ["take time"=8.917443ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:38.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:38.203 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:38.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:38.217 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/04 10:35:38.217 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/04 10:35:38.369 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.409705507s] [2025/04/04 10:35:38.371 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:35:38.371 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:35:38.371 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [] [2025/04/04 10:35:38.371 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:38.371 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:38.371 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:38.371 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=61.376µs] [2025/04/04 10:35:38.372 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=36.247µs] [2025/04/04 10:35:38.372 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=33.873µs] [2025/04/04 10:35:38.372 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=30.782µs] [2025/04/04 10:35:38.372 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=34.458µs] [2025/04/04 10:35:38.372 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=29.837µs] [2025/04/04 10:35:38.372 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=33.099µs] [2025/04/04 10:35:38.372 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=28.51µs] [2025/04/04 10:35:38.372 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=37.039µs] [2025/04/04 10:35:38.372 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=29.762µs] [2025/04/04 10:35:38.372 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:38.372 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:38.373 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:35:38.373 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:35:38.383 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] ["take time"=12.203574ms] [2025/04/04 10:35:38.383 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:38.384 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=633] [2025/04/04 10:35:38.384 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:38.384 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:35:38.384 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:38.384 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:35:38.384 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:35:38.384 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:38.384 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:35:38.384 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:38.385 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:38.384 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:35:38.385 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:38.385 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:38.384 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=5bcfb51b-7774-4c41-a79b-403686379751] [] [2025/04/04 10:35:38.385 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=5bcfb51b-7774-4c41-a79b-403686379751] [2025/04/04 10:35:38.385 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=5bcfb51b-7774-4c41-a79b-403686379751] [2025/04/04 10:35:38.385 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=5bcfb51b-7774-4c41-a79b-403686379751] [2025/04/04 10:35:38.386 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:35:38.386 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:35:38.386 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=5bcfb51b-7774-4c41-a79b-403686379751] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:38.386 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:38.386 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:35:38.386 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:38.386 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:38.386 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:35:38.390 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=19.064733ms] [2025/04/04 10:35:38.390 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489404347612802463] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:35:38.399 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:35:38.435 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1175] ["lease id"=6f1896005d3db652] [2025/04/04 10:35:38.437 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 10:35:38.556 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=116.589774ms] [2025/04/04 10:35:38.556 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:38.565 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [runWorker=true] [jobVersion=v2] [2025/04/04 10:35:38.565 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:35:38.567 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [lease=223196005d3db752] [2025/04/04 10:35:38.567 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:35:38.567 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 225572257792/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:35:38.567 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:38.567 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:38.567 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:38.567 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:38.567 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:38.567 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:38.567 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:38.567 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:38.567 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:35:38.567 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:35:38.567 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:38.567 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:38.568 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=868da890-f699-4ffc-97ec-7c6c64d0592f] [2025/04/04 10:35:38.569 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d3db752] [ownerID=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [op=none] [2025/04/04 10:35:38.569 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:38.569 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [ownerKey=/tidb/ddl/fg/owner/223196005d3db752] [currRev=272] [2025/04/04 10:35:38.570 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:38.570 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=868da890-f699-4ffc-97ec-7c6c64d0592f] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:38.571 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:35:38.571 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa96005d3db85d] [ownerID=868da890-f699-4ffc-97ec-7c6c64d0592f] [op=none] [2025/04/04 10:35:38.571 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=868da890-f699-4ffc-97ec-7c6c64d0592f] [2025/04/04 10:35:38.571 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=868da890-f699-4ffc-97ec-7c6c64d0592f] [ownerKey=/tidb/br-stream/owner/3eaa96005d3db85d] [currRev=273] [2025/04/04 10:35:38.571 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196005d3db752] [ownerID=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [op=none] [2025/04/04 10:35:38.571 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [op=none] [2025/04/04 10:35:38.571 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:35:38.579 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:38.580 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:38.580 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:35:38.582 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/6f1896005d3db65a] [ownerID=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [op=none] [2025/04/04 10:35:38.582 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:38.582 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [ownerKey=/tidb/bindinfo/owner/6f1896005d3db65a] [currRev=274] [2025/04/04 10:35:38.587 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/04 10:35:38.592 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:35:38.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:38.599 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:38.606 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:38.607 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:38.607 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:38.607 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:35:38.607 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:35:38.607 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:38.607 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:35:38.607 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:35:38.607 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:35:38.608 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:38.608 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:38.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:38.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:38.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:38.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:38.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:38.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:38.609 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:35:38.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:38.609 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:35:38.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:38.609 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/04 10:35:38.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:38.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:38.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:38.610 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:38.611 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa96005d3db864] [ownerID=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [op=none] [2025/04/04 10:35:38.611 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:38.611 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [ownerKey=/tidb/stats/owner/3eaa96005d3db864] [currRev=275] [2025/04/04 10:35:38.611 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=52] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:35:38.614 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/5e2caae7-5eb1-44ca-9cc5-43704f976d1c] [2025/04/04 10:35:38.614 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [ttl-worker=task-manager] [ttl-worker=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [originalCount=0] [newCount=4] [2025/04/04 10:35:38.614 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [ttl-worker=task-manager] [ttl-worker=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [originalCount=0] [newCount=4] [2025/04/04 10:35:38.614 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:38.615 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:35:38.622 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:38.623 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:35:38.623 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743762938623442870 [2025/04/04 10:35:38.623 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:35:38.630 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=22.577773ms] [2025/04/04 10:35:38.630 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:35:38.630 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:35:38.649 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:35:38.659 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743762938661399256 === RUN TestImportInto/TestGzipAndMixedCompression [2025/04/04 10:35:38.665 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=] [sql="drop database if exists gzip"] [user=] [2025/04/04 10:35:38.676 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:38.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:38.676 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:38.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database gzip"] [2025/04/04 10:35:38.682 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:38.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:38.778 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=81.753788ms] [2025/04/04 10:35:38.778 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/04 10:35:38.778 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:35:38.781 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/04 10:35:38.783 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=89.306504ms] [job="ID:113, Type:create schema, State:done, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:38.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:38.794 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:synced, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:38.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:38.807 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/04 10:35:38.808 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=] [sql="create database gzip"] [user=] [2025/04/04 10:35:38.821 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:38.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE gzip.t (i INT PRIMARY KEY, s varchar(32));"] [2025/04/04 10:35:38.821 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:38.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:38.826 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:38.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:38.831 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 114, Table Name: t)"] [2025/04/04 10:35:38.846 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=1.402117ms] [gotSchemaVersion=57] [phyTblIDs="[114]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:38.849 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=57] [2025/04/04 10:35:38.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=57] ["take time"=7.766941ms] [job="ID:115, Type:create table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:38.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:38.861 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:38.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:38.872 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/04 10:35:38.872 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=57] [cur_db=gzip] [sql="CREATE TABLE gzip.t (i INT PRIMARY KEY, s varchar(32));"] [user=] [2025/04/04 10:35:39.203 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:39.259 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gzip/compress.*?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:35:39.283 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=1] [task-id=1] [data-size=111B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:35:39.574 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:35:39.574 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:39.574 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:39.574 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:35:39.614 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:35:39.614 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:35:39.614 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/5e2caae7-5eb1-44ca-9cc5-43704f976d1c] [watcherID=d77d92a3-d439-4ac6-b0ac-46f5d6b7b23f] [2025/04/04 10:35:39.623 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:35:39.627 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=16] [new=52] [2025/04/04 10:35:39.627 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:35:39.627 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:35:39.627 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:35:39.627 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:35:39.643 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/04 10:35:39.643 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:35:39.746 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:39.747 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:39.748 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [2025/04/04 10:35:39.755 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:39.768 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:39.768 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=111] [2025/04/04 10:35:39.768 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=111] [cost=96.668µs] [2025/04/04 10:35:39.768 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=217.908µs] [] [2025/04/04 10:35:39.768 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:35:39.768 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:35:39.807 +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 10:35:39.827 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/04 10:35:39.827 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:39.828 +00:00] [INFO] [table_import.go:119] ["import dir not exists, create it"] [table=t] [import_dir=/tmp/tidb/import-4000] [2025/04/04 10:35:39.836 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:35:39.836 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347612802463] [2025/04/04 10:35:39.836 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:39.836 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:35:39.836 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:39.837 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:39.837 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:39.837 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:39.837 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:39.837 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:39.851 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:39.851 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=1] [mode=Import] [2025/04/04 10:35:39.853 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:39.853 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 10:35:39.853 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=1] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:39.853 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=1] [disk-quota=348.5GiB] [2025/04/04 10:35:39.853 +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 10:35:39.861 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [2025/04/04 10:35:39.861 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [2025/04/04 10:35:39.869 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=1] [2025/04/04 10:35:39.883 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/04 10:35:39.886 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 10:35:39.887 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/04 10:35:39.890 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=compress.001.csv.gz:0] [2025/04/04 10:35:39.891 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=compress.001.csv.gz:0] [readDur=78.057µs] [encodeDur=142.233µs] [checksum="{cksum=14262047008891545520,size=66,kvs=2}"] [deliverDur=31.616µs] [type=file] [takeTime=498.27µs] [] [2025/04/04 10:35:39.891 +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/860331f5-396e-4e71-8d9f-a59d8d49b531.sst] [firstKey=7480000000000000725F728000000000000001] [lastKey=7480000000000000725F728000000000000002] [2025/04/04 10:35:39.891 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/04 10:35:39.906 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=compress.001.csv.gzip:0] [2025/04/04 10:35:39.907 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=compress.001.csv.gzip:0] [readDur=90.457µs] [encodeDur=220.765µs] [checksum="{cksum=6510788178300023669,size=66,kvs=2}"] [deliverDur=32.401µs] [type=file] [takeTime=538.144µs] [] [2025/04/04 10:35:39.907 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/04 10:35:39.908 +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/efad3ed9-c821-4467-a21d-c8b26392782a.sst] [firstKey=7480000000000000725F728000000000000003] [lastKey=7480000000000000725F728000000000000004] [2025/04/04 10:35:39.993 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=compress.002.csv:0] [2025/04/04 10:35:39.995 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=compress.002.csv:0] [readDur=941.932µs] [encodeDur=209.295µs] [checksum="{cksum=17289666951678080828,size=165,kvs=5}"] [deliverDur=24.945µs] [type=file] [takeTime=1.382515ms] [] [2025/04/04 10:35:39.995 +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/2e9abe84-0f78-4936-a39e-e3b6e3dc117f.sst] [firstKey=7480000000000000725F728000000000000005] [lastKey=7480000000000000725F728000000000000009] [2025/04/04 10:35:39.996 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/04 10:35:39.996 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/04 10:35:39.996 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/04 10:35:39.998 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [takeTime=1.851291ms] [] [2025/04/04 10:35:39.998 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [retryCnt=0] [2025/04/04 10:35:40.003 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:40.024 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=a44d817b-cb07-5b2e-a759-37c0e04df925] ["region ranges"=1] [count=9] [size=297] [2025/04/04 10:35:40.025 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:40.027 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f728000000000000001] [endOfAllRanges=7480000000000000725f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ff725f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff725f728000000000ff00000a0000000000fa] [2025/04/04 10:35:40.039 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=a44d817b-cb07-5b2e-a759-37c0e04df925] [size=297] [kvs=9] [importedSize=297] [importedCount=9] [2025/04/04 10:35:40.041 +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.27889ms] [] [2025/04/04 10:35:40.041 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/04 10:35:40.042 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [takeTime=1.223488ms] [] [2025/04/04 10:35:40.042 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/04 10:35:40.042 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 10:35:40.044 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [takeTime=1.48988ms] [] [2025/04/04 10:35:40.044 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [retryCnt=0] [2025/04/04 10:35:40.048 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 10:35:40.048 +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.659413ms] [] [2025/04/04 10:35:40.048 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 10:35:40.049 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [takeTime=902.858µs] [] [2025/04/04 10:35:40.049 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [takeTime=187.809424ms] [] [2025/04/04 10:35:40.049 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [takeTime=187.949246ms] [] [2025/04/04 10:35:40.150 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:40.151 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:40.152 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:40.152 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:40.180 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/04 10:35:40.181 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:40.181 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:35:40.188 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:35:40.188 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/04 10:35:40.191 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:40.191 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:40.191 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:40.191 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:40.191 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:40.191 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:40.191 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:40.191 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:40.191 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:40.191 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:40.191 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:40.191 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:40.193 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:40.193 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:40.193 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:40.193 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:40.193 +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=339.816425ms] [] [2025/04/04 10:35:40.193 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/04 10:35:40.215 +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 10:35:40.234 +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 10:35:40.242 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=post-process] [2025/04/04 10:35:40.242 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/04 10:35:40.242 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/04 10:35:40.242 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/04 10:35:40.242 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=1.784µs] [] [2025/04/04 10:35:40.242 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [groupId=-1] [size=297] [kvs=9] [checksum=8090491426016633849] [2025/04/04 10:35:40.242 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [checksum="{cksum=8090491426016633849,size=297,kvs=9}"] [2025/04/04 10:35:40.242 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [weight=30] [2025/04/04 10:35:40.242 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [concurrency=15] [2025/04/04 10:35:40.244 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=-1] [checksum=8090491426016633849] [totalKvs=9] [totalBytes=297] [2025/04/04 10:35:40.244 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:40.244 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [local="{cksum=8090491426016633849,size=297,kvs=9}"] [2025/04/04 10:35:40.244 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=2.544355ms] [] [2025/04/04 10:35:40.244 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=2.6765ms] [] [2025/04/04 10:35:40.244 +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.812501ms] [] [2025/04/04 10:35:40.245 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:40.350 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:40.350 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=1] [step=post-process] [state=running] [] [2025/04/04 10:35:40.352 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=1] [2025/04/04 10:35:40.375 +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=141.028452ms] [] [2025/04/04 10:35:40.376 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/04 10:35:40.445 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/04 10:35:40.450 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:40.450 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/04 10:35:40.474 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:40.498 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.621482112\n# Parse_time: 0.0001867\n# Compile_time: 0.000392865\n# Rewrite_time: 0.000081076\n# Optimize_time: 0.000073296\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuNjJzLCBvcGVuOjY4OW5zLCBjbG9zZTo4NTBucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuNjJzLCBvcGVuOjY4OW5zLCBjbG9zZTo4NTBucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse gzip;\nIMPORT INTO `gzip`.`t` FROM 'gs://gzip/compress.*?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 10:35:40.512 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table gzip.t"] [2025/04/04 10:35:40.512 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:40.517 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:40.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.524 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 116, Table Name: t, Old Table ID: 114, Old Table Name: t)"] [2025/04/04 10:35:40.538 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=1.556818ms] [gotSchemaVersion=58] [phyTblIDs="[114,116]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:35:40.541 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=58] [2025/04/04 10:35:40.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=58] ["take time"=8.442394ms] [job="ID:117, Type:truncate table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.553 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=117] [tableIDs="[114]"] [comment="truncate table: table ID"] [2025/04/04 10:35:40.560 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="truncate table"] [2025/04/04 10:35:40.561 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:truncate table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:40.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:40.567 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:35:40.577 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/04 10:35:40.577 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=gzip] [sql="truncate table gzip.t"] [user=] [2025/04/04 10:35:40.582 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:40.637 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gzip/compress.*?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"skip_rows\":\"1\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:35:40.654 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=2] [task-id=2] [data-size=111B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:35:40.668 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=2] [2025/04/04 10:35:40.668 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:35:40.770 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:40.771 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:40.772 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [2025/04/04 10:35:40.780 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:40.791 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:40.791 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=111] [2025/04/04 10:35:40.792 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=111] [cost=79.068µs] [2025/04/04 10:35:40.792 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=183.379µs] [] [2025/04/04 10:35:40.792 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:35:40.792 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:35:40.826 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:35:40.846 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/04 10:35:40.847 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:40.855 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:35:40.855 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347612802463] [2025/04/04 10:35:40.855 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:40.855 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:35:40.855 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:40.856 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:40.856 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:40.856 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:40.856 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:40.856 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:40.868 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:40.869 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:40.869 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 10:35:40.869 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=2] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:40.869 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=2] [disk-quota=348.5GiB] [2025/04/04 10:35:40.870 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 10:35:40.876 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=2] [mode=Import] [2025/04/04 10:35:40.877 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=import] [2025/04/04 10:35:40.877 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=3] [2025/04/04 10:35:40.881 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/04 10:35:40.884 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 10:35:40.885 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/04 10:35:40.888 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=compress.001.csv.gz:0] [2025/04/04 10:35:40.889 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=compress.001.csv.gz:0] [readDur=25.848µs] [encodeDur=148.715µs] [checksum="{cksum=7821157384024914867,size=33,kvs=1}"] [deliverDur=23.086µs] [type=file] [takeTime=517.899µs] [] [2025/04/04 10:35:40.890 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/04 10:35:40.890 +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/e01d0beb-9879-4728-a126-d5eeaf671198.sst] [firstKey=7480000000000000745F728000000000000002] [lastKey=7480000000000000745F728000000000000002] [2025/04/04 10:35:40.893 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=compress.001.csv.gzip:0] [2025/04/04 10:35:40.894 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=compress.001.csv.gzip:0] [readDur=49.702µs] [encodeDur=178.429µs] [checksum="{cksum=8469875042060741206,size=33,kvs=1}"] [deliverDur=23.214µs] [type=file] [takeTime=496.091µs] [] [2025/04/04 10:35:40.894 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/04 10:35:40.894 +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/a62fc6eb-b703-43eb-a540-99c9d7da5f59.sst] [firstKey=7480000000000000745F728000000000000004] [lastKey=7480000000000000745F728000000000000004] [2025/04/04 10:35:40.895 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=2] [2025/04/04 10:35:40.897 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=compress.002.csv:0] [2025/04/04 10:35:40.898 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=compress.002.csv:0] [readDur=78.481µs] [encodeDur=606.952µs] [checksum="{cksum=0,size=132,kvs=4}"] [deliverDur=27.477µs] [type=file] [takeTime=940.054µs] [] [2025/04/04 10:35:40.899 +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/7831ad6a-1fdc-45a7-b585-68e9b94b2339.sst] [firstKey=7480000000000000745F728000000000000006] [lastKey=7480000000000000745F728000000000000009] [2025/04/04 10:35:40.899 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 10:35:40.899 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 10:35:40.899 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/04 10:35:40.901 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [takeTime=1.459472ms] [] [2025/04/04 10:35:40.901 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [retryCnt=0] [2025/04/04 10:35:40.906 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:40.927 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=a44d817b-cb07-5b2e-a759-37c0e04df925] ["region ranges"=1] [count=6] [size=198] [2025/04/04 10:35:40.928 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:40.929 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000745f728000000000000002] [endOfAllRanges=7480000000000000745f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ff745f728000000000ff0000020000000000fa] [endKeyOfLastRegion=7480000000000000ff745f728000000000ff00000a0000000000fa] [2025/04/04 10:35:40.941 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=a44d817b-cb07-5b2e-a759-37c0e04df925] [size=198] [kvs=6] [importedSize=198] [importedCount=6] [2025/04/04 10:35:40.942 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [retryCnt=0] [takeTime=41.504047ms] [] [2025/04/04 10:35:40.942 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/04 10:35:40.944 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [takeTime=1.199811ms] [] [2025/04/04 10:35:40.944 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 10:35:40.944 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 10:35:40.945 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [takeTime=1.646573ms] [] [2025/04/04 10:35:40.946 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [retryCnt=0] [2025/04/04 10:35:40.949 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 10:35:40.949 +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.648735ms] [] [2025/04/04 10:35:40.949 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 10:35:40.950 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [takeTime=1.027533ms] [] [2025/04/04 10:35:40.951 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=3] [takeTime=73.637198ms] [] [2025/04/04 10:35:40.951 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=import] [takeTime=73.798138ms] [] [2025/04/04 10:35:40.976 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:40.977 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:40.978 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:40.978 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:41.008 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 10:35:41.009 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:41.009 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:35:41.034 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:35:41.040 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/04 10:35:41.043 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:41.043 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:41.043 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:41.043 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:41.043 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:41.043 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:41.043 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:41.043 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:41.043 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:41.043 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:41.043 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:41.043 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:41.045 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:41.045 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:41.045 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:41.045 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:41.045 +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=175.352977ms] [] [2025/04/04 10:35:41.046 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 10:35:41.053 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=post-process] [2025/04/04 10:35:41.053 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/04 10:35:41.053 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/04 10:35:41.053 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/04 10:35:41.053 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=1.501µs] [] [2025/04/04 10:35:41.053 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [groupId=-1] [size=198] [kvs=6] [checksum=1801826099013898725] [2025/04/04 10:35:41.053 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [checksum="{cksum=1801826099013898725,size=198,kvs=6}"] [2025/04/04 10:35:41.053 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [weight=30] [2025/04/04 10:35:41.053 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [concurrency=15] [2025/04/04 10:35:41.055 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=-1] [checksum=1801826099013898725] [totalKvs=6] [totalBytes=198] [2025/04/04 10:35:41.056 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:41.056 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [local="{cksum=1801826099013898725,size=198,kvs=6}"] [2025/04/04 10:35:41.056 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=2.724466ms] [] [2025/04/04 10:35:41.056 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=2.841967ms] [] [2025/04/04 10:35:41.056 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=post-process] [takeTime=2.958081ms] [] [2025/04/04 10:35:41.064 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:41.075 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:41.075 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=2] [step=post-process] [state=running] [] [2025/04/04 10:35:41.077 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=2] [2025/04/04 10:35:41.101 +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=54.625157ms] [] [2025/04/04 10:35:41.101 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/04 10:35:41.170 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=2] [2025/04/04 10:35:41.176 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:41.176 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=2] [2025/04/04 10:35:41.196 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:41.270 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.692870634\n# Parse_time: 0.000109097\n# Compile_time: 0.000385609\n# Rewrite_time: 0.000075584\n# Optimize_time: 0.000230558\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5Mi4xbXMsIG9wZW46NjczbnMsIGNsb3NlOjgyMW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5Mi4xbXMsIG9wZW46NjczbnMsIGNsb3NlOjgyMW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `gzip`.`t` FROM 'gs://gzip/compress.*?endpoint=http://127.0.0.1:4443/storage/v1/' WITH skip_rows=1, thread=1;"] --- PASS: TestImportInto/TestGzipAndMixedCompression (2.61s) === NAME TestImportInto === RUN TestImportInto/TestImportFromServer [2025/04/04 10:35:41.275 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=gzip] [sql="drop database if exists from_server"] [user=] [2025/04/04 10:35:41.287 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:create schema, State:queueing, SchemaState:none, SchemaID:118, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:41.287 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:119, Type:create schema, State:queueing, SchemaState:none, SchemaID:118, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_server"] [2025/04/04 10:35:41.293 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:create schema, State:queueing, SchemaState:none, SchemaID:118, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.307 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=625.745µs] [gotSchemaVersion=59] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:41.310 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=59] [2025/04/04 10:35:41.311 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=7.375107ms] [job="ID:119, Type:create schema, State:done, SchemaState:public, SchemaID:118, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.322 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:create schema, State:synced, SchemaState:public, SchemaID:118, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.333 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/04 10:35:41.333 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=59] [cur_db=gzip] [sql="create database from_server"] [user=] [2025/04/04 10:35:41.346 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:41.346 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100));"] [2025/04/04 10:35:41.352 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=121] [conn=2] [job="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.357 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 120, Table Name: t)"] [2025/04/04 10:35:41.371 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=1.490006ms] [gotSchemaVersion=60] [phyTblIDs="[120]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:41.375 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=121] [version=60] [2025/04/04 10:35:41.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=60] ["take time"=8.845566ms] [job="ID:121, Type:create table, State:done, SchemaState:public, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:41.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.388 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=121] [conn=2] [job="ID:121, Type:create table, State:synced, SchemaState:public, SchemaID:118, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:41.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:41.399 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=121] [2025/04/04 10:35:41.399 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=60] [cur_db=from_server] [sql="create table t (a bigint, b varchar(100));"] [user=] [2025/04/04 10:35:41.444 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestImportFromServer3991504760/001/server-0.csv\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:35:41.445 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:41.445 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/04 10:35:41.445 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=39.079µs] [2025/04/04 10:35:41.445 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=136.795µs] [] [2025/04/04 10:35:41.463 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=3] [task-id=3] [data-size=18B] [thread-cnt=8] [global-sort=false] [2025/04/04 10:35:41.477 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=3] [2025/04/04 10:35:41.478 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:35:41.580 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:41.581 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:41.582 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [2025/04/04 10:35:41.589 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:35:41.589 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 10:35:41.612 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/04 10:35:41.612 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/04 10:35:41.626 +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 10:35:41.646 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/04 10:35:41.653 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:35:41.653 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347612802463] [2025/04/04 10:35:41.653 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:41.653 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:35:41.654 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:41.654 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:41.654 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:41.654 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:41.654 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:41.654 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:41.667 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:41.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 10:35:41.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 10:35:41.669 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=3] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:41.669 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=3] [disk-quota=348.5GiB] [2025/04/04 10:35:41.669 +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 10:35:41.677 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=import] [2025/04/04 10:35:41.677 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=5] [2025/04/04 10:35:41.680 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 10:35:41.684 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 10:35:41.684 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=120] [2025/04/04 10:35:41.685 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=120] [key=server-0.csv:0] [2025/04/04 10:35:41.686 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=3] [mode=Import] [2025/04/04 10:35:41.686 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=120] [key=server-0.csv:0] [readDur=73.339µs] [encodeDur=236.091µs] [checksum="{cksum=4217614283895359297,size=76,kvs=2}"] [deliverDur=260.218µs] [type=file] [takeTime=962.685µs] [] [2025/04/04 10:35:41.687 +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/c6fccbd6-3af1-48e5-81ba-bb4b5d9f07da.sst] [firstKey=7480000000000000785F728000000000000001] [lastKey=7480000000000000785F728000000000000002] [2025/04/04 10:35:41.687 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 10:35:41.687 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 10:35:41.687 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 10:35:41.690 +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.376613ms] [] [2025/04/04 10:35:41.690 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [retryCnt=0] [2025/04/04 10:35:41.694 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:41.704 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=3] [2025/04/04 10:35:41.715 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] ["region ranges"=1] [count=2] [size=76] [2025/04/04 10:35:41.716 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:41.717 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000785f728000000000000001] [endOfAllRanges=7480000000000000785f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff785f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff785f728000000000ff0000030000000000fa] [2025/04/04 10:35:41.729 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] [size=76] [kvs=2] [importedSize=76] [importedCount=2] [2025/04/04 10:35:41.730 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [retryCnt=0] [takeTime=40.712773ms] [] [2025/04/04 10:35:41.730 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 10:35:41.732 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=1.231262ms] [] [2025/04/04 10:35:41.732 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 10:35:41.732 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 10:35:41.733 +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.51723ms] [] [2025/04/04 10:35:41.733 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [retryCnt=0] [2025/04/04 10:35:41.737 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 10:35:41.737 +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.684085ms] [] [2025/04/04 10:35:41.737 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 10:35:41.738 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [takeTime=850.397µs] [] [2025/04/04 10:35:41.738 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=5] [takeTime=61.482526ms] [] [2025/04/04 10:35:41.739 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=import] [takeTime=61.960898ms] [] [2025/04/04 10:35:41.784 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:41.785 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:41.786 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:41.786 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:41.816 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:35:41.818 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:41.818 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:35:41.839 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:35:41.846 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/04 10:35:41.848 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:41.848 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:41.848 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:41.848 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:41.848 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:41.848 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:41.848 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:41.848 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:41.849 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:41.849 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:41.849 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:41.849 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:41.851 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:41.851 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:41.851 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:41.851 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:41.851 +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=181.878208ms] [] [2025/04/04 10:35:41.852 +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 10:35:41.860 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=post-process] [2025/04/04 10:35:41.860 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/04 10:35:41.860 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/04 10:35:41.860 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/04 10:35:41.865 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=5.647589ms] [] [2025/04/04 10:35:41.866 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [groupId=-1] [size=76] [kvs=2] [checksum=4217614283895359297] [2025/04/04 10:35:41.866 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [checksum="{cksum=4217614283895359297,size=76,kvs=2}"] [2025/04/04 10:35:41.866 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [weight=30] [2025/04/04 10:35:41.866 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [concurrency=15] [2025/04/04 10:35:41.868 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=120] [physicalTableID=120] [indexID=-1] [checksum=4217614283895359297] [totalKvs=2] [totalBytes=76] [2025/04/04 10:35:41.868 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:41.868 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [local="{cksum=4217614283895359297,size=76,kvs=2}"] [2025/04/04 10:35:41.868 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=8.432675ms] [] [2025/04/04 10:35:41.868 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=8.575954ms] [] [2025/04/04 10:35:41.868 +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.70988ms] [] [2025/04/04 10:35:41.877 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:41.884 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:41.884 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=3] [step=post-process] [state=running] [] [2025/04/04 10:35:41.887 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=3] [2025/04/04 10:35:41.913 +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=61.30118ms] [] [2025/04/04 10:35:41.913 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/04 10:35:41.979 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2025/04/04 10:35:41.985 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:41.985 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=3] [2025/04/04 10:35:42.007 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:42.082 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.682047677\n# Parse_time: 0.00009739\n# Compile_time: 0.000433251\n# Rewrite_time: 0.000119924\n# Optimize_time: 0.00023926\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4MS4ybXMsIG9wZW46ODY1bnMsIGNsb3NlOjEuMDjCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY4MS4ybXMsIG9wZW46ODY1bnMsIGNsb3NlOjEuMDjCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse from_server;\nIMPORT INTO `from_server`.`t` FROM '/tmp/TestImportIntoTestImportFromServer3991504760/001/server-0.csv';"] [2025/04/04 10:35:42.097 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:42.097 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:123, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:35:42.102 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:42.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.110 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 122, Table Name: t, Old Table ID: 120, Old Table Name: t)"] [2025/04/04 10:35:42.126 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=1.87581ms] [gotSchemaVersion=61] [phyTblIDs="[120,122]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:35:42.130 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=61] [2025/04/04 10:35:42.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=61] ["take time"=9.862491ms] [job="ID:123, Type:truncate table, State:done, SchemaState:public, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.142 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=123] [tableIDs="[120]"] [comment="truncate table: table ID"] [2025/04/04 10:35:42.147 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="truncate table"] [2025/04/04 10:35:42.148 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:truncate table, State:synced, SchemaState:public, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:42.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:42.166 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=123] [2025/04/04 10:35:42.166 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=61] [cur_db=from_server] [sql="truncate table t"] [user=] [2025/04/04 10:35:42.215 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestImportFromServer3991504760/001/server-*.csv\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:35:42.215 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:42.216 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=54] [2025/04/04 10:35:42.216 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=54] [cost=113.803µs] [2025/04/04 10:35:42.216 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=275.03µs] [] [2025/04/04 10:35:42.237 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=4] [task-id=4] [data-size=54B] [thread-cnt=8] [global-sort=false] [2025/04/04 10:35:42.252 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=4] [2025/04/04 10:35:42.252 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:35:42.355 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:42.356 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:42.358 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [2025/04/04 10:35:42.365 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:35:42.365 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 10:35:42.407 +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 10:35:42.427 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/04 10:35:42.435 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:35:42.435 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347612802463] [2025/04/04 10:35:42.436 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:42.436 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:35:42.436 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:42.436 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:42.436 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:42.436 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:42.437 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:42.437 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:42.449 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:42.450 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:42.450 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 10:35:42.450 +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 10:35:42.450 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=4] [disk-quota=348.5GiB] [2025/04/04 10:35:42.451 +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 10:35:42.459 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=import] [2025/04/04 10:35:42.459 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=7] [2025/04/04 10:35:42.463 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=4] [mode=Import] [2025/04/04 10:35:42.463 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 10:35:42.468 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 10:35:42.468 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:35:42.468 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:35:42.468 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:35:42.485 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=server-0.csv:0] [2025/04/04 10:35:42.485 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=server-2.csv:0] [2025/04/04 10:35:42.485 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=server-1.csv:0] [2025/04/04 10:35:42.486 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=server-2.csv:0] [readDur=96.186µs] [encodeDur=303.289µs] [checksum="{cksum=13627491968562561727,size=76,kvs=2}"] [deliverDur=303.41µs] [type=file] [takeTime=987.377µs] [] [2025/04/04 10:35:42.486 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=server-1.csv:0] [readDur=105.644µs] [encodeDur=216.517µs] [checksum="{cksum=8740164075696154046,size=76,kvs=2}"] [deliverDur=311.625µs] [type=file] [takeTime=902.53µs] [] [2025/04/04 10:35:42.487 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=server-0.csv:0] [readDur=95.416µs] [encodeDur=740.986µs] [checksum="{cksum=4217614283895359297,size=76,kvs=2}"] [deliverDur=384.212µs] [type=file] [takeTime=1.485824ms] [] [2025/04/04 10:35:42.487 +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/11407e03-8224-4fc6-81b8-540c42820a3b.sst] [firstKey=74800000000000007A5F728000000000000013] [lastKey=74800000000000007A5F728000000000000014] [2025/04/04 10:35:42.487 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 10:35:42.487 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 10:35:42.487 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 10:35:42.488 +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/13e09a61-ff58-4323-a18b-eb1049aea53b.sst] [firstKey=74800000000000007A5F72800000000000000A] [lastKey=74800000000000007A5F72800000000000000B] [2025/04/04 10:35:42.489 +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/e1c69620-c350-4954-892f-3718f77cd684.sst] [firstKey=74800000000000007A5F728000000000000001] [lastKey=74800000000000007A5F728000000000000002] [2025/04/04 10:35:42.492 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=4] [2025/04/04 10:35:42.492 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=4.042579ms] [] [2025/04/04 10:35:42.492 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [retryCnt=0] [2025/04/04 10:35:42.496 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:42.517 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] ["region ranges"=1] [count=6] [size=228] [2025/04/04 10:35:42.518 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:42.519 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007a5f728000000000000001] [endOfAllRanges=74800000000000007a5f728000000000000015] [startKeyOfFirstRegion=7480000000000000ff7a5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff7a5f728000000000ff0000150000000000fa] [2025/04/04 10:35:42.543 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] [size=228] [kvs=6] [importedSize=228] [importedCount=6] [2025/04/04 10:35:42.545 +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=53.4988ms] [] [2025/04/04 10:35:42.545 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 10:35:42.547 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=1.462027ms] [] [2025/04/04 10:35:42.547 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 10:35:42.547 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 10:35:42.549 +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.698874ms] [] [2025/04/04 10:35:42.549 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [retryCnt=0] [2025/04/04 10:35:42.552 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 10:35:42.552 +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.691644ms] [] [2025/04/04 10:35:42.553 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 10:35:42.554 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [takeTime=1.025857ms] [] [2025/04/04 10:35:42.554 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=7] [takeTime=94.661505ms] [] [2025/04/04 10:35:42.554 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=import] [takeTime=94.815615ms] [] [2025/04/04 10:35:42.659 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:42.660 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:42.661 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:42.662 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:42.690 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 10:35:42.692 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:42.692 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:35:42.696 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:35:42.696 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/04 10:35:42.699 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:42.699 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:42.699 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:42.699 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:42.699 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:42.699 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:42.699 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:42.699 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:42.699 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:42.699 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:42.699 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:42.699 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:42.701 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:42.701 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:42.701 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:42.701 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:42.701 +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=250.623957ms] [] [2025/04/04 10:35:42.701 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/04 10:35:42.726 +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 10:35:42.745 +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 10:35:42.753 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=post-process] [2025/04/04 10:35:42.753 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/04 10:35:42.753 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/04 10:35:42.753 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/04 10:35:42.759 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=5.673612ms] [] [2025/04/04 10:35:42.759 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [groupId=-1] [size=228] [kvs=6] [checksum=18361781019534991424] [2025/04/04 10:35:42.759 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [checksum="{cksum=18361781019534991424,size=228,kvs=6}"] [2025/04/04 10:35:42.759 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [weight=30] [2025/04/04 10:35:42.759 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [concurrency=15] [2025/04/04 10:35:42.761 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=-1] [checksum=18361781019534991424] [totalKvs=6] [totalBytes=228] [2025/04/04 10:35:42.761 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:42.761 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [local="{cksum=18361781019534991424,size=228,kvs=6}"] [2025/04/04 10:35:42.761 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=8.032132ms] [] [2025/04/04 10:35:42.761 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=8.175601ms] [] [2025/04/04 10:35:42.761 +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.302769ms] [] [2025/04/04 10:35:42.769 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:42.859 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:42.859 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=4] [step=post-process] [state=running] [] [2025/04/04 10:35:42.861 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=4] [2025/04/04 10:35:42.877 +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=131.178668ms] [] [2025/04/04 10:35:42.877 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/04 10:35:42.955 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2025/04/04 10:35:42.960 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:42.960 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=4] [2025/04/04 10:35:42.981 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:43.152 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.985484564\n# Parse_time: 0.000066745\n# Compile_time: 0.000409602\n# Rewrite_time: 0.000108585\n# Optimize_time: 0.000230761\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NC44bXMsIG9wZW46NjY0bnMsIGNsb3NlOjYwOW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4NC44bXMsIG9wZW46NjY0bnMsIGNsb3NlOjYwOW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `from_server`.`t` FROM '/tmp/TestImportIntoTestImportFromServer3991504760/001/server-*.csv';"] [2025/04/04 10:35:43.168 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:125, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:43.168 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:125, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:35:43.173 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=125] [conn=2] [job="ID:125, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:122, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.181 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 124, Table Name: t, Old Table ID: 122, Old Table Name: t)"] [2025/04/04 10:35:43.195 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.501872ms] [gotSchemaVersion=62] [phyTblIDs="[122,124]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:35:43.199 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=62] [2025/04/04 10:35:43.200 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=8.581939ms] [job="ID:125, Type:truncate table, State:done, SchemaState:public, SchemaID:118, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.211 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=125] [tableIDs="[122]"] [comment="truncate table: table ID"] [2025/04/04 10:35:43.215 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=125] [jobType="truncate table"] [2025/04/04 10:35:43.215 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=125] [conn=2] [job="ID:125, Type:truncate table, State:synced, SchemaState:public, SchemaID:118, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.232 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=125] [2025/04/04 10:35:43.232 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=62] [cur_db=from_server] [sql="truncate table t"] [user=] [2025/04/04 10:35:43.276 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestImportFromServer3991504760/001/test.csv.gz\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:35:43.277 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:43.277 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/04 10:35:43.277 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=36] [cost=37.181µs] [2025/04/04 10:35:43.277 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=124.149µs] [] [2025/04/04 10:35:43.295 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=5] [task-id=5] [data-size=36B] [thread-cnt=8] [global-sort=false] [2025/04/04 10:35:43.307 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=5] [2025/04/04 10:35:43.308 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 10:35:43.410 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:43.411 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:43.412 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [2025/04/04 10:35:43.419 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:35:43.419 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 10:35:43.455 +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 10:35:43.475 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/04 10:35:43.482 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:35:43.482 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347612802463] [2025/04/04 10:35:43.482 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:43.482 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:35:43.482 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:43.482 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:43.482 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:43.483 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:43.483 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:43.483 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:43.495 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:43.496 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:43.496 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 10:35:43.496 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=5] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:43.496 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=5] [disk-quota=348.5GiB] [2025/04/04 10:35:43.497 +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 10:35:43.563 +00:00] [WARN] [pd.go:261] ["get timestamp too slow"] ["cost time"=60.393725ms] [2025/04/04 10:35:43.566 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=import] [2025/04/04 10:35:43.566 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=9] [2025/04/04 10:35:43.573 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 10:35:43.574 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=5] [mode=Import] [2025/04/04 10:35:43.578 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 10:35:43.578 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=124] [2025/04/04 10:35:43.590 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=124] [key=test.csv.gz:0] [2025/04/04 10:35:43.591 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=124] [key=test.csv.gz:0] [readDur=129.828µs] [encodeDur=307.76µs] [checksum="{cksum=3639429438335945898,size=74,kvs=2}"] [deliverDur=237.246µs] [type=file] [takeTime=1.095841ms] [] [2025/04/04 10:35:43.592 +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/e9895b70-56d0-4faa-a3ca-b412388b22bf.sst] [firstKey=74800000000000007C5F728000000000000001] [lastKey=74800000000000007C5F728000000000000002] [2025/04/04 10:35:43.592 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 10:35:43.592 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 10:35:43.592 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 10:35:43.595 +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.485067ms] [] [2025/04/04 10:35:43.595 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [retryCnt=0] [2025/04/04 10:35:43.595 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=5] [2025/04/04 10:35:43.601 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:43.622 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] ["region ranges"=1] [count=2] [size=74] [2025/04/04 10:35:43.623 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:43.625 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007c5f728000000000000001] [endOfAllRanges=74800000000000007c5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff7c5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff7c5f728000000000ff0000030000000000fa] [2025/04/04 10:35:43.636 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] [size=74] [kvs=2] [importedSize=74] [importedCount=2] [2025/04/04 10:35:43.638 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [retryCnt=0] [takeTime=43.033122ms] [] [2025/04/04 10:35:43.638 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 10:35:43.639 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=1.099139ms] [] [2025/04/04 10:35:43.639 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 10:35:43.639 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 10:35:43.641 +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.445651ms] [] [2025/04/04 10:35:43.641 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [retryCnt=0] [2025/04/04 10:35:43.644 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 10:35:43.644 +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.554308ms] [] [2025/04/04 10:35:43.644 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 10:35:43.645 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [takeTime=789.686µs] [] [2025/04/04 10:35:43.645 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=9] [takeTime=79.234361ms] [] [2025/04/04 10:35:43.645 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=import] [takeTime=79.644639ms] [] [2025/04/04 10:35:43.715 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:43.716 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:43.717 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:43.717 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:43.745 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:35:43.747 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:43.747 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 10:35:43.767 +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 10:35:43.773 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/04 10:35:43.776 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:43.776 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:43.776 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:43.776 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:43.776 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:43.776 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:43.776 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:43.776 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:43.776 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:43.776 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:43.776 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:43.776 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:43.778 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:43.778 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:43.778 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:43.778 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:43.778 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=281.888916ms] [] [2025/04/04 10:35:43.780 +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 10:35:43.787 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=post-process] [2025/04/04 10:35:43.787 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/04 10:35:43.787 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/04 10:35:43.787 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/04 10:35:43.792 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=5.125997ms] [] [2025/04/04 10:35:43.792 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [groupId=-1] [size=74] [kvs=2] [checksum=3639429438335945898] [2025/04/04 10:35:43.792 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [checksum="{cksum=3639429438335945898,size=74,kvs=2}"] [2025/04/04 10:35:43.792 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [weight=30] [2025/04/04 10:35:43.792 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [concurrency=15] [2025/04/04 10:35:43.794 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=124] [physicalTableID=124] [indexID=-1] [checksum=3639429438335945898] [totalKvs=2] [totalBytes=74] [2025/04/04 10:35:43.794 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:43.794 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [local="{cksum=3639429438335945898,size=74,kvs=2}"] [2025/04/04 10:35:43.795 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=7.594428ms] [] [2025/04/04 10:35:43.795 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=7.733912ms] [] [2025/04/04 10:35:43.795 +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.874926ms] [] [2025/04/04 10:35:43.808 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:43.814 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:43.815 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=5] [step=post-process] [state=running] [] [2025/04/04 10:35:43.817 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=5] [2025/04/04 10:35:43.839 +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=59.344519ms] [] [2025/04/04 10:35:43.839 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/04 10:35:43.910 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2025/04/04 10:35:43.912 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.679518201\n# Parse_time: 0.000072922\n# Compile_time: 0.00042003\n# Rewrite_time: 0.000090888\n# Optimize_time: 0.000206943\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY3OC43bXMsIG9wZW46Njk5bnMsIGNsb3NlOjU1Nm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY3OC43bXMsIG9wZW46Njk5bnMsIGNsb3NlOjU1Nm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `from_server`.`t` FROM '/tmp/TestImportIntoTestImportFromServer3991504760/001/test.csv.gz';"] [2025/04/04 10:35:43.915 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:43.915 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=5] --- PASS: TestImportInto/TestImportFromServer (2.65s) === NAME TestImportInto === RUN TestImportInto/TestSnappy [2025/04/04 10:35:43.926 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=62] [cur_db=from_server] [sql="drop database if exists snappy"] [user=] [2025/04/04 10:35:43.936 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:43.938 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:127, Type:create schema, State:queueing, SchemaState:none, SchemaID:126, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:43.938 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:127, Type:create schema, State:queueing, SchemaState:none, SchemaID:126, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database snappy"] [2025/04/04 10:35:43.944 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=127] [conn=2] [job="ID:127, Type:create schema, State:queueing, SchemaState:none, SchemaID:126, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.958 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=821.478µs] [gotSchemaVersion=63] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:43.961 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=127] [version=63] [2025/04/04 10:35:43.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=63] ["take time"=8.120107ms] [job="ID:127, Type:create schema, State:done, SchemaState:public, SchemaID:126, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.973 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=127] [conn=2] [job="ID:127, Type:create schema, State:synced, SchemaState:public, SchemaID:126, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:43.983 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=127] [2025/04/04 10:35:43.983 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=63] [cur_db=from_server] [sql="create database snappy"] [user=] [2025/04/04 10:35:43.996 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:129, Type:create table, State:queueing, SchemaState:none, SchemaID:126, TableID:128, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE snappy.t (i INT PRIMARY KEY, s varchar(32));"] [2025/04/04 10:35:43.996 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:129, Type:create table, State:queueing, SchemaState:none, SchemaID:126, TableID:128, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:44.002 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:create table, State:queueing, SchemaState:none, SchemaID:126, TableID:128, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.006 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 128, Table Name: t)"] [2025/04/04 10:35:44.020 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=1.365642ms] [gotSchemaVersion=64] [phyTblIDs="[128]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:44.023 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=64] [2025/04/04 10:35:44.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=64] ["take time"=8.405226ms] [job="ID:129, Type:create table, State:done, SchemaState:public, SchemaID:126, TableID:128, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:43.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.037 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:create table, State:synced, SchemaState:public, SchemaID:126, TableID:128, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:43.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:44.048 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=129] [2025/04/04 10:35:44.049 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=64] [cur_db=snappy] [sql="CREATE TABLE snappy.t (i INT PRIMARY KEY, s varchar(32));"] [user=] [2025/04/04 10:35:44.055 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:44.114 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://snappy/t.*?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:35:44.132 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=6] [task-id=6] [data-size=33B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:35:44.148 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=6] [2025/04/04 10:35:44.148 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:35:44.250 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:44.251 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:44.252 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [2025/04/04 10:35:44.260 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:44.267 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:44.267 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=33] [2025/04/04 10:35:44.267 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=33] [cost=45.982µs] [2025/04/04 10:35:44.267 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=139.91µs] [] [2025/04/04 10:35:44.267 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:35:44.267 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:35:44.306 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=6] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:35:44.326 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/04 10:35:44.326 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:44.338 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:35:44.339 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347612802463] [2025/04/04 10:35:44.339 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:44.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 10:35:44.339 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:44.339 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:44.339 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:44.339 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:44.340 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:44.340 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:44.352 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:44.355 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:44.355 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 10:35:44.355 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=6] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:44.355 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=6] [disk-quota=348.5GiB] [2025/04/04 10:35:44.355 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 10:35:44.357 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=6] [mode=Import] [2025/04/04 10:35:44.372 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=11] [step=import] [2025/04/04 10:35:44.372 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=11] [2025/04/04 10:35:44.375 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=6] [2025/04/04 10:35:44.376 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [2025/04/04 10:35:44.379 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [2025/04/04 10:35:44.380 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=128] [2025/04/04 10:35:44.520 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=128] [key=t.01.csv.snappy:0] [2025/04/04 10:35:44.521 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=128] [key=t.01.csv.snappy:0] [readDur=983.71µs] [encodeDur=262.028µs] [checksum="{cksum=14262047008891545520,size=66,kvs=2}"] [deliverDur=25.879µs] [type=file] [takeTime=1.612762ms] [] [2025/04/04 10:35:44.522 +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/7c2d8115-ef8c-40f3-b57f-3fb4e04ff27b.sst] [firstKey=7480000000000000805F728000000000000001] [lastKey=7480000000000000805F728000000000000002] [2025/04/04 10:35:44.522 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 10:35:44.522 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 10:35:44.522 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [2025/04/04 10:35:44.525 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [takeTime=2.134324ms] [] [2025/04/04 10:35:44.525 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [retryCnt=0] [2025/04/04 10:35:44.529 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:44.551 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=a921513b-a672-5c3e-93ed-fa772552849b] ["region ranges"=1] [count=2] [size=66] [2025/04/04 10:35:44.551 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:44.553 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000805f728000000000000001] [endOfAllRanges=7480000000000000805f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff805f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff805f728000000000ff0000030000000000fa] [2025/04/04 10:35:44.564 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=a921513b-a672-5c3e-93ed-fa772552849b] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/04 10:35:44.566 +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.286416ms] [] [2025/04/04 10:35:44.566 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [2025/04/04 10:35:44.567 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [takeTime=1.051861ms] [] [2025/04/04 10:35:44.567 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 10:35:44.567 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [2025/04/04 10:35:44.569 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [takeTime=1.473548ms] [] [2025/04/04 10:35:44.569 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [retryCnt=0] [2025/04/04 10:35:44.572 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=bc711958-5bcc-5308-aaa0-eede094ecd2e] [2025/04/04 10:35:44.573 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [retryCnt=0] [takeTime=3.689008ms] [] [2025/04/04 10:35:44.573 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [2025/04/04 10:35:44.574 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [takeTime=1.091777ms] [] [2025/04/04 10:35:44.574 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=11] [takeTime=202.179924ms] [] [2025/04/04 10:35:44.574 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=11] [step=import] [takeTime=202.429926ms] [] [2025/04/04 10:35:44.654 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:44.655 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:44.656 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:44.656 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:44.684 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 10:35:44.685 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:44.685 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:35:44.717 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:35:44.723 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/04 10:35:44.726 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:44.726 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:44.726 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:44.726 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:44.726 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:44.726 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:44.726 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:44.726 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:44.726 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:44.726 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:44.726 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:44.726 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:44.728 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:44.728 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:44.728 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:44.728 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:44.728 +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=372.859949ms] [] [2025/04/04 10:35:44.729 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 10:35:44.736 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=12] [step=post-process] [2025/04/04 10:35:44.736 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [2025/04/04 10:35:44.736 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [2025/04/04 10:35:44.736 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [2025/04/04 10:35:44.736 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [takeTime=1.766µs] [] [2025/04/04 10:35:44.736 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [groupId=-1] [size=66] [kvs=2] [checksum=14262047008891545520] [2025/04/04 10:35:44.736 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [checksum="{cksum=14262047008891545520,size=66,kvs=2}"] [2025/04/04 10:35:44.736 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [weight=30] [2025/04/04 10:35:44.736 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [concurrency=15] [2025/04/04 10:35:44.738 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=128] [physicalTableID=128] [indexID=-1] [checksum=14262047008891545520] [totalKvs=2] [totalBytes=66] [2025/04/04 10:35:44.738 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:44.738 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [local="{cksum=14262047008891545520,size=66,kvs=2}"] [2025/04/04 10:35:44.738 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [takeTime=2.422581ms] [] [2025/04/04 10:35:44.738 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [takeTime=2.551177ms] [] [2025/04/04 10:35:44.738 +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.685568ms] [] [2025/04/04 10:35:44.747 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:44.755 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:44.755 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=6] [step=post-process] [state=running] [] [2025/04/04 10:35:44.757 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=6] [2025/04/04 10:35:44.784 +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.307685ms] [] [2025/04/04 10:35:44.784 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=6] [type=ImportInto] [2025/04/04 10:35:44.850 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=6] [2025/04/04 10:35:44.856 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:44.856 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=6] [2025/04/04 10:35:44.875 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:45.048 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.999124962\n# Parse_time: 0.000091478\n# Compile_time: 0.000377498\n# Rewrite_time: 0.000080971\n# Optimize_time: 0.000269273\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5OC4zbXMsIG9wZW46NzkybnMsIGNsb3NlOjgyMW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5OC4zbXMsIG9wZW46NzkybnMsIGNsb3NlOjgyMW5zLCBsb29wczoycP////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 10:35:45.053 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=64] [cur_db=snappy] [sql="drop database if exists zstd"] [user=] [2025/04/04 10:35:45.065 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.065 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database zstd"] [2025/04/04 10:35:45.070 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.083 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=701.492µs] [gotSchemaVersion=65] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:35:45.087 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=65] [2025/04/04 10:35:45.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=65] ["take time"=7.715841ms] [job="ID:131, Type:create schema, State:done, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.098 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create schema, State:synced, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.108 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=131] [2025/04/04 10:35:45.108 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=65] [cur_db=snappy] [sql="create database zstd"] [user=] [2025/04/04 10:35:45.121 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:35:45.121 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE zstd.t (i INT PRIMARY KEY, s varchar(32));"] [2025/04/04 10:35:45.126 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=133] [conn=2] [job="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.130 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 132, Table Name: t)"] [2025/04/04 10:35:45.144 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.48301ms] [gotSchemaVersion=66] [phyTblIDs="[132]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:35:45.148 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=133] [version=66] [2025/04/04 10:35:45.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=66] ["take time"=7.953068ms] [job="ID:133, Type:create table, State:done, SchemaState:public, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-04 10:35:45.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.160 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=133] [conn=2] [job="ID:133, Type:create table, State:synced, SchemaState:public, SchemaID:130, TableID:132, RowCount:0, ArgLen:0, start time: 2025-04-04 10:35:45.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:35:45.170 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=133] [2025/04/04 10:35:45.171 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=zstd] [sql="CREATE TABLE zstd.t (i INT PRIMARY KEY, s varchar(32));"] [user=] [2025/04/04 10:35:45.186 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:45.251 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://zstd/t.*?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 10:35:45.270 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=7] [task-id=7] [data-size=56B] [thread-cnt=1] [global-sort=false] [2025/04/04 10:35:45.285 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=7] [2025/04/04 10:35:45.285 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 10:35:45.388 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 10:35:45.389 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:45.390 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [2025/04/04 10:35:45.398 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:45.411 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:35:45.411 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=56] [2025/04/04 10:35:45.412 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=56] [cost=90.406µs] [2025/04/04 10:35:45.412 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=252.904µs] [] [2025/04/04 10:35:45.412 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:35:45.412 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 10:35:45.446 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=7] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:35:45.465 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/04 10:35:45.466 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:35:45.474 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:35:45.474 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489404347612802463] [2025/04/04 10:35:45.475 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:35:45.475 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:35:45.475 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:35:45.475 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:35:45.475 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:35:45.475 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:35:45.476 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:35:45.476 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:35:45.488 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:35:45.490 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 10:35:45.490 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 10:35:45.490 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=7] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 10:35:45.490 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=7] [disk-quota=348.5GiB] [2025/04/04 10:35:45.490 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 10:35:45.492 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=7] [mode=Import] [2025/04/04 10:35:45.506 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=13] [step=import] [2025/04/04 10:35:45.506 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=13] [2025/04/04 10:35:45.526 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=7] [2025/04/04 10:35:45.527 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [2025/04/04 10:35:45.531 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [2025/04/04 10:35:45.531 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=132] [2025/04/04 10:35:45.605 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=132] [key=t.01.csv.zst:0] [2025/04/04 10:35:45.607 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=132] [key=t.01.csv.zst:0] [readDur=1.037615ms] [encodeDur=513.56µs] [checksum="{cksum=14262047008891545520,size=66,kvs=2}"] [deliverDur=70.927µs] [type=file] [takeTime=1.944913ms] [] [2025/04/04 10:35:45.608 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=132] [2025/04/04 10:35:45.608 +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/25ac757f-89e2-47e5-abb4-9d6656ede9ff.sst] [firstKey=7480000000000000845F728000000000000001] [lastKey=7480000000000000845F728000000000000002] [2025/04/04 10:35:45.681 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=132] [key=t.02.csv.zstd:0] [2025/04/04 10:35:45.682 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=132] [key=t.02.csv.zstd:0] [readDur=1.200788ms] [encodeDur=93.714µs] [checksum="{cksum=6510788178300023669,size=66,kvs=2}"] [deliverDur=26.689µs] [type=file] [takeTime=1.56378ms] [] [2025/04/04 10:35:45.683 +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/2093ed89-60ed-4fdc-b48e-c44721fa6b9e.sst] [firstKey=7480000000000000845F728000000000000003] [lastKey=7480000000000000845F728000000000000004] [2025/04/04 10:35:45.684 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 10:35:45.684 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 10:35:45.684 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [2025/04/04 10:35:45.686 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [takeTime=2.057691ms] [] [2025/04/04 10:35:45.686 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [retryCnt=0] [2025/04/04 10:35:45.690 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:35:45.713 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] ["region ranges"=1] [count=4] [size=132] [2025/04/04 10:35:45.713 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:35:45.715 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000845f728000000000000001] [endOfAllRanges=7480000000000000845f728000000000000005] [startKeyOfFirstRegion=7480000000000000ff845f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff845f728000000000ff0000050000000000fa] [2025/04/04 10:35:45.727 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [size=132] [kvs=4] [importedSize=132] [importedCount=4] [2025/04/04 10:35:45.728 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [retryCnt=0] [takeTime=42.241056ms] [] [2025/04/04 10:35:45.728 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [2025/04/04 10:35:45.730 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [takeTime=1.676426ms] [] [2025/04/04 10:35:45.730 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 10:35:45.730 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [2025/04/04 10:35:45.732 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [takeTime=1.651977ms] [] [2025/04/04 10:35:45.732 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [retryCnt=0] [2025/04/04 10:35:45.735 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [2025/04/04 10:35:45.735 +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.556557ms] [] [2025/04/04 10:35:45.735 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [2025/04/04 10:35:45.736 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [takeTime=954.247µs] [] [2025/04/04 10:35:45.737 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=13] [takeTime=230.770241ms] [] [2025/04/04 10:35:45.737 +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.422447ms] [] [2025/04/04 10:35:45.792 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 10:35:45.793 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:35:45.794 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [2025/04/04 10:35:45.794 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 10:35:45.824 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 10:35:45.826 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 10:35:45.826 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 10:35:45.859 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:35:45.866 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/04 10:35:45.868 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:45.868 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:45.868 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:45.868 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:45.868 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:45.868 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:45.868 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:45.868 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:45.868 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:45.869 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:45.869 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:45.869 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:45.870 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:35:45.870 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:45.870 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:45.870 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:45.870 +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=380.000762ms] [] [2025/04/04 10:35:45.872 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 10:35:45.879 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=post-process] [2025/04/04 10:35:45.880 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [2025/04/04 10:35:45.880 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [2025/04/04 10:35:45.880 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [2025/04/04 10:35:45.880 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [takeTime=1.711µs] [] [2025/04/04 10:35:45.880 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [groupId=-1] [size=132] [kvs=4] [checksum=11508402849382241477] [2025/04/04 10:35:45.880 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [checksum="{cksum=11508402849382241477,size=132,kvs=4}"] [2025/04/04 10:35:45.880 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [weight=30] [2025/04/04 10:35:45.880 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [concurrency=15] [2025/04/04 10:35:45.882 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=132] [physicalTableID=132] [indexID=-1] [checksum=11508402849382241477] [totalKvs=4] [totalBytes=132] [2025/04/04 10:35:45.882 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:35:45.882 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [local="{cksum=11508402849382241477,size=132,kvs=4}"] [2025/04/04 10:35:45.882 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [takeTime=2.629257ms] [] [2025/04/04 10:35:45.882 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [takeTime=2.784257ms] [] [2025/04/04 10:35:45.882 +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.943516ms] [] [2025/04/04 10:35:45.889 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:35:45.992 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 10:35:45.992 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=7] [step=post-process] [state=running] [] [2025/04/04 10:35:45.994 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=7] [2025/04/04 10:35:46.019 +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=146.8154ms] [] [2025/04/04 10:35:46.019 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=7] [type=ImportInto] [2025/04/04 10:35:46.088 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=7] [2025/04/04 10:35:46.093 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:35:46.094 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=7] [2025/04/04 10:35:46.114 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:35:46.188 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.007111154\n# Parse_time: 0.000107252\n# Compile_time: 0.000449843\n# Rewrite_time: 0.000092537\n# Optimize_time: 0.000239294\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMDFzLCBvcGVuOjg1Nm5zLCBjbG9zZTo3OTJucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMDFzLCBvcGVuOjg1Nm5zLCBjbG9zZTo3OTJucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse zstd;\nIMPORT INTO `zstd`.`t` FROM 'gs://zstd/t.*?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] --- PASS: TestImportInto/TestZStd (1.14s) === NAME TestImportInto [2025/04/04 10:35:46.195 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:35:46.195 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:35:46.195 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [] [2025/04/04 10:35:46.195 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:46.195 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:46.196 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:35:46.196 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=102.771µs] [2025/04/04 10:35:46.196 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=90.781µs] [2025/04/04 10:35:46.196 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=57.804µs] [2025/04/04 10:35:46.196 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=61.266µs] [2025/04/04 10:35:46.196 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=62.922µs] [2025/04/04 10:35:46.196 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=79.002µs] [2025/04/04 10:35:46.196 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=42.389µs] [2025/04/04 10:35:46.196 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=43.902µs] [2025/04/04 10:35:46.197 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=31.814µs] [2025/04/04 10:35:46.197 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=30.177µs] [2025/04/04 10:35:46.197 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:46.197 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:46.198 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:35:46.198 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:35:46.203 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] ["take time"=8.239878ms] [2025/04/04 10:35:46.203 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:46.203 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:35:46.203 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:35:46.204 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/5e2caae7-5eb1-44ca-9cc5-43704f976d1c] [watcherID=d77d92a3-d439-4ac6-b0ac-46f5d6b7b23f] [2025/04/04 10:35:46.204 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/5e2caae7-5eb1-44ca-9cc5-43704f976d1c] [2025/04/04 10:35:46.204 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [ttl-worker=task-manager] [ttl-worker=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [originalCount=4] [newCount=0] [2025/04/04 10:35:46.204 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:46.204 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:46.204 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:46.204 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:35:46.204 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [ttl-worker=task-manager] [ttl-worker=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [originalCount=4] [newCount=0] [2025/04/04 10:35:46.207 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:46.207 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:46.207 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:46.207 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:35:46.210 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:46.210 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1175] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:46.211 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:46.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:35:46.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:35:46.211 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:46.211 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:46.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:35:46.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:35:46.211 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:35:46.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:35:46.211 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:35:46.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:35:46.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:35:46.211 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:46.211 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:35:46.211 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:35:46.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:35:46.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:35:46.211 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:46.211 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:46.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:35:46.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:35:46.211 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:35:46.211 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:35:46.211 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:35:46.211 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:46.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:35:46.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:35:46.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:35:46.211 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:46.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:35:46.211 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:46.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:35:46.211 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:46.212 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [] [2025/04/04 10:35:46.212 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:46.212 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:46.211 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:46.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:35:46.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:35:46.212 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:46.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:35:46.212 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:46.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:35:46.211 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:35:46.211 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:35:46.211 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=868da890-f699-4ffc-97ec-7c6c64d0592f] [] [2025/04/04 10:35:46.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:35:46.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:35:46.211 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:46.212 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=868da890-f699-4ffc-97ec-7c6c64d0592f] [2025/04/04 10:35:46.211 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:46.211 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:35:46.211 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:35:46.212 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=868da890-f699-4ffc-97ec-7c6c64d0592f] [2025/04/04 10:35:46.212 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:35:46.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:35:46.212 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=868da890-f699-4ffc-97ec-7c6c64d0592f] [2025/04/04 10:35:46.212 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:35:46.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:35:46.212 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:46.212 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:35:46.212 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:35:46.212 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:35:46.212 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:35:46.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:35:46.213 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=868da890-f699-4ffc-97ec-7c6c64d0592f] [daemon-id=LogBackup::Advancer] [2025/04/04 10:35:46.213 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:35:46.213 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:35:46.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:35:46.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:35:46.213 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [] [2025/04/04 10:35:46.213 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:35:46.213 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:46.213 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:35:46.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:35:46.213 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:35:46.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:35:46.213 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:46.213 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:35:46.213 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [2025/04/04 10:35:46.214 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [error="context canceled"] [2025/04/04 10:35:46.214 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=552bc4f7-7dc9-49c8-89ca-d34816dd05d6] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:46.274 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:35:46.274 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:35:46.285 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=90.498396ms] [2025/04/04 10:35:46.288 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:35:46.288 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:35:46.288 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:35:46.288 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:35:46.288 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:35:46.288 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:35:46.288 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:35:46.288 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:35:46.288 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:35:46.288 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:35:46.288 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:35:46.288 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:35:46.290 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestImportInto (12.61s) === NAME PASS ================================================================================ Target //tests/realtikvtest/importintotest3:importintotest3_test up-to-date: bazel-bin/tests/realtikvtest/importintotest3/importintotest3_test_/importintotest3_test INFO: Elapsed time: 35.812s, Critical Path: 14.15s INFO: 4637 processes: 4624 remote cache hit, 13 internal. INFO: Build completed successfully, 4637 total actions //tests/realtikvtest/importintotest3:importintotest3_test (cached) PASSED in 16.3s PASSED importintotest3_test.TestImportInto (12.6s) PASSED importintotest3_test.TestImportInto/TestGzipAndMixedCompression (2.6s) 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 0 out of 1 test: 1 test passes.  [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] // container [Pipeline] } [Pipeline] } [Pipeline] } No test report files were found. Configuration error? [Pipeline] // podTemplate [Pipeline] } [Pipeline] // dir [Pipeline] // dir [Pipeline] // timeout [Pipeline] } [Pipeline] } [Pipeline] } [Pipeline] // dir Post stage [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // dir Post stage [Pipeline] // podTemplate [Pipeline] // withEnv [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] } [Pipeline] // withEnv [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] script [Pipeline] { [Pipeline] junit Recording test results [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] junit Recording test results None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] sh [Pipeline] // stage None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] // dir [Pipeline] // dir [Pipeline] } Post stage [Pipeline] // podTemplate [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results No test report files were found. Configuration error? [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] // withEnv [Pipeline] // node [Pipeline] } [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] // dir [Pipeline] sh No test report files were found. Configuration error? None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] } [Pipeline] } [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] } No test report files were found. Configuration error? [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] // podTemplate [Pipeline] } [Pipeline] } [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // dir [Pipeline] // script [Pipeline] } [Pipeline] // dir [Pipeline] } [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 11s remote-cache, linux-sandbox [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // dir [Pipeline] // timeout [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] } [Pipeline] sh [Pipeline] sh [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] // dir [Pipeline] script [Pipeline] { [Pipeline] // podTemplate [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // dir [Pipeline] // podTemplate [Pipeline] // withCredentials [Pipeline] } [Pipeline] } [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] // timeout [Pipeline] } [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] // withCredentials [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // timeout [Pipeline] // dir [Pipeline] } [Pipeline] // dir [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 41s remote-cache, linux-sandbox ./t/ddl/db_integration.test: ok! 726 test cases passed, take time 57.12561318 s [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 101s remote-cache, linux-sandbox ./t/ddl/db_partition.test: ok! 1110 test cases passed, take time 69.570712032 s ./t/ddl/db_rename.test: ok! 21 test cases passed, take time 4.090710427 s ./t/ddl/db_table.test: ok! 58 test cases passed, take time 0.840814044 s ./t/ddl/ddl_error.test: ok! 14 test cases passed, take time 0.085799435 s ./t/ddl/ddl_tiflash.test: ok! 14 test cases passed, take time 0.044571759 s ./t/ddl/default_as_expression.test: ok! 411 test cases passed, take time 19.796814679 s ./t/ddl/fail_db.test: ok! 12 test cases passed, take time 0.181151658 s ./t/ddl/foreign_key.test: ok! 181 test cases passed, take time 6.417702139 s ./t/ddl/index_modify.test: ok! 39 test cases passed, take time 7.81300534 s ./t/ddl/integration.test: ok! 91 test cases passed, take time 6.594754147 s [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 161s remote-cache, linux-sandbox ./t/ddl/modify_column.test: ok! 672 test cases passed, take time 15.303715148 s ./t/ddl/multi_schema_change.test: ok! 305 test cases passed, take time 35.062353797 s ./t/ddl/partition.test: ok! 138 test cases passed, take time 10.91002715 s [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 221s remote-cache, linux-sandbox ./t/ddl/primary_key_handle.test: ok! 191 test cases passed, take time 5.801216152 s ./t/ddl/reorg_partition.test: ok! 212 test cases passed, take time 25.952548161 s ./t/ddl/resource_group.test: ok! 16 test cases passed, take time 0.102223925 s ./t/ddl/sequence.test: ok! 268 test cases passed, take time 3.024338663 s ./t/ddl/serial.test: ok! 77 test cases passed, take time 0.780432382 s ./t/ddl/table_modify.test: ok! 47 test cases passed, take time 0.374656323 s ./t/executor/adapter.test: ok! 6 test cases passed, take time 0.018394302 s ./t/executor/admin.test: ok! 171 test cases passed, take time 28.238517606 s [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 281s remote-cache, linux-sandbox ./t/executor/aggregate.test: ok! 885 test cases passed, take time 8.313858943 s ./t/executor/analyze.test: ok! 180 test cases passed, take time 13.810138446 s ./t/executor/autoid.test: ok! 458 test cases passed, take time 3.048069099 s ./t/executor/batch_point_get.test: ok! 85 test cases passed, take time 0.469744916 s ./t/executor/charset.test: ok! 214 test cases passed, take time 1.070087884 s ./t/executor/chunk_reuse.test: ok! 93 test cases passed, take time 0.158655849 s ./t/executor/cluster_table.test: ok! 36 test cases passed, take time 0.152748768 s ./t/executor/compact_table.test: ok! 19 test cases passed, take time 0.14904115 s ./t/executor/cte.test: ok! 133 test cases passed, take time 0.7705353 s ./t/executor/ddl.test: ok! 359 test cases passed, take time 10.917252401 s ./t/executor/delete.test: ok! 91 test cases passed, take time 0.596539507 s ./t/executor/distsql.test: ok! 61 test cases passed, take time 0.861910262 s [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 341s remote-cache, linux-sandbox ./t/executor/executor.test: ok! 1951 test cases passed, take time 27.93742547 s ./t/executor/executor_txn.test: ok! 121 test cases passed, take time 0.258719375 s ./t/executor/expand.test: ok! 71 test cases passed, take time 0.45218905 s ./t/executor/explain.test: ok! 120 test cases passed, take time 0.792602913 s ./t/executor/explainfor.test: ok! 376 test cases passed, take time 1.282279392 s ./t/executor/foreign_key.test: ok! 318 test cases passed, take time 8.528066227 s ./t/executor/grant.test: ok! 209 test cases passed, take time 1.5111736690000002 s ./t/executor/import_into.test: ok! 99 test cases passed, take time 0.156805556 s ./t/executor/index_lookup_join.test: ok! 190 test cases passed, take time 2.055881748 s [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 369s 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: 402.469s, Critical Path: 385.16s INFO: 4272 processes: 4268 remote cache hit, 3 internal, 1 linux-sandbox. INFO: Build completed successfully, 4272 total actions //tests/realtikvtest/addindextest:addindextest_test PASSED in 369.1s PASSED addindextest_test.TestAddForeignKeyWithAutoCreateIndex (14.3s) PASSED addindextest_test.TestAddIndexOnGB18030Bin (0.6s) PASSED addindextest_test.TestAddUKWithSmallIntHandles (3.3s) PASSED addindextest_test.TestAddUniqueDuplicateIndexes (2.7s) PASSED addindextest_test.TestConcurrentDDLCreateGenColIndex (3.3s) PASSED addindextest_test.TestConcurrentDDLCreateMultiColsIndex (14.4s) PASSED addindextest_test.TestConcurrentDDLCreateNonUniqueIndex (15.0s) PASSED addindextest_test.TestConcurrentDDLCreatePrimaryKey (3.3s) PASSED addindextest_test.TestConcurrentDDLCreateUniqueIndex (9.5s) PASSED addindextest_test.TestCreateGenColIndex (9.4s) PASSED addindextest_test.TestCreateMultiColsIndex (42.7s) PASSED addindextest_test.TestCreateNonUniqueIndex (68.8s) PASSED addindextest_test.TestCreatePrimaryKey (9.2s) PASSED addindextest_test.TestCreateUniqueIndex (46.2s) 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.9s) PASSED addindextest_test.TestMultiSchemaChangeCreateGenColIndex (9.6s) PASSED addindextest_test.TestMultiSchemaChangeCreateNonUniqueIndex (21.2s) PASSED addindextest_test.TestMultiSchemaChangeCreatePrimaryKey (7.4s) PASSED addindextest_test.TestMultiSchemaChangeCreateUniqueIndex (17.9s) PASSED addindextest_test.TestMultiSchemaChangeMultiColsIndex (9.4s) PASSED addindextest_test.TestPiTRCreateGenColIndex (9.1s) PASSED addindextest_test.TestPiTRCreateMultiColsIndex (9.7s) PASSED addindextest_test.TestPiTRCreateNonUniqueIndex (20.2s) PASSED addindextest_test.TestPiTRCreatePrimaryKey (7.1s) PASSED addindextest_test.TestPiTRCreateUniqueIndex (10.0s) Test cases: finished with 30 passing and 0 failing out of 30 test cases Executed 1 out of 1 test: 1 test passes.  [Pipeline] } ./t/executor/index_lookup_merge_join.test: ok! 83 test cases passed, take time 1.138436062 s [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] } No test report files were found. Configuration error? [Pipeline] // script [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } ./t/executor/index_merge_reader.test: ok! 244 test cases passed, take time 3.908923027 s ./t/executor/infoschema_reader.test: ok! 220 test cases passed, take time 4.732593596 s ./t/executor/insert.test: ok! 1281 test cases passed, take time 61.008763846 s ./t/executor/inspection_common.test: ok! 4 test cases passed, take time 0.002037989 s ./t/executor/issues.test: ok! 463 test cases passed, take time 11.761378862 s ./t/executor/jointest/hash_join.test: ok! 148 test cases passed, take time 1.325278069 s ./t/executor/jointest/join.test: ok! 858 test cases passed, take time 10.967233369 s ./t/executor/kv.test: ok! 16 test cases passed, take time 0.092773199 s ./t/executor/merge_join.test: ok! 259 test cases passed, take time 3.302132445 s ./t/executor/parallel_apply.test: ok! 96 test cases passed, take time 1.239252301 s ./t/executor/partition/issues.test: ok! 159 test cases passed, take time 3.273794151 s ./t/executor/partition/partition_boundaries.test: ok! 1035 test cases passed, take time 2.068554157 s ./t/executor/partition/partition_with_expression.test: ok! 298 test cases passed, take time 2.344991787 s ./t/executor/partition/table.test: ok! 224 test cases passed, take time 5.979730359 s ./t/executor/partition/write.test: ok! 349 test cases passed, take time 9.271260558 s ./t/executor/password_management.test: ok! 381 test cases passed, take time 3.623079027 s ./t/executor/perfschema.test: ok! 5 test cases passed, take time 0.005620152 s ./t/executor/point_get.test: ok! 271 test cases passed, take time 1.666865574 s ./t/executor/prepared.test: ok! 214 test cases passed, take time 1.166030169 s ./t/executor/revoke.test: ok! 65 test cases passed, take time 0.76816059 s ./t/executor/rowid.test: ok! 63 test cases passed, take time 0.369040104 s ./t/executor/sample.test: ok! 109 test cases passed, take time 6.504348028 s ./t/executor/set.test: ok! 228 test cases passed, take time 0.509019988 s ./t/executor/show.test: ok! 300 test cases passed, take time 4.336797186 s ./t/executor/simple.test: ok! 357 test cases passed, take time 3.609302336 s ./t/executor/split_table.test: ok! 60 test cases passed, take time 13.677853964 s ./t/executor/stale_txn.test: ok! 28 test cases passed, take time 1.176642931 s ./t/executor/statement_context.test: ok! 63 test cases passed, take time 0.149103467 s ./t/executor/union_scan.test: ok! 231 test cases passed, take time 1.709395766 s ./t/executor/update.test: ok! 521 test cases passed, take time 3.736873327 s ./t/executor/window.test: ok! 93 test cases passed, take time 4.061788505 s ./t/executor/write.test: ok! 1061 test cases passed, take time 18.240241347 s ./t/explain-non-select-stmt.test: ok! 8 test cases passed, take time 0.02314267 s ./t/explain.test: ok! 26 test cases passed, take time 0.134619966 s ./t/explain_complex.test: ok! 41 test cases passed, take time 0.453452703 s ./t/explain_complex_stats.test: ok! 61 test cases passed, take time 4.046334636 s ./t/explain_cte.test: ok! 53 test cases passed, take time 0.39387342 s ./t/explain_easy.test: ok! 190 test cases passed, take time 1.597084167 s ./t/explain_easy_stats.test: ok! 50 test cases passed, take time 0.966134769 s ./t/explain_foreign_key.test: ok! 41 test cases passed, take time 0.755624051 s ./t/explain_generate_column_substitute.test: ok! 233 test cases passed, take time 22.397275572 s ./t/explain_indexmerge_stats.test: ok! 30 test cases passed, take time 1.087691393 s ./t/explain_join_stats.test: ok! 8 test cases passed, take time 0.267910657 s ./t/explain_shard_index.test: ok! 19 test cases passed, take time 0.121206418 s ./t/explain_stats.test: ok! 10 test cases passed, take time 0.1101342 s ./t/explain_union_scan.test: ok! 9 test cases passed, take time 0.222538527 s ./t/expression/builtin.test: ok! 1365 test cases passed, take time 8.032001135 s ./t/expression/cast.test: ok! 85 test cases passed, take time 0.417813326 s ./t/expression/charset_and_collation.test: ok! 733 test cases passed, take time 16.949937217 s ./t/expression/constant_fold.test: ok! 16 test cases passed, take time 0.093958749 s ./t/expression/enum_set.test: ok! 13 test cases passed, take time 0.091086332 s ./t/expression/explain.test: ok! 77 test cases passed, take time 0.181499889 s ./t/expression/format.test: ok! 9 test cases passed, take time 0.002431388 s ./t/expression/issues.test: ok! 1525 test cases passed, take time 17.070645959 s ./t/expression/json.test: ok! 321 test cases passed, take time 0.807343917 s ./t/expression/misc.test: ok! 416 test cases passed, take time 4.707547875 s ./t/expression/multi_valued_index.test: ok! 314 test cases passed, take time 1.97003745 s ./t/expression/noop_functions.test: ok! 61 test cases passed, take time 0.032905179 s ./t/expression/plan_cache.test: ok! 184 test cases passed, take time 0.494289676 s ./t/expression/time.test: ok! 353 test cases passed, take time 0.849643636 s ./t/expression/vitess_hash.test: ok! 17 test cases passed, take time 0.162004572 s ./t/generated_columns.test: ok! 70 test cases passed, take time 4.738191822 s ./t/globalindex/aggregate.test: ok! 16 test cases passed, take time 1.949319284 s ./t/globalindex/analyze.test: ok! 37 test cases passed, take time 2.672095532 s ./t/globalindex/ddl.test: ok! 55 test cases passed, take time 4.733318026 s ./t/globalindex/expression_index.test: ok! 14 test cases passed, take time 0.087794384 s ./t/globalindex/index_join.test: ok! 31 test cases passed, take time 0.620852184 s ./t/globalindex/information_schema.test: ok! 7 test cases passed, take time 0.291801181 s ./t/globalindex/insert.test: ok! 14 test cases passed, take time 7.543474193 s ./t/globalindex/mem_index_lookup.test: ok! 40 test cases passed, take time 0.11789834 s ./t/globalindex/mem_index_merge.test: ok! 53 test cases passed, take time 0.226786297 s ./t/globalindex/mem_index_reader.test: ok! 36 test cases passed, take time 0.101559092 s ./t/globalindex/misc.test: ok! 91 test cases passed, take time 5.690749907 s ./t/globalindex/multi_valued_index.test: ok! 13 test cases passed, take time 0.039831509 s ./t/globalindex/point_get.test: ok! 38 test cases passed, take time 4.809110903 s ./t/globalindex/update.test: ok! 31 test cases passed, take time 0.215031202 s ./t/imdbload.test: ok! 62 test cases passed, take time 9.964780641 s ./t/index_join.test: ok! 22 test cases passed, take time 0.332399341 s ./t/index_merge.test: ok! 145 test cases passed, take time 2.640239058 s ./t/infoschema/cluster_tables.test: ok! 17 test cases passed, take time 0.045298106 s ./t/infoschema/infoschema.test: ok! 192 test cases passed, take time 2.675847387 s ./t/infoschema/tables.test: ok! 120 test cases passed, take time 0.995525796 s ./t/infoschema/v2.test: ok! 34 test cases passed, take time 0.363870644 s ./t/naaj.test: ok! 135 test cases passed, take time 0.276179477 s ./t/new_character_set.test: ok! 73 test cases passed, take time 0.366912329 s ./t/new_character_set_builtin.test: ok! 222 test cases passed, take time 0.996397119 s ./t/new_character_set_invalid.test: ok! 28 test cases passed, take time 0.263030761 s ./t/parser/integration.test: ok! 8 test cases passed, take time 0.081213302 s ./t/partition.test: ok! 3 test cases passed, take time 0.21055505 s ./t/planner/cardinality/selectivity.test: ok! 686 test cases passed, take time 1.809415818 s ./t/planner/cardinality/trace.test: ok! 5 test cases passed, take time 0.107625862 s ./t/planner/cascades/integration.test: ok! 247 test cases passed, take time 0.818996388 s ./t/planner/core/binary_plan.test: ok! 6 test cases passed, take time 0.000954235 s ./t/planner/core/casetest/expression_rewriter.test: ok! 23 test cases passed, take time 0.144887245 s ./t/planner/core/casetest/hint/hint.test: ok! 182 test cases passed, take time 1.828913719 s ./t/planner/core/casetest/index/index.test: ok! 225 test cases passed, take time 1.9047493979999999 s ./t/planner/core/casetest/integration.test: ok! 462 test cases passed, take time 2.829764276 s ./t/planner/core/casetest/partition/integration_partition.test: ok! 134 test cases passed, take time 0.943777654 s ./t/planner/core/casetest/partition/partition_pruner.test: ok! 284 test cases passed, take time 1.161526571 s ./t/planner/core/casetest/physicalplantest/physical_plan.test: ok! 913 test cases passed, take time 3.555436023 s ./t/planner/core/casetest/point_get_plan.test: ok! 52 test cases passed, take time 0.169603263 s ./t/planner/core/casetest/predicate_simplification.test: ok! 133 test cases passed, take time 0.72418755 s ./t/planner/core/casetest/pushdown/push_down.test: ok! 54 test cases passed, take time 0.227049982 s ./t/planner/core/casetest/rule/rule_derive_topn_from_window.test: ok! 73 test cases passed, take time 0.505294955 s ./t/planner/core/casetest/rule/rule_join_reorder.test: ok! 481 test cases passed, take time 4.7838964619999995 s ./t/planner/core/casetest/rule/rule_result_reorder.test: ok! 87 test cases passed, take time 0.667993049 s ./t/planner/core/cbo.test: ok! 34 test cases passed, take time 0.451677703 s ./t/planner/core/enforce_mpp.test: ok! 8 test cases passed, take time 0.001484584 s ./t/planner/core/expression_rewriter.test: ok! 206 test cases passed, take time 2.058395246 s ./t/planner/core/indexjoin.test: ok! 41 test cases passed, take time 0.145009562 s ./t/planner/core/indexmerge_intersection.test: ok! 6 test cases passed, take time 0.032853937 s ./t/planner/core/indexmerge_path.test: ok! 273 test cases passed, take time 4.2336728 s ./t/planner/core/integration.test: ok! 1621 test cases passed, take time 18.055015901 s ./t/planner/core/integration_partition.test: ok! 493 test cases passed, take time 10.037333648 s ./t/planner/core/issuetest/planner_issue.test: ok! 178 test cases passed, take time 4.597164315 s ./t/planner/core/memtable_predicate_extractor.test: ok! 45 test cases passed, take time 0.086671885 s ./t/planner/core/partition_pruner.test: ok! 655 test cases passed, take time 2.782595006 s ./t/planner/core/physical_plan.test: ok! 44 test cases passed, take time 0.369216658 s ./t/planner/core/plan.test: ok! 157 test cases passed, take time 1.043437156 s ./t/planner/core/plan_cache.test: ok! 1243 test cases passed, take time 6.130571822 s ./t/planner/core/plan_cost_ver2.test: ok! 70 test cases passed, take time 0.354778739 s ./t/planner/core/point_get_plan.test: ok! 265 test cases passed, take time 1.741194212 s ./t/planner/core/preprocess.test: ok! 6 test cases passed, take time 0.040533559 s ./t/planner/core/range_scan_for_like.test: ok! 226 test cases passed, take time 0.568225188 s ./t/planner/core/rule_constant_propagation.test: ok! 31 test cases passed, take time 0.580090986 s ./t/planner/core/rule_join_reorder.test: ok! 52 test cases passed, take time 0.730199592 s ./t/planner/core/rule_result_reorder.test: ok! 29 test cases passed, take time 0.184429658 s ./t/planner/core/tests/prepare/issue.test: ok! 321 test cases passed, take time 1.643861782 s ./t/planner/core/tests/prepare/prepare.test: ok! 458 test cases passed, take time 2.374185006 s ./t/planner/funcdep/only_full_group_by.test: ok! 148 test cases passed, take time 1.929641883 s ./t/privilege/privileges.test: ok! 483 test cases passed, take time 4.540008033 s ./t/select.test: ok! 206 test cases passed, take time 1.439804207 s ./t/session/bootstrap_upgrade.test: ok! 29 test cases passed, take time 0.119312099 s ./t/session/clustered_index.test: ok! 385 test cases passed, take time 13.564288362 s ./t/session/common.test: ok! 212 test cases passed, take time 2.874540723 s ./t/session/nontransactional.test: ok! 1532 test cases passed, take time 9.532986486 s ./t/session/privileges.test: ok! 66 test cases passed, take time 0.648782351 s ./t/session/session.test: ok! 104 test cases passed, take time 0.670241778 s ./t/session/temporary_table.test: ok! 277 test cases passed, take time 0.259776397 s ./t/session/txn.test: ok! 14 test cases passed, take time 0.040232657 s ./t/session/user_variables.test: ok! 16 test cases passed, take time 0.019936321 s ./t/session/variable.test: ok! 103 test cases passed, take time 0.250284318 s ./t/session/vars.test: ok! 127 test cases passed, take time 0.141703106 s ./t/sessionctx/setvar.test: ok! 685 test cases passed, take time 0.16577499 s ./t/sessiontxn/externals.test: ok! 56 test cases passed, take time 0.216304383 s ./t/statistics/handle.test: ok! 60 test cases passed, take time 1.305963566 s ./t/statistics/integration.test: ok! 19 test cases passed, take time 0.12700473 s ./t/statistics/lock_table_stats.test: ok! 47 test cases passed, take time 0.533144389 s ./t/statistics/overflow_calc.test: ok! 5 test cases passed, take time 0.063060714 s ./t/subquery.test: ok! 32 test cases passed, take time 0.326144643 s ./t/table/cache.test: ok! 108 test cases passed, take time 8.536686359 s ./t/table/index.test: ok! 38 test cases passed, take time 0.446175607 s ./t/table/partition.test: ok! 240 test cases passed, take time 6.6069992939999995 s ./t/table/tables.test: ok! 24 test cases passed, take time 0.089247027 s ./t/table/temptable.test: ok! 11 test cases passed, take time 0.052956911 s ./t/topn_push_down.test: ok! 20 test cases passed, take time 0.142904806 s ./t/topn_pushdown.test: ok! 2 test cases passed, take time 0.000650407 s ./t/tpch.test: ok! 40 test cases passed, take time 2.009652951 s ./t/types/const.test: ok! 143 test cases passed, take time 0.977003417 s ./t/util/admin.test: ok! 143 test cases passed, take time 5.55308187 s ./t/util/ranger.test: ok! 188 test cases passed, take time 4.334798228 s ./t/window_function.test: ok! 28 test cases passed, take time 0.096339435 s Great, All tests passed integrationtest passed! ./run-tests.sh: line 1: kill: (1199) - No such process ~/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh No test report files were found. Configuration error? [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] container [Pipeline] { [Pipeline] sh + bash scripts/plugins/report_job_result.sh SUCCESS result.json http://fileserver.pingcap.net --2025-04-04 10:54:41-- 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% 414M=0s 2025-04-04 10:54:41 (414 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/dde8429f030a5d9dd80c21356dccec04ccedf6af=@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 4212 8212 --:--:-- --:--:-- --:--:-- 12812 {"msg":"success","url":"http://fileserver.pingcap.net/download/ci_check/pingcap/tidb/ghpr_check2/dde8429f030a5d9dd80c21356dccec04ccedf6af"} [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